Introduction
Once you’ve finished the Anrok & Braintree integration process, there are still a few additional steps you’ll need to complete within Braintree before you can start creating and editing invoices. This will ensure that your Braintree account has been properly configured for tax calculation.
Create a “Sales Tax” add-on
A “Sales Tax” Braintree add-on is required to manage sales tax on subscriptions. When creating a subscription in your checkout flow, override this add-on’s amount on your subscription with the sales tax amount calculated by the Anrok API.
Try creating a "Sales Tax" add-on in the demo above ☝️
-
In the Braintree app
, go to Subscriptions > Add Ons/Discounts.
- Under Add-ons, click + New Add-On.
-
Under Add-on ID, enter the following information:
- Add-on ID — enter
sales-tax
. - Add-on Name — enter
Sales Tax
. - Amount — enter
1
.
- Add-on ID — enter
- Under Duration, click the checkbox next to For Duration of Subscription.
- When you are finished, click Create.
Create a custom field for customer VAT IDs
Adding a VAT IDVAT ID
Also known as a VAT registration number (VRN), this is the unique number that identifies a taxable business that is registered for VAT.Most businesses (and other persons carrying out an economic activity) are required to have a VAT number. to your customer records will be essential for tracking international economic nexus exposure. To display VAT IDs in your customer records, you will need to create a "Anrok Customer Info" custom field. Once this custom field has been created, Anrok can use your customer's VAT ID to verify an invoice's taxability in a given country/region.
Note
Multiple VAT IDs may be associated with a single customer, Anrok will see the applicable VAT ID for the country to which the transaction applies.
Try creating a custom field for customer VAT IDs in the demo above ☝️
- In the Braintree app
, click the Gear button
> Processing.
- Under Transactions, click Options next to Custom Fields.
-
Click +Add, then under Details, enter the following information:
- API name — enter
anrok_customer_info
. - Display name — enter
Anrok Customer Info
.
- API name — enter
- Under Options, click the checkbox
next to Store and Pass Back.
- When you are finished, click Save.
- Update your customer’s Anrok Customer Info field with the following JSON type string:
{"taxIds": ["EU123456789", "DB7232"]}
.