Record a payment against an invoice
| Header | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Bearer authentication header of the form Bearer <token> |
| Parameter | Type | Required | Description |
|---|---|---|---|
uuid | string (UUID) | Yes | Invoice UUID |
| Parameter | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | Payment amount |
date | date | Yes | Payment date (format: YYYY-MM-DD) |
reference | string | No | Payment reference |
notes | string | No | Payment notes |
paymentType | string | No | Type: PAYMENT, CREDIT_MEMO, OTHER_PAYMENT, JOURNAL_ENTRY |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.