Allocate a payment against an invoice or set of invoices.
Field | Type | Description | |
---|---|---|---|
payment paymentId | integer | The ID of the payment in Clear Books. | required |
payment entityId | integer | The ID of the entity linked to the payment. | required |
payment type | string | String identifying the type of the payment; either "sales" or "purchases". | required |
payment invoices[ ] | array | See createPayment for details. | required |
Field | Type | Description | |
---|---|---|---|
payment success | boolean | True if successful, false if failed. | optional |
payment msg | string | Brief explanation of why success is true or false. | optional |
Documentation of this method currently does not have any examples.
Clear Books is proudly registered with the Financial Conduct Authority as an Account Information Services Provider (register no. 843585).