Examples
This example show a compliant beverage alcohol sales invoice transaction. In this example:
- A valid license exists for shipping to Kentucky.
- The
taxCodeis a valid code for compliance verification:PA2020100. - The
routeTypeis a valid type for compliance verification:DTC. - The quantity of alcohol being purchased is within the legal limit.
- The purchaser is at least 21 years old.
- The recipient is at least 21 years old.
Transaction request
The following transaction shows a request for purchasing both packaged alcohol spirits and wine glasses.
Verification request
In the verification request, be sure to include yourcompanyCode and the transactioncode. In the transaction above, thecompanyCode isDEFAULT, and the transactioncode isCompliantPurchase.
Response
The response returns"compliant": true. In addition, thesuccessMessages for line 1 describes how each check in the transaction passed compliance verification. Also notice that the message for line 2 indicates that the line references an unsupported tax code. This message is deliberate and simply means that a compliance check was not performed on that line because only supported beverage alcohol tax codes are verified.
Part of the Beverage Alcohol integration guide. Open the full “Examples” milestone on Avalara to see every page in this section.

