create_invoice โ Create A/R Invoice
Creates a SAP A/R invoice for a customer โ a write, always held for human review.
Creates a SAP A/R invoice for a customer โ a write, so it is always held for
human review. Use it when the user wants to invoice, bill, or charge a customer. Each
line may carry a unit_price: when given it is authoritative (the invoiced amount);
when omitted the line uses the item’s list price.
Not for sales orders, delivery notes, or A/P invoices โ and not when the user only wants to see data.
Try these prompts
- “invoice C001 for 10 of I001”
- “bill Acme Corp for 5 units of I002”
- “charge customer C001 $95 each for 10 of I001”
ื ืกื ืื ืืขืืจืืช
- “ืืคืง ืืฉืืื ืืช ืืืงืื”
- “ืืืื ืืงืื ืขื ืกืืืจื ืฉื ืืืจื”
- “ืฆืืจ ืืฉืืื ืืช ืืืืจื”
Arguments
| Arg | Required | Meaning |
|---|---|---|
card_code | required | The customer’s partner code, e.g. C001. |
lines[].item_code | required | Item to invoice, e.g. I001. |
lines[].quantity | required | How many units of the item. |
lines[].unit_price | optional | Invoiced amount per unit. Omit to use the item’s list price. |
Example result
A/R invoice drafted for review. C001 Acme Corp โ 10 ร I001 at $95.00 each. Held for your approval before it posts to SAP.
Related
create_deliveryโ ship goods before you bill.create_credit_memoโ credit value back on an invoice.get_ap_invoiceโ the supplier-side (A/P) invoice lookup.