{ "error": { "type": "request_error", "code": "adjustment_tax_mode_not_allowed", "detail": "You're attempting to pass `tax_mode: external` with a `type` other than `partial` or an `action` other than `refund`.", "documentation_url": "https://developer.paddle.com/errors/adjustments/adjustment_tax_mode_not_allowed" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
-
adjustment_tax_mode_not_allowed - Error message
- You're attempting to pass `tax_mode: external` with a `type` other than `partial` or an `action` other than `refund`.
Common causes
- You're trying to create an adjustment where the
tax_modeisexternal, but thetypeisfull. Only partial refunds can be created using external tax amounts. - You're trying to create an adjustment where the
tax_modeisexternal, but theactionis one other thanrefund. Only refunds can be created using external tax amounts.
Troubleshooting
- Ensure the
typeispartialandactionisrefund. - Pass
internalas thetax_modeto specify that amounts are inclusive of tax.