Record a payment on an invoice
POST /pos/invoices/:id/payments
POST
/pos/invoices/:id/payments
Records money received for a final sales invoice (or paid for a purchase invoice) and recomputes its payment status. A negative amount records a refund of an overpayment.
Request Body required
Odeljak pod nazivom „Request Body required “Responses
Odeljak pod nazivom „ Responses “OK
object
invoiceId
required
string
amountDue
required
string
paidAmount
required
string
remaining
required
string
overdue
required
boolean
payments
required
Array<object>
401
403
422