Approve a document
precoro_approve_documentWRITE: approve a document as the Precoro user the API key belongs to (that user must be a current approver of it). Approving can release spending: an approved purchase order may be sent to the supplier and an approved invoice can go to payment. Find candidates with the list tools and waiting_for_my_approval. Cannot be undone through this server. POST /{document}/{idn}/approve.
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. |