create_return โ€” Create A/R Return

Creates a SAP A/R return for a customer โ€” reverses a delivery (goods come back), held for human review.

Creates a SAP A/R return for a customer โ€” a return reverses a delivery (goods come back). A write, so it is always held for human review. Use it when the user wants to return, take back, or accept returned goods from a customer. Prices come from the item master.

Not for delivery notes (use create_delivery), goods issues, or A/R credit memos โ€” and not when the user only wants to see data.

Try these prompts

  • “return 3 of I001 from C001”
  • “take back 2 units of I002 from Acme Corp”
  • “accept returned goods from customer C001”

ื ืกื• ื’ื ื‘ืขื‘ืจื™ืช

  • “ืงื‘ืœ ืกื—ื•ืจื” ืฉื”ื•ื—ื–ืจื” ืžืœืงื•ื—”
  • “ืจืฉื•ื ื”ื—ื–ืจืช ื˜ื•ื‘ื™ืŸ ืžืœืงื•ื—”
  • “ืชืขื“ ื–ื™ื›ื•ื™ ืขืœ ืกื—ื•ืจื” ืฉื—ื–ืจื””

Arguments

ArgRequiredMeaning
card_coderequiredThe customer’s partner code, e.g. C001.
lines[].item_coderequiredItem being returned, e.g. I001.
lines[].quantityrequiredHow many units come back.

Example result

Return drafted for review. C001 Acme Corp โ€” 3 ร— I001 coming back. Priced from the item master. Held for your approval before it posts to SAP.

  • create_delivery โ€” the outbound shipment a return reverses.
  • create_credit_memo โ€” credit value back rather than take goods back.