Version v5.11.6
Environment: Docker
Checklist
- Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or Invoice Ninja? YES
- Have you searched existing issues? YES
- Have you inspected the logs in storage/logs/laravel.log for any errors? YES
Describe the bug
Unable to change the Tax CategoryCode Type for E-Invoices XInvoice_3.0
Steps To Reproduce
- Create a Customer with Tax Exempt = YES
- Enable E-Invoice with XInvoice_3.0
- Create an Invoice and download the E-Invoice XML
Expected Behavior
The CategoryCode for Tax should be “E” (Tax exempt) instead of “Z” (Zero rated)
This should be correct:
<ram:ApplicableTradeTax>
...
<ram:CategoryCode>E</ram:CategoryCode>
...
</ram:ApplicableTradeTax>