Currently, per Product you can set for the ApplicableTradeTax the fields ExemptionReason (BT-120) and CategoryCode (BT-118) with these two:
org.mustangproject.Product#setTaxExemptionReason
org.mustangproject.Product#setTaxCategoryCode
What one cannot write to is ExemptionReasonCode (BT-121).
I know that validation rules for certain CategoryCode require either of ExemptionReason or ExemptionReasonCode to be set, so maybe this was the MVP of supporting this. But I was wondering if this was done with a purpose or if this would make sense extending that you can also set the ExemptionReasonCode being one of these https://docs.peppol.eu/poacc/billing/3.0/codelist/vatex/
Creating this feature as maybe others are looking for this and have a discussion about it.
Thanks
Currently, per Product you can set for the
ApplicableTradeTaxthe fieldsExemptionReason(BT-120) andCategoryCode(BT-118) with these two:org.mustangproject.Product#setTaxExemptionReasonorg.mustangproject.Product#setTaxCategoryCodeWhat one cannot write to is
ExemptionReasonCode(BT-121).I know that validation rules for certain
CategoryCoderequire either ofExemptionReasonorExemptionReasonCodeto be set, so maybe this was the MVP of supporting this. But I was wondering if this was done with a purpose or if this would make sense extending that you can also set theExemptionReasonCodebeing one of these https://docs.peppol.eu/poacc/billing/3.0/codelist/vatex/Creating this feature as maybe others are looking for this and have a discussion about it.
Thanks