Approve purchase invoice
Approve a purchase invoice in circulation so it can be paid.
MCP tool procountor_write → approve_purchase_invoice
write Confirm
Does what Approve does in the Verification view: adds an approval stamp. If verifiers are specified, the invoice must be verified first. Once all approvers have approved, the status becomes Approved, the invoice counts as a business transaction and can be paid in the Payment view. This tool does not pay it. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| invoice_id string required | string | Purchase invoice ID from list_purchase_invoices. |
| comment string | string | Optional comment stored with the stamp. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "procountor_write",
"arguments": {
"operation": "approve_purchase_invoice",
"arguments": {
"invoice_id": "pi_77120",
"comment": "Matches PO 4471"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"invoice_id": "pi_77120",
"status": "approved",
"stamp": {
"by": "You",
"at": "2026-10-14T09:14:00+03:00",
"comment": "Matches PO 4471"
}
},
"isError": false
}