List payments on an invoice
GET /pos/invoices/:id/payments
GET
/pos/invoices/:id/payments
Payments recorded against the invoice, with the amount due, the amount paid and the payment status (unpaid, partially_paid, paid, overpaid). paymentStatus is null for documents whose payment is not tracked, such as fiscal receipts and credit notes.
Parameters
Odeljak pod nazivom „ Parameters “Query Parameters
Odeljak pod nazivom „Query Parameters “ id
required
string
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