Create customer
create_customerAdd a new customer to QuickBooks Online before invoicing. Prevents duplicate records when used after searching existing customers.
Instructions
Create a customer in the connected QuickBooks Online company. Use it before invoicing someone who is not on file yet, and run search_customers first so you do not create a second record for an existing customer. Write operation: it adds one Customer and changes nothing else. Not idempotent, because QuickBooks rejects a duplicate DisplayName with error 6240 rather than returning the existing customer. Returns the created customer with its new Id and SyncToken, or ok=false with an error and a suggested fix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer | Yes | Customer fields to write. display_name is required and must be unique. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| customer | No |