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

ArgRequiredMeaning
card_coderequiredThe customer’s partner code, e.g. C001.
lines[].item_coderequiredItem to invoice, e.g. I001.
lines[].quantityrequiredHow many units of the item.
lines[].unit_priceoptionalInvoiced 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.

  • 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.