{
"code": "RefundTypeAndLineMismatch",
"target": "Unknown",
"details": [
{
"code": "RefundTypeAndLineMismatch",
"number": 703,
"message": "Lines for refund do not match with refund type",
"description": "There are -0- lines for refund, and the refund type is -1-. If refund type is full, refund lines should be null.",
"faultCode": "Client",
"helpLink": "http://developer.avalara.com/avatax/errors/RefundTypeAndLineMismatch",
"severity": "Error"
}
]
}
This indicates that you specified a Full refund, but the lines parameter was not null. When specifying a Full refund type, the percentage value and lines must both be null.