Delete Source Document
delete_documentDelete a source document attached to a purchase invoice, sale invoice, journal, or bank transaction. Specify the record type and ID to remove the document.
Instructions
Delete the source document attached to a purchase invoice, sale invoice, journal, or bank transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the record whose document to delete. | |
| entity_type | Yes | Which record the source document belongs to. |