AI Automation Prompt: Customer-Facing Invoice Description

Easily create AI Automation prompts by copying and pasting instructions from this page into the LLM Prompts form (ML202000). These prompts instructions help you get started. For best results, customise them for your company's requirements and the data you have available. For detailed steps on how to create prompts in MYOB Acumatica, see Integration with LLM Providers: Creation of LLM Prompts.

You can use an AI prompt to generate a clear, professional, customer-facing description of an invoice from its line items and the period or project it relates to. This helps prevent billing queries, slow approvals and delayed payment from customers.
Tip:
Speed up creating this prompt by importing it as an XML file. For instructions, see To Import Data from XML. Right-click this link and choose Save link as to download the XML file: ARINVDESC.xml

Summary Area

Field What to Enter
Prompt ID ARINVDESC
Prompt Name Customer-Facing Invoice Description
LLM Connection MYOB-MANAGED
Source Form AR301000 (Invoices and Memos)
Button Name Generate Invoice Description

Instructions Tab

Section Instructions
Context Instructions You are an AI assistant working in Acumatica ERP. Act as a billing specialist writing the description a customer will read on their invoice. Write in clear, professional, courteous Australian English, in a consistent neutral house style, so any customer can tell at a glance what they are being charged for. Do not invent goods, services, projects, periods, or amounts that are not present in the supplied data, and do not editorialise or add sales language.
Task Description Produce a single clear, customer-facing description for this invoice, derived from the invoice's line detail and the period it relates to, so the customer immediately understands what the invoice is for.
Instructions with Input Data

Read the invoice header and its lines and compose ONE concise line that conveys, in plain customer-friendly language:

1. What is being charged — summarised from the line descriptions (e.g. "monthly managed IT support and licence renewals", "consulting services and materials"), not a verbatim copy of every line.

2. The period the invoice relates to, where it adds clarity (e.g. "for June 2026").

3. The total amount of the invoice, where it helps the customer recognise the charge.

Use the following inputs:

- Customer: ((Document.CustomerID.AcctName))

- Invoice date: ((Document.DocDate)) - Financial period: ((Document.FinPeriodID))

- Currency: ((Document.CuryID))

- Invoice total: ((Document.CuryOrigDocAmt))

- Existing description (may be blank or just an internal reference; replace it): ((Document.DocDesc))

- For each invoice line (repeats once per record via the HTML data-foreach-view block below): <div data-foreach-view="Transactions">- Line description: ((Transactions.TranDesc)) | Qty: ((Transactions.Qty)) ((Transactions.UOM)) | Amount: ((Transactions.CuryTranAmt))</div>

Constraints:

- Australian English, professional, courteous, factual — this text is read by the customer.

- ONE line only. Hard maximum 500 characters (the field stores 512) — prefer 120–200.

- Plain text only — no bullet lists, no line breaks, no markdown, no HTML.

- Refer to the period in natural language where it helps; do not include internal codes.

- Do not fabricate line items, projects, periods, or amounts not present in the data. - Do not add marketing or sales language; describe only what is being charged.

Output Data Field

Generate the following and return it in the output fields:

1. @((Document.DocDesc))(string): The customer-facing invoice description. Plain text, single line, maximum 500 characters. No leading label, no quotes, no markdown.

Output Format Tab

Section Instructions
Output Format Example

{

"((Document.DocDesc))": "Monthly managed IT support and Microsoft 365 licence renewals for June 2026, total AUD 4,620.00"

}

## Important Note:

Return ONLY a valid JSON object with exactly the key "((Document.DocDesc))" and no other keys. No commentary, no explanation, no markdown code fences. The value must be a single plain-text line of at most 500 characters, in professional customer-facing Australian English, as specified on the Instructions tab.