Skip to content

Commit

Permalink
Add TextSubjectCode AFM and PaymentMeansCode 1
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau authored Dec 13, 2024
2 parents 51a7116 + 35ef105 commit 0f4c3b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/facturx/type_codes.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class TextSubjectCode(StrEnum):
LEGAL_INFORMATION = "ABL"
TAX_INFORMATION = "TXD"
CUSTOMS_INFORMATION = "CUS"
TITLE = "AFM"


TEXT_SUBJECT_CODE_NAMES = {
Expand All @@ -135,6 +136,7 @@ class TextSubjectCode(StrEnum):
TextSubjectCode.LEGAL_INFORMATION: N_("Legal Information"),
TextSubjectCode.TAX_INFORMATION: N_("Tax Information"),
TextSubjectCode.CUSTOMS_INFORMATION: N_("Customs Information"),
TextSubjectCode.TITLE: N_("Title"),
}


Expand All @@ -143,7 +145,7 @@ class PaymentMeansCode(StrEnum):
https://service.unece.org/trade/untdid/d98a/uncl/uncl4461.htm
"""

NOTDEFINED = "1"
SPECIES = "10"
CHECK = "20"
TRANSFER = "30"
Expand All @@ -158,6 +160,7 @@ class PaymentMeansCode(StrEnum):


PAYMENT_MEANS_NAMES = {
PaymentMeansCode.NOTDEFINED: N_("Instrument not defined"),
PaymentMeansCode.SPECIES: N_("Species"),
PaymentMeansCode.CHECK: N_("Check"),
PaymentMeansCode.TRANSFER: N_("Transfer"),
Expand Down

0 comments on commit 0f4c3b1

Please sign in to comment.