API / Reference / Invoice Payables
List invoice payable payments
GET
https://api.light.inc/v1/invoice-payables/{invoicePayableId}/payments
Returns all clearings (bank payments and credit notes) linked to the invoice payable. Each entry carries a type discriminator (BP for bank payments, CN for credit notes) so consumers can filter client-side if only one kind is needed. Reversed clearings are excluded.
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
invoicePayableIdstring · uuidrequired
Response
-
idstring · uuidUnique identifier for the payment
-
invoicePayableIdstring · uuidID of the invoice payable this payment cleared
-
amountinteger · int64Payment amount in the smallest currency denomination (e.g. cents), in the invoice payable's currency
-
currencystring -
paymentDatestring · dateDate the payment was made
-
paymentExternalInvoicePayablePaymentEntryV1ModelType of payment entry for an invoice payable payment
-
createdAtstring · date-timeTimestamp when the payment was created