Apply payment to invoices
Applies a payment that isn’t on an invoice yet to one or more invoices of its customer, or of the customer’s group. A deposit’s payment works the same way, though Apply deposit to invoice is simpler for a deposit.
The amounts have to come to the whole payment, and none can be more than its invoice owes. Each invoice has to be in the payment’s currency and not voided.
This is final. The invoices’ balances change at once, and the payment goes to QuickBooks, NetSuite, Shopify, or HubSpot if you’ve connected them. It can’t be undone from the API or the Streamlined app.
Authorizations
Body
Response
Applied. Returns the payment, with allocations for each invoice and unapplied_amount of 0.
Returned by GET /transactions/:id, Record transaction, and Apply payment to invoices. Note:
this returns the transaction object directly, not wrapped in a transaction key. This
differs from /orders, /invoices, /customers etc, which wrap their resource. Kept this way
for v1 backwards compatibility.