Class Codes
java.lang.Object
com.fourjs.report.facturx.Codes
Holds the code lists whose entries are values of the Code data type described in section
7.1.5, "Data types", of the Factur-X specification: a code value accompanied by the identification
of the list it is taken from. Each code list is exposed as a nested
enum whose constants are
the permitted code values; depending on the list, a constant carries its code together with a
human-readable name and description, reachable through accessors such as getCode(),
getName() and getDescription(), and every list converts to and from its string form
with toString() and fromString(String).
fromString(String) rejects a value that is not part of the list with an
IllegalArgumentException, unless the facturx.laxenums system property is
set to true: it then accepts the unknown value into a spare custom entry and continues,
which is useful when a document carries a code the list does not yet contain.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCharacteristic: BT-X-11static enumCountry Code list: BT-40, BT-48, BT-55, BT-63, BT-69, BT-80, BT-159static enumCurrencystatic enumDate Format: BT-7-0static enumDate Type Code:BT-8static enumElectronic Address Scheme:For BT-34-1, BT-49-1static enumINCOTERMS: BT-X-145, BT-X-562static enumInvoice Type Code : BT-3static enumInvoice Type Code 130: BT-128-0static enumItem type identification code : BT-158-1static enumLanguage: BT-X-4static enumLine Reason: BT-X-8static enumLine Status: BT-X-7static enumMIME:BT-125-1static enumNon VAT Tax Code: BT-177, BT-193static enumPayment means code : BT-81static enumReference code Identifier : BT-18-1, BT-128-1static enumCode list for Identification scheme Identifier:For BT-29, BT-30, BT-46, BT-47, BT-60, BT-61, BT-71static enumScheme Identifier Attribute: BT-31-0static enumScheme Identifier VA: BT-48-0static enumSpecial service description code : BT-145 / BT-105 (charge reason code)static enumSubset for Allowance identification code : BT-140 / BT-98static enumSupporting Document Type Code: BT-17-0, BT-18-0, BT-122-0static enumText subject code qualifier : BT-21static enumTRANSPORT: BT-X-152static enumUnit of Measure: BT-130, BT-150, BT-150-1static enumVAT Category Code: BT-95static enumVAT exemption reason code:For BT-121static enumVAT Type Code: BT-118-0 -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Codes
public Codes()
-
-
Method Details
-
getClassForBT
-