API Docs / Operations / Invoices / Delete purchase invoice payment

Delete purchase invoice payment

DELETE /tenants/{tenant}/purchase-invoices/{number}/payments/{payment}

Deletes the payment; the invoice's paid state follows. Refused (400) on a purchase invoice when the payment 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)
payment* path string (uuid)

Responses

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