Acumatica logo Acumatica automation · runs weekly

Create and release Acumatica customer invoices from a billing sheet

Month-end billing starts as a spreadsheet of customers and amounts, and someone keys each row into Invoices and Memos, then releases the whole batch once the numbers look right.

Cotlet does it in your own Acumatica account with list_customers, create_ar_invoice, get_invoice and release_ar_invoice, called by your AI agent, an n8n workflow or a script.

Hosted · nothing to install or maintain

Can Acumatica do this on its own?

Acumatica has no import that turns a billing sheet into released invoices on a schedule (checked 14 Oct 2026). The contract-based REST API can create an invoice and run its Release action, with an OAuth Connected Application registered on your tenant and your own code. The official MCP server added in 2026 R2 is read-only.

How you do it in Acumatica today

  1. An AR clerk opens Invoices and Memos (AR301000), picks the document type and the customer, and sets the date.
  2. Each billable item becomes a row in the document details with its description, quantity and unit price.
  3. Acumatica starts the invoice On Hold when Hold Documents on Entry is on, otherwise Balanced; an invoice On Hold is edited and the clerk clicks Remove Hold to make it Balanced.
  4. Only a Balanced invoice can be released. The clerk clicks Release on the form, or selects many in Release AR Documents (AR501000).
  5. Release makes the invoice Open, raises the customer balance and creates a general ledger batch, so it is the step that is hard to take back.

How to create and release Acumatica customer invoices from a billing sheet

Prompt

Create an AR invoice for every customer in this billing sheet, one line per row, and keep them On Hold. Show me the totals, then remove the hold and release the ones I confirm.
  1. 01

    Resolve every customer

    list_customers matches each sheet row to a Customer ID. A row with no match or two matches is set aside and listed, because creating an invoice for the wrong customer is the costly mistake.

  2. 02

    Create each invoice On Hold

    create_ar_invoice saves one invoice per customer with hold set to true. Rows for the same customer become lines of one invoice, not several invoices.

  3. 03

    Read the totals back

    get_invoice returns each saved invoice with its lines and total. The agent compares that total to the sum of the sheet rows and flags any difference before anything is released.

  4. 04

    Release in order

    release_ar_invoice runs for the invoices you confirm, with remove_hold set so a held invoice becomes Balanced first. A release that Acumatica runs in the background is checked until the status is Open.

  5. 05

    Report what is Open

    The agent returns the list of released invoices with their reference numbers, and the ones left On Hold with the reason.

What you get back

Example data

Sheet rows: 6 across 4 customers
Created On Hold: 4 invoices
- Harbor Dental Group: 2 lines, 3,150.00 (matches sheet)
- Lakeside Studio: 1 line, 880.00 (matches sheet)
Set aside: 1 row, no customer named "Pine Corner"
Released after your OK: 3 (Open)

Other ways to ask

  • Every Friday, create invoices for the time entries in this export and leave them On Hold for me.
  • Release every invoice On Hold that I already reviewed, listed by reference number below.
  • Show me invoices that are Balanced but not released so I can finish the batch.

What Acumatica allows, and what to know first

  • Acumatica can release an AR invoice only when its status is Balanced.
  • An invoice On Hold is being edited and cannot be released; Remove Hold gives it Balanced status.
  • With Hold Documents on Entry on, new AR documents start On Hold; otherwise they start Balanced.
  • Releasing an AR invoice sets it to Open, increases the customer balance and generates a general ledger batch.
  • Release AR Documents (AR501000) releases many documents in one run; the Release button on the form does one.

create_ar_invoice and release_ar_invoice ask for your OK by default. To run it weekly without you, switch confirmation off for those tools in your dashboard.

Sources: Acumatica Help: AR Invoices, Invoice Releasing · Acumatica Help: AR Invoices, General Information · Acumatica Help: Invoices and Memos form reference · Acumatica: 2026 R2 release with embedded AI

Call create_ar_invoice from a script

curl

curl -X POST https://cotlet.dev/api/v1/acumatica/customers/C000045/ar-invoices \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"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

{
  "reference_nbr": "002231",
  "customer_id": "C000045",
  "status": "Balanced",
  "total": 3150
}

MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is acumatica_write → create_ar_invoice. Example data.

Schedule it in n8n, Make, Zapier or cron

Acumatica tools this automation uses

Cotlet Acumatica tools used to create and release Acumatica customer invoices from a billing sheet
Tool Parameters
list_customers search, status, limit, cursor
create_ar_invoice customer_id, date, hold, lines
get_invoice reference_nbr
release_ar_invoice reference_nbr, remove_hold
All 13 Acumatica tools with descriptions

Frequently asked questions

Is it safe to connect Acumatica to Cotlet?

Yes. You sign in to Acumatica yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get Acumatica once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.

Give your agent access to Acumatica.

Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with Acumatica.