Skip to main content
POST
Error

Authorizations

authorization
string
header
required
X-Workspace-ID
string
header
required

Path Parameters

supplier_invoice_id
integer
required

Body

application/json

Records a (partial) payment of a matched or approved invoice; the paid total can't exceed the net amount. The payment is split across the invoice's purchase orders and stored — without allocations proportionally across all of them (by their items' amount on the invoice), with allocations ids only proportionally across the selected ones, with ids and amounts exactly (amounts must add up to amount; a PO may get more than its share).

amount
string
required
Example:

"2500.00"

paid_on
string<date>
required
allocations
object[]
reference
string | null
notes
string | null

Response

Created

id
integer
required
amount
string
required
Example:

"2500.00"

paid_on
string<date>
required
reference
string | null

Bank / transfer reference.

notes
string | null
allocations
object[]

How the payment is split across the invoice's purchase orders (adds up to amount). One entry per PO, whichever projects the invoice bills it on.

created_by_id
integer | null
created_at
string<date-time>