Link customer credit to invoice
Links a customer credit to a sales invoice
Authorizations
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
Body
Amount of the customer credit to apply to the sales invoice, in the smallest currency unit. If omitted, the remaining unallocated customer-credit balance is applied, capped by the invoice receivable's remaining balance. Partial allocation is not supported for entities configured with an e-invoicing provider.
Response
default response
ID of the company
Invoice payable details
Invoice payable details
Amount of the customer credit applied to the sales invoice, in the smallest currency unit
Timestamp when the customer credit was linked to the sales invoice