Overview
When building an integration to Zamp, this is the core workflow a business using your platform needs to be able to accomplish.Endpoints Used
Recommended Workflow
1
Building the Transaction Object
When a customer generates a Sales Order, populate the Transaction Object with transaction information.
2
Calculating Taxes
When the Sales Order is saved, make a
POST request to the /calculations endpoint.3
Retaining the Calculated Tax
The calculations endpoint will return a detailed breakdown of the taxes due (
taxDue) for the transaction you have provided. Your system should retain the taxes due as this will be the liability owed for the transaction.4
Posting the Transaction to Zamp
Provided that the transaction is finalized and the invoice is ready to be saved, make a
POST request to the /transactions endpoint with the Zamp returned tax due (from step 3) in the taxCollected field.