Sign in

Create credit memo

documented

Create a credit memo.

POST /v3/company/{realmId}/creditmemoCredit Memosno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://quickbooks.api.intuit.com/v3/company/{{$realmId}}/creditmemo?minorversion={{minorversion}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{"CustomerRef": {"value": "{{$customer_id}}"}, "DocNumber": "{{$doc_number}}", "TxnDate": "{{$txn_date}}", "PrivateNote": "{{$private_note}}", "Line": [ { "DetailType": "SalesItemLineDetail", "Amount": {{$amount}}, "SalesItemLineDetail": { "ItemRef": {"value": "{{$item_id}}", "name": "{{$item_name}}"}, "Qty": {{$quantity}} } } ] }'"
Create credit memo · QuickBooks · OpenIntegrations