API Docs / Operations / Invoices / Update sales invoice payment

Update sales invoice payment

PUT /tenants/{tenant}/sales-invoices/{number}/payments/{payment}

Replaces the payment's date and amount, under the same rules as creating one.

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)
payment* path string (uuid)
{
  "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