API Docs / Operations / Invoices / Create sales invoice payment

Create sales invoice payment

POST /tenants/{tenant}/sales-invoices/{number}/payments

Records a payment against the sales invoice; the invoice's paid state follows. Refused (400) when the payments would exceed the amount payable, or (purchase invoices) the date falls in a tax month whose CIS return is submitted.

Parameters

NameTypeDescription
tenant* path string

The tenant code (the organisation's URL stub)

The tenant code (the organisation's URL stub)

number* path integer (int32)
{
  "date": "2024-01-01T00:00:00Z",
  "amount": 0
}

Responses

400 Bad Request
application/problem+json
401 Unauthorized – Invalid or missing API key
403 Forbidden
application/problem+json
404 Not Found
application/problem+json