Sign in

Create invoice

documented

Create a new invoice for a customer.

POST /v3/company/{realmId}/invoiceInvoicesno 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}}/invoice" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"Line":[{"Amount": {{$amount}},"DetailType":"SalesItemLineDetail","SalesItemLineDetail":{"ItemRef":{"value":"{{$item_id}}","name":"{{$item_name}}"},"Qty": {{$qty}}}}],"CustomerRef":{"value":"{{$customer_id}}"},"DocNumber":"{{$doc_number}}","TxnDate":"{{$txn_date}}"}'
Create invoice · QuickBooks · OpenIntegrations