# Support tax-only adjustments

Source: https://developer.avalara.com/avatax-dm-combined-erp/sales-tax-badge/transactions/support-tax-only-adjustments/

# Support tax-only adjustments

**Element type: Suggested** for Refunds

**Endpoints/models used:** [RefundTransaction](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Transactions/RefundTransaction/)

If your platform supports tax-only refunds, then these should also be supported in AvaTax. For example, you may encounter a scenario where you charged a customer tax, but the customer later realizes that they have an exemption certificate. After the original transaction is posted, the customer can provide you with their exemption certificate. In this case, you should be able to issue that customer a tax-only refund if this is supported in your platform.

Issuing tax-only refunds can be accomplished with the [RefundTransaction API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Transactions/RefundTransaction/) by specifying a`RefundType` of`TaxOnly`. Your application should then recognize the tax amount that was calculated on the original transaction using the`transactionCode` specified in the endpoint URL and pass that as the value for the refunded tax value. In the example below, the code for the original transaction is TestTransactions3.

```
curl    -X POST    -H 'Accept: application/json'    -H 'Authorization: Basic ${btoa(`:`)}'    -H 'Content-Type: application/json'    --data '{        "refundTransactionCode": "TestRefunds3",        "refundDate": "2020-10-12",        "refundType": "TaxOnly",        "referenceCode": "Refund for a committed transaction"    }'    'https://sandbox-rest.avatax.com/api/v2/companies/DEFAULT/transactions/TestTransactions3/refund'
```

[Previous](/avatax-dm-combined-erp/sales-tax-badge/transactions/send-current-transaction-date)

[Next](/avatax-dm-combined-erp/sales-tax-badge/transactions/tax-override-tax-amount)