Create credit memo
documentedCreate a credit memo.
POST /v3/company/{realmId}/creditmemoCreditMemosno implementation yet0 runsNo 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 "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"Line": [ {"DetailType": "SalesItemLineDetail", "Amount": {{$lineAmount}}, "SalesItemLineDetail": {"ItemRef": {"value": "{{$lineItemRef}}", "name": "{{$lineItemName}}"}, "Qty": {{$lineQty}} } } ], "CustomerRef": {"value": "{{$customerRef}}"}, "TxnDate": "{{$txnDate}}", "DocNumber": "{{$docNumber}}", "PrivateNote": "{{$privateNote}}" }'"