Create AR invoice

Create an AR invoice for a customer with one or more lines. On Hold by default.

MCP tool acumatica_write → create_ar_invoice

write Confirm

Creates an invoice in Invoices and Memos for one customer. With hold set to true, the default, the invoice is saved On Hold; with false it is saved Balanced and can be released. The total is the sum of quantity times unit price over the lines. Taxes follow your Acumatica setup. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_ar_invoice
NameTypeDescription
customer_id string required string Customer ID as shown in Acumatica, from list_customers.
date date required date Document date.
hold boolean boolean true saves the document On Hold so you can review it. false saves it as Balanced, ready to release. Default: true.
lines array required array Objects with description (string), quantity (number) and unit_price (number).

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "acumatica_write",
    "arguments": {
      "operation": "create_ar_invoice",
      "arguments": {
        "customer_id": "C000045",
        "date": "2026-10-31",
        "hold": false,
        "lines": [
          {
            "description": "Hosting, October",
            "quantity": 1,
            "unit_price": 2400
          },
          {
            "description": "Support hours",
            "quantity": 5,
            "unit_price": 150
          }
        ]
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "reference_nbr": "002231",
    "customer_id": "C000045",
    "status": "Balanced",
    "total": 3150
  },
  "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.