Create refund receipt
documentedCreate a refund receipt.
POST /v3/company/{realmId}/refundreceiptRefundReceiptsno 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}}/refundreceipt?minorversion=75" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"Line": [{"Id": "1","LineNum": 1,"Description": "{{$description}}","Amount": {{$amount}},"DetailType": "SalesItemLineDetail","SalesItemLineDetail": {"ItemRef": {"value": "{{$item_id}}","name": "{{$item_name}}"},"UnitPrice": {{$unit_price}},"Qty": {{$quantity}}}}],"CustomerRef": {"value": "{{$customer_id}}","name": "{{$customer_name}}"},"TxnDate": "{{$txn_date}}","PrivateNote": "{{$private_note}}"}'