Use the customers
object are to manage your customers and exemptions
customers
object is used to represent one of your customers.
email
. You can also add a name
and a reference_customer_id
. If you add your own reference ID, you’ll be able to pass that in for future references to the customer. In either case, we’ll also give you back a customer_id
that you can use.
You also have to option to mark the customer as tax exempt with the is_tax_exempt
field. Let’s look at an example.
reference_customer_id
.
We’ll respond with something that looks like
reference_customer_id
in addition to another, unique id
that references the customer in the Numeral system. You’ll be able to use either when referring to the customer in the future.
Later, when you’re asking for a tax rate calculation,
you’ll be able to pass in either of the id
that Numeral created or the reference_customer_id
that you passed in. In either case, for this customer, we’ll return a payload indicating that no tax should be charged, since you marked them as tax exempt.
Here’s an example:
Note that we’ve passed in the reference_customer_id
under the customer.id
field. You could also pass in the id
we saw above.
note
indicating that the exemption was a result of the customer being exempt. It’ll look something like this: