Skip to content

Commit 35ef105

Browse files
author
sstefanov
committed
Added TextSubjectCode AFM and PaymentMeansCode 1
1 parent 51a7116 commit 35ef105

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/facturx/type_codes.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ class TextSubjectCode(StrEnum):
126126
LEGAL_INFORMATION = "ABL"
127127
TAX_INFORMATION = "TXD"
128128
CUSTOMS_INFORMATION = "CUS"
129+
TITLE = "AFM"
129130

130131

131132
TEXT_SUBJECT_CODE_NAMES = {
@@ -135,6 +136,7 @@ class TextSubjectCode(StrEnum):
135136
TextSubjectCode.LEGAL_INFORMATION: N_("Legal Information"),
136137
TextSubjectCode.TAX_INFORMATION: N_("Tax Information"),
137138
TextSubjectCode.CUSTOMS_INFORMATION: N_("Customs Information"),
139+
TextSubjectCode.TITLE: N_("Title"),
138140
}
139141

140142

@@ -143,7 +145,7 @@ class PaymentMeansCode(StrEnum):
143145
144146
https://service.unece.org/trade/untdid/d98a/uncl/uncl4461.htm
145147
"""
146-
148+
NOTDEFINED = "1"
147149
SPECIES = "10"
148150
CHECK = "20"
149151
TRANSFER = "30"
@@ -158,6 +160,7 @@ class PaymentMeansCode(StrEnum):
158160

159161

160162
PAYMENT_MEANS_NAMES = {
163+
PaymentMeansCode.NOTDEFINED: N_("Instrument not defined"),
161164
PaymentMeansCode.SPECIES: N_("Species"),
162165
PaymentMeansCode.CHECK: N_("Check"),
163166
PaymentMeansCode.TRANSFER: N_("Transfer"),

0 commit comments

Comments
 (0)