feat: add BT-120 VAT exemption reason (backport #247)#254
Conversation
(cherry picked from commit cec83b5) # Conflicts: # eu_einvoice/locale/de.po # eu_einvoice/locale/main.pot
|
Cherry-pick of cec83b5 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Greptile SummaryThis backport (from #247) adds BT-120 (
Confidence Score: 2/5Not safe to merge — both locale files contain unresolved git conflict markers that will break translation parsing at runtime. Two P0 findings (unresolved merge conflicts in
Important Files Changed
Sequence DiagramsequenceDiagram
participant SI as Sales Invoice
participant EIG as EInvoiceGenerator
participant DB as E Invoice Settings (DB)
participant XML as E-Invoice XML
SI->>EIG: create_einvoice()
EIG->>DB: get_single_value("vat_exemption_reason_text")
DB-->>EIG: reason_text (or "")
EIG->>EIG: _set_taxes_for_item() [rate == 0]
EIG->>EIG: _set_optional_vat_exemption_reason_text(trade_tax)
EIG->>XML: trade_tax.exemption_reason = reason_text (BT-120)
Note over EIG,XML: Document-level path
EIG->>EIG: _add_taxes_and_charges()
EIG->>EIG: _set_optional_vat_exemption_reason_text(trade_tax)
EIG->>XML: trade_tax.exemption_reason = reason_text (BT-120)
Note over SI,XML: Import path
XML->>EIG: parse_tax(ApplicableTradeTax)
EIG->>SI: t.vat_exemption_reason_text = exemption_reason._text
Reviews (1): Last reviewed commit: "feat: add BT-120 VAT exemption reason (#..." | Re-trigger Greptile |
…bp/version-16-hotfix/pr-247
Adds a BT-120 textfield for the VAT exemption reason to the E-Invoice Settings: #183
This is an automatic backport of pull request #247 done by Mergify.