Submit a draft for approval
precoro_submit_documentWRITE: confirm a draft (open) document so it enters the approval flow (or is approved at once if no approval is needed). Approvers are notified. POST /{document}/{idn}/confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idn | Yes | The document IDN: the company's own document number as shown in Precoro (not the internal id). | |
| document | Yes | Document type: warehouserequests, purchaserequisitions, purchaseorders, receipts, invoices or expenses. |