Document Payments
Delete document payment
Deletes a document payment. If the payment belongs to an invoice of type payment_receipt, the endpoint returns 422 and the delete does not happen.
DELETE
Delete document payment
Previous
Send document emailSends a supported public document by email.
### Supported document types
The endpoint supports `invoice`, `proforma`, `order`, `credit-note`, and `quotation`.
### Business behavior
- The target document is resolved via `documentType` + `documentId` and must be available in the token scope.
- The `to` field accepts an array of one or more email addresses.
- The `type` field is required for a uniform contract. For `invoice` and `proforma`, it changes the subject and mail type (`regular`, `reminder`, `overdue_reminder`, `confirmation`). For `order`, `credit-note`, and `quotation`, it currently behaves the same as a regular send.
- The endpoint does not return a response body; success is indicated by `202 Accepted`.
If you send an `Idempotency-Key`, the same key with the same payload returns the original response without sending the email again.
Next
Delete document payment

