POST
/
tax
/
customers
curl --request POST \
  --url https://api.numeralhq.com/tax/customers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Customer Name",
  "email": "customer@example.com",
  "is_tax_exempt": true,
  "reference_customer_id": "20506"
}'
{
  "id": "cus_123456789",
  "object": "tax.customer",
  "reference_customer_id": "20506",
  "name": "Customer Name",
  "email": "customer@example.com",
  "is_tax_exempt": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
email
string
required

The customer's email

name
string

The customer's name

is_tax_exempt
boolean

If true, all POST /tax/calculations sold to this customer will return $0 in tax owed. The default value is false.

reference_customer_id
string

The ID of the customer in your system

Response

200
application/json
Customer creation response
id
string

The ID of the customer

object
string

The type of object: tax.customer

reference_customer_id
string

The ID of the customer in your system

name
string

The name of the created customer

email
string

The email of the created customer

is_tax_exempt
boolean

If true, all POST /tax/calculations sold to this customer will return $0 in tax owed. The default value is false.