create_credit_memo โ Create A/R Credit Memo
Creates a SAP A/R credit memo for a customer โ reverses value on an invoice, held for human review.
Creates a SAP A/R credit memo for a customer โ a credit memo reverses value on an
invoice (money credited back to the customer). A write, so it is always held for
human review. Use it when the user wants to credit, refund, or issue a credit note to a
customer. Each line may carry a unit_price: when given it is authoritative (the
credited amount); when omitted the line uses the item’s list price.
Not for A/R invoices (use create_invoice) or returns of physical goods (use
create_return) โ and not when the user only wants to see data.
Try these prompts
- “credit C001 for 2 of I001”
- “issue a credit note to Acme Corp for $190”
- “refund customer C001 for 3 units of I002”
ื ืกื ืื ืืขืืจืืช
- “ืืื ืืงืื ืขื ืืืืจืช ืกืืืจื”
- “ืื ืคืง ืชืขืืืช ืืืืื ืืืงืื”
- “ืืืืจ ืืกืฃ ืืืงืื”
Arguments
| Arg | Required | Meaning |
|---|---|---|
card_code | required | The customer’s partner code, e.g. C001. |
lines[].item_code | required | Item to credit, e.g. I001. |
lines[].quantity | required | How many units to credit. |
lines[].unit_price | optional | Credited amount per unit. Omit to use the item’s list price. |
Example result
Credit memo drafted for review. C001 Acme Corp โ 2 ร I001 at $95.00 each credited back. Held for your approval before it posts to SAP.
Related
create_invoiceโ the original A/R invoice being credited.create_returnโ take physical goods back (reverses a delivery).