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

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

  • create_invoice โ€” the original A/R invoice being credited.
  • create_return โ€” take physical goods back (reverses a delivery).