Skip to content

Adding a tax ExemptionReasonCode to Product/TradeTax for the XML generation #961

@felixwtt

Description

@felixwtt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions