Skip to main content

Add Bill Payment

POST 

/api/bills/:id/payments

Records a payment against a landed-cost bill and recalculates the bill's paid status. The payment is pushed to the connected accounting provider (Xero / QuickBooks Online).

Fields:

  • payment_date (optional, date, defaults to today)
  • payment_type_id (required, an existing payment type)
  • amount (required, numeric, must be greater than 0)
  • external_reference (optional, string, max 255)
  • currency_id (optional; defaults to the bill's currency)

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type