{
"code": "RefundPercentageForTaxOnly",
"target": "Unknown",
"details": [
{
"code": "RefundPercentageForTaxOnly",
"number": 706,
"message": "If refund type is TaxOnly, refund percentage should be null",
"description": "If refund type is TaxOnly, refund percentage should be null.",
"faultCode": "Client",
"helpLink": "http://developer.avalara.com/avatax/errors/RefundPercentageForTaxOnly",
"severity": "Error"
}
]
}
This indicates that you attempted to create a TaxOnly refund for a partial percentage. The TaxOnly refund type is intended for use when a customer has provided you a tax exemption certificate after a sale was made. Accordingly, a TaxOnly refund cannot specify a partial tax amount; it can only refund all tax.