Create bill
documentedCreate a bill from a vendor.
POST /v3/company/{realmId}/billBillsno 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/{{$realm_id}}/bill?minorversion={{minorversion}}" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"VendorRef": {"value": "{{$vendor_id}}"}, "APAccountRef": {"value": "{{$ap_account_id}}"}, "TxnDate": "{{$txn_date}}", "DueDate": "{{$due_date}}", "DocNumber": "{{$doc_number}}", "PrivateNote": "{{$notes}}", "Line": [ { "DetailType": "AccountBasedExpenseLineDetail", "Amount": {{$line_amount}}, "AccountBasedExpenseLineDetail": { "AccountRef": { "value": "{{$line_account_id}}", "name": "{{$line_account_name}}" } }, "Description": "{{$line_description}}" } ], "CurrencyRef": {"value": "{{$currency_code}}", "name": "{{$currency_name}}"} }'"