Approve sales invoice

Approve an Unfinished sales invoice so it can be sent.

MCP tool procountor_write → approve_sales_invoice

write Confirm

Does what Approve does in Invoice view. The status changes from Unfinished to Not sent, and Procountor counts the invoice in Accounting Act and tax reports. Only approved invoices can be sent. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: approve_sales_invoice
NameTypeDescription
invoice_id string required string Sales invoice ID from list_sales_invoices or create_sales_invoice.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "procountor_write",
    "arguments": {
      "operation": "approve_sales_invoice",
      "arguments": {
        "invoice_id": "invoice_8c41d2"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "invoice_id": "si_10482",
    "number": "10482",
    "status": "not_sent"
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.