v1

latestOpenAPI 3.1.02026-07-24111224223.3 KB
Invoice payments

Creates an invoice payment

Records a manual cash receipt against an open invoice by amount, effective date, and a GL account code that maps to a funded cash account. Rillet resolves the account code to a cash account before posting, so verify chart-of-accounts mapping when automations fail validation.

post/invoices/{invoice_id}/payments

Path parameters

invoice_idstring required

UUID of the invoice to be used in this operation.

Request body

datestring date required
account_codestring required

The account code found in the Chart of Accounts

Example request

{
  "amount": {
    "amount": "1.01",
    "currency": "USD"
  },
  "account_code": "11112"
}

Response

OK

idstring uuid required
status'SUCCESSFUL' | 'FAILED' | 'UNCLEARED' required
invoice_idstring uuid required
datestring date
account_codestring

The account code found in the Chart of Accounts

updated_atstring date-time required

ISO 8601 timestamp in UTC timezone (must end with 'Z')

Example response

{
  "amount": {
    "amount": "1.01",
    "currency": "USD"
  },
  "account_code": "11112"
}