API reference · Invoices
POST/api/v1/invoices/{id}/payment
Product availabilityAlgaPSA

Record invoice payment

Records payment for one invoice.

RBAC · invoice

Path parameters

idstring <uuid>Required
Path UUID parameter resolved by ApiBaseController.extractIdFromPath().

Request body

Content type: application/json · schema InvoicePaymentBody

payment_amountintegerRequired
≥ 0
payment_methodstringRequired
payment_datestring
reference_numberstring
notesstring

Response body

Success response 200 · schema FinancialInvoiceApiSuccess

dataanyOfRequired
anyOf (option 1)object
anyOf (option 2)array of object
itemsobject
metaobject

Response codes

200
Invoice action succeeded.
201
Invoice action created a new invoice resource.
400
Invalid request payload or query.
401
API key missing/invalid.
403
invoice:payment permission denied.
404
Invoice not found.
500
Unexpected invoice action failure.