Skip to main content
POST
Record that a supplier invoice was paid, in whole or in part.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Record that a supplier invoice was paid, in whole or in part.

One of the two invoice kinds, never both. Refuses an invoice nobody has agreed, an amount past what is outstanding, a date in the future, a shortfall with no reason and a reason with no shortfall. Costs the job nothing: the cost was posted when somebody accepted the invoice.

p_amount
number<numeric>
required
p_method
string<text>
p_notes
string<text>
p_paid_on
string<date>
p_reference
string<text>
p_shortfall_reason_id
string<uuid>
p_supplier_invoice_id
string<uuid>
p_vendor_invoice_id
string<uuid>

Response

200

OK