# Exemption numbers

Source: https://developer.avalara.com/marketplace-integration-guide/transactions/exemptions/exemption-numbers/

Another simple way to exempt a transaction is to use an `exemptionNo` at the document level to exempt the entire transaction, or use `exemptionCode` at the line level of a transaction to exempt that specific line. This may be the easiest of the methods, but it doesn't provide any backing information to explain the exemption in an audit. That would need to be managed manually by the user.

Below is an example showing how to specify an `exemptionNo` at the document level.

**Note**:  
Integrations that utilize Avalara Streamlined Sales Tax can’t specify exemption numbers. You must have an exemption certificate on file to exempt a transaction.

[![Closed](https://avalara-devdocs-prod.mcoutput.com/avatax-for-marketplaces/Content/Skins/Default/Stylesheets/Images/transparent.gif)Example](javascript:void\(0\);)

```
{  "type": "SalesInvoice",  "companyCode": "DEFAULT",  "date": "2024-07-28",  "customerCode": "ABC",  "purchaseOrderNo": "123456789",  "exemptionNo": "EXEMPT",  "commit": true,  "currencyCode": "USD",  "description": "Yarn"} 
```