XInvoice_3.0 ApplicableTradeTax

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

  1. Create a Customer with Tax Exempt = YES
  2. Enable E-Invoice with XInvoice_3.0
  3. 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>

Hi,

Thanks for reporting this!

I suggest creating a discussion on GitHub to get feedback form the backend developers.