Create bill
documentedCreate a new bill.
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/{{$realmId}}/bill" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"Line": [ {"DetailType": "AccountBasedExpenseLineDetail", "Amount": {{$line_amount}}, "AccountBasedExpenseLineDetail": {"AccountRef": {"value": "{{$expense_account_id}}", "name": "{{$expense_account_name}}"}} } ], "VendorRef": { "value": "{{$vendor_id}}" }, "APAccountRef": { "value": "{{$ap_account_id}}" }, "TxnDate": "{{$txn_date}}", "DueDate": "{{$due_date}}", "DocNumber": "{{$doc_number}}", "PrivateNote": "{{$bill_note}}" }'"