diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 63a17b61..2a08104c 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -24,4 +24,4 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@v6 with: - version: v1.58 + version: v1.62 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e6dcf57..77a9ed62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,16 +15,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - `bill`: `Tax.MergeExtensions` convenience method for adding extensions to tax objects and avoid nil panics. - `cbc`: `Key.Pop` method for splitting keys with sub-keys, e.g. `cbc.Key("a+b").Pop() == cbc.Key("a")`. - `in`: added Indian regime +- `cef`: catalogue for CEF VATEX reason codes. +- `untdid`: 1153 - `untdid-reference` (Reference Code Qualifier) and 7143 - `untdid-item-type` (Item Type Identification) extenions. ### Changed - `tax`: renamed `ExtensionsRequires` to `ExtensionsRequire`, to bring in line with `ExtensionsExclude`. - `cbc`: refactored `KeyDefinition` and `ValueDefinition` into a single `Definition` object that supports `key` and `code`. - `tax`: removed `ExtValue` and replaced with `cbc.Code` which is now much more flexible. +- `tax`: Catalogue definitions now loaded from JSON source as opposed to Go code. This improves memory efficiency, especially when the source data is large. ### Fixed - `bill`: corrected issues around correction definitions and merging types. +- `bill`: removed `Outlays` from totals. ## [v0.206.1] - 2024-11-28 diff --git a/bill/totals.go b/bill/totals.go index 1e7e9e72..c2313138 100644 --- a/bill/totals.go +++ b/bill/totals.go @@ -29,8 +29,6 @@ type Totals struct { // Rounding amount to apply to the invoice in case the total and payable // amounts don't quite match. Rounding *num.Amount `json:"rounding,omitempty" jsonschema:"title=Rounding"` - // Total paid in outlays that need to be reimbursed - Outlays *num.Amount `json:"outlays,omitempty" jsonschema:"title=Outlay Totals"` // Total amount to be paid after applying taxes and outlays. Payable num.Amount `json:"payable" jsonschema:"title=Payable"` // Total amount already paid in advance. @@ -51,7 +49,6 @@ func (t *Totals) ValidateWithContext(ctx context.Context) error { validation.Field(&t.Tax), validation.Field(&t.TotalWithTax), validation.Field(&t.Rounding), - validation.Field(&t.Outlays), validation.Field(&t.Payable), validation.Field(&t.Advances), validation.Field(&t.Due), @@ -70,7 +67,6 @@ func (t *Totals) reset(zero num.Amount) { t.Tax = zero t.TotalWithTax = zero // t.Rounding = nil // may have been provided externally - t.Outlays = nil t.Payable = zero t.Advances = nil t.Due = nil @@ -99,9 +95,6 @@ func (t *Totals) round(zero num.Amount) { t.Total = t.Total.Rescale(e) t.Tax = t.Tax.Rescale(e) t.TotalWithTax = t.TotalWithTax.Rescale(e) - if t.Outlays != nil { - *t.Outlays = t.Outlays.Rescale(e) - } t.Payable = t.Payable.Rescale(e) if t.Advances != nil { *t.Advances = t.Advances.Rescale(e) diff --git a/catalogues/catalogues.go b/catalogues/catalogues.go index 19e3534c..5c205b17 100644 --- a/catalogues/catalogues.go +++ b/catalogues/catalogues.go @@ -5,6 +5,7 @@ package catalogues import ( // Ensure all the catalogues are registered + _ "github.com/invopop/gobl/catalogues/cef" _ "github.com/invopop/gobl/catalogues/iso" _ "github.com/invopop/gobl/catalogues/untdid" ) diff --git a/catalogues/cef/cef.go b/catalogues/cef/cef.go new file mode 100644 index 00000000..3f1713aa --- /dev/null +++ b/catalogues/cef/cef.go @@ -0,0 +1,17 @@ +// Package cef provides codes issue by the "Connecting Europe Facility" +// (CEF Digital) initiative. +package cef + +import ( + "github.com/invopop/gobl/cbc" + "github.com/invopop/gobl/tax" +) + +func init() { + tax.RegisterCatalogueDef("cef.json") +} + +const ( + // ExtKeyVATEX is used for the CEF VATEX exemption codes. + ExtKeyVATEX cbc.Key = "cef-vatex" +) diff --git a/catalogues/cef/cef_test.go b/catalogues/cef/cef_test.go new file mode 100644 index 00000000..3c3b6abb --- /dev/null +++ b/catalogues/cef/cef_test.go @@ -0,0 +1,16 @@ +package cef_test + +import ( + "testing" + + _ "github.com/invopop/gobl" + "github.com/invopop/gobl/tax" + "github.com/stretchr/testify/assert" +) + +func TestInit(t *testing.T) { + // Test that the catalogue is registered + ed := tax.ExtensionForKey("cef-vatex") + assert.NotNil(t, ed) + assert.Equal(t, "cef-vatex", ed.Key.String()) +} diff --git a/catalogues/generate.go b/catalogues/generate.go index 4edd9abf..7ab33ec7 100644 --- a/catalogues/generate.go +++ b/catalogues/generate.go @@ -19,6 +19,10 @@ func main() { } } +// generate will output the JSON definitions of the catalogues to the data directory. +// Please not that in the case of Catalogues specifically, the source data is the JSON +// output. This implies that any changes to structures or refactoring will be reflected +// in the output, despite having the same source. func generate() error { for _, cd := range tax.AllCatalogueDefs() { doc, err := schema.NewObject(cd) diff --git a/catalogues/iso/iso.go b/catalogues/iso/iso.go index 994b4d4e..f602407d 100644 --- a/catalogues/iso/iso.go +++ b/catalogues/iso/iso.go @@ -4,20 +4,14 @@ package iso import ( "github.com/invopop/gobl/cbc" - "github.com/invopop/gobl/i18n" "github.com/invopop/gobl/tax" ) func init() { - tax.RegisterCatalogueDef(newCatalogue()) + tax.RegisterCatalogueDef("iso.json") } -func newCatalogue() *tax.CatalogueDef { - return &tax.CatalogueDef{ - Key: "iso", - Name: i18n.NewString("ISO/IEC Data Elements"), - Extensions: []*cbc.Definition{ - extSchemeID, - }, - } -} +const ( + // ExtKeySchemeID is used by the ISO 6523 scheme identifier. + ExtKeySchemeID cbc.Key = "iso-scheme-id" +) diff --git a/catalogues/iso/scheme_id.go b/catalogues/iso/scheme_id.go deleted file mode 100644 index 6ac5e6d7..00000000 --- a/catalogues/iso/scheme_id.go +++ /dev/null @@ -1,26 +0,0 @@ -package iso - -import ( - "github.com/invopop/gobl/cbc" - "github.com/invopop/gobl/i18n" - "github.com/invopop/gobl/pkg/here" -) - -const ( - // ExtKeySchemeID is used by the ISO 6523 scheme identifier. - ExtKeySchemeID cbc.Key = "iso-scheme-id" -) - -var extSchemeID = &cbc.Definition{ - Key: ExtKeySchemeID, - Name: i18n.NewString("ISO/IEC 6523 Identifier scheme code"), - Desc: i18n.NewString(here.Doc(` - Defines a global structure for uniquely identifying organizations or entities. - This standard is essential in environments where electronic communications require - unambiguous identification of organizations, especially in automated systems or - electronic data interchange (EDI). - - The ISO 6523 set of identifies is used by the EN16931 standard for electronic invoicing. - `)), - Pattern: `^\d{4}$`, -} diff --git a/catalogues/untdid/allowance.go b/catalogues/untdid/allowance.go deleted file mode 100644 index 780e6253..00000000 --- a/catalogues/untdid/allowance.go +++ /dev/null @@ -1,105 +0,0 @@ -package untdid - -import ( - "github.com/invopop/gobl/cbc" - "github.com/invopop/gobl/i18n" - "github.com/invopop/gobl/pkg/here" -) - -const ( - // ExtKeyAllowance is used to identify the UNTDID 5189 allownce codes - // used in discounts. - ExtKeyAllowance cbc.Key = "untdid-allowance" -) - -var extAllowance = &cbc.Definition{ - Key: ExtKeyAllowance, - Name: i18n.String{ - i18n.EN: "UNTDID 5189 Allowance", - }, - Desc: i18n.String{ - i18n.EN: here.Doc(` - UNTDID 5189 code used to describe the allowance type. This list is based on the - [EN16931 code list](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931#RegistryofsupportingartefactstoimplementEN16931-Codelists) - values table which focusses on invoices and payments. - `), - }, - Values: []*cbc.Definition{ - { - Code: "41", - Name: i18n.NewString("Bonus for works ahead of schedule"), - }, - { - Code: "42", - Name: i18n.NewString("Other bonus"), - }, - { - Code: "60", - Name: i18n.NewString("Manufacturer’s consumer discount"), - }, - { - Code: "62", - Name: i18n.NewString("Due to military status"), - }, - { - Code: "63", - Name: i18n.NewString("Due to work accident"), - }, - { - Code: "64", - Name: i18n.NewString("Special agreement"), - }, - { - Code: "65", - Name: i18n.NewString("Production error discount"), - }, - { - Code: "66", - Name: i18n.NewString("New outlet discount"), - }, - { - Code: "67", - Name: i18n.NewString("Sample discount"), - }, - { - Code: "68", - Name: i18n.NewString("End-of-range discount"), - }, - { - Code: "70", - Name: i18n.NewString("Incoterm discount"), - }, - { - Code: "71", - Name: i18n.NewString("Point of sales threshold allowance"), - }, - { - Code: "88", - Name: i18n.NewString("Material surcharge/deduction"), - }, - { - Code: "95", - Name: i18n.NewString("Discount"), - }, - { - Code: "100", - Name: i18n.NewString("Special rebate"), - }, - { - Code: "102", - Name: i18n.NewString("Fixed long term"), - }, - { - Code: "103", - Name: i18n.NewString("Temporary"), - }, - { - Code: "104", - Name: i18n.NewString("Standard"), - }, - { - Code: "105", - Name: i18n.NewString("Yearly turnover"), - }, - }, -} diff --git a/catalogues/untdid/charge.go b/catalogues/untdid/charge.go deleted file mode 100644 index 3ead2a06..00000000 --- a/catalogues/untdid/charge.go +++ /dev/null @@ -1,753 +0,0 @@ -package untdid - -import ( - "github.com/invopop/gobl/cbc" - "github.com/invopop/gobl/i18n" - "github.com/invopop/gobl/pkg/here" -) - -const ( - // ExtKeyCharge is used to identify the UNTDID 7161 charge codes. - ExtKeyCharge cbc.Key = "untdid-charge" -) - -var extCharge = &cbc.Definition{ - Key: ExtKeyCharge, - Name: i18n.NewString("UNTDID 7161 Charge"), - Desc: i18n.String{ - i18n.EN: here.Doc(` - UNTDID 7161 code used to describe the charge. List is based on the - EN16931 code lists with extensions for taxes and duties. - `), - }, - Values: []*cbc.Definition{ - { - Code: "AA", - Name: i18n.NewString("Advertising"), - }, - { - Code: "AAA", - Name: i18n.NewString("Telecommunication"), - }, - { - Code: "AAC", - Name: i18n.NewString("Technical modification"), - }, - { - Code: "AAD", - Name: i18n.NewString("Job-order production"), - }, - { - Code: "AAE", - Name: i18n.NewString("Outlays"), - }, - { - Code: "AAF", - Name: i18n.NewString("Off-premises"), - }, - { - Code: "AAH", - Name: i18n.NewString("Additional processing"), - }, - { - Code: "AAI", - Name: i18n.NewString("Attesting"), - }, - { - Code: "AAS", - Name: i18n.NewString("Acceptance"), - }, - { - Code: "AAT", - Name: i18n.NewString("Rush delivery"), - }, - { - Code: "AAV", - Name: i18n.NewString("Special construction"), - }, - { - Code: "AAY", - Name: i18n.NewString("Airport facilities"), - }, - { - Code: "AAZ", - Name: i18n.NewString("Concession"), - }, - { - Code: "ABA", - Name: i18n.NewString("Compulsory storage"), - }, - { - Code: "ABB", - Name: i18n.NewString("Fuel removal"), - }, - { - Code: "ABC", - Name: i18n.NewString("Into plane"), - }, - { - Code: "ABD", - Name: i18n.NewString("Overtime"), - }, - { - Code: "ABF", - Name: i18n.NewString("Tooling"), - }, - { - Code: "ABK", - Name: i18n.NewString("Miscellaneous"), - }, - { - Code: "ABL", - Name: i18n.NewString("Additional packaging"), - }, - { - Code: "ABN", - Name: i18n.NewString("Dunnage"), - }, - { - Code: "ABR", - Name: i18n.NewString("Containerisation"), - }, - { - Code: "ABS", - Name: i18n.NewString("Carton packing"), - }, - { - Code: "ABT", - Name: i18n.NewString("Hessian wrapped"), - }, - { - Code: "ABU", - Name: i18n.NewString("Polyethylene wrap packing"), - }, - { - Code: "ABW", // not in EN16931 - Name: i18n.NewString("Customs duty charge"), - }, - { - Code: "ACF", - Name: i18n.NewString("Miscellaneous treatment"), - }, - { - Code: "ACG", - Name: i18n.NewString("Enamelling treatment"), - }, - { - Code: "ACH", - Name: i18n.NewString("Heat treatment"), - }, - { - Code: "ACI", - Name: i18n.NewString("Plating treatment"), - }, - { - Code: "ACJ", - Name: i18n.NewString("Painting"), - }, - { - Code: "ACK", - Name: i18n.NewString("Polishing"), - }, - { - Code: "ACL", - Name: i18n.NewString("Priming"), - }, - { - Code: "ACM", - Name: i18n.NewString("Preservation treatment"), - }, - { - Code: "ACS", - Name: i18n.NewString("Fitting"), - }, - { - Code: "ADC", - Name: i18n.NewString("Consolidation"), - }, - { - Code: "ADE", - Name: i18n.NewString("Bill of lading"), - }, - { - Code: "ADJ", - Name: i18n.NewString("Airbag"), - }, - { - Code: "ADK", - Name: i18n.NewString("Transfer"), - }, - { - Code: "ADL", - Name: i18n.NewString("Slipsheet"), - }, - { - Code: "ADM", - Name: i18n.NewString("Binding"), - }, - { - Code: "ADN", - Name: i18n.NewString("Repair or replacement of broken returnable package"), - }, - { - Code: "ADO", - Name: i18n.NewString("Efficient logistics"), - }, - { - Code: "ADP", - Name: i18n.NewString("Merchandising"), - }, - { - Code: "ADQ", - Name: i18n.NewString("Product mix"), - }, - { - Code: "ADR", - Name: i18n.NewString("Other services"), - }, - { - Code: "ADT", - Name: i18n.NewString("Pick-up"), - }, - { - Code: "ADW", - Name: i18n.NewString("Chronic illness"), - }, - { - Code: "ADY", - Name: i18n.NewString("New product introduction"), - }, - { - Code: "ADZ", - Name: i18n.NewString("Direct delivery"), - }, - { - Code: "AEA", - Name: i18n.NewString("Diversion"), - }, - { - Code: "AEB", - Name: i18n.NewString("Disconnect"), - }, - { - Code: "AEC", - Name: i18n.NewString("Distribution"), - }, - { - Code: "AED", - Name: i18n.NewString("Handling of hazardous cargo"), - }, - { - Code: "AEF", - Name: i18n.NewString("Rents and leases"), - }, - { - Code: "AEH", - Name: i18n.NewString("Location differential"), - }, - { - Code: "AEI", - Name: i18n.NewString("Aircraft refueling"), - }, - { - Code: "AEJ", - Name: i18n.NewString("Fuel shipped into storage"), - }, - { - Code: "AEK", - Name: i18n.NewString("Cash on delivery"), - }, - { - Code: "AEL", - Name: i18n.NewString("Small order processing service"), - }, - { - Code: "AEM", - Name: i18n.NewString("Clerical or administrative services"), - }, - { - Code: "AEN", - Name: i18n.NewString("Guarantee"), - }, - { - Code: "AEO", - Name: i18n.NewString("Collection and recycling"), - }, - { - Code: "AEP", - Name: i18n.NewString("Copyright fee collection"), - }, - { - Code: "AES", - Name: i18n.NewString("Veterinary inspection service"), - }, - { - Code: "AET", - Name: i18n.NewString("Pensioner service"), - }, - { - Code: "AEU", - Name: i18n.NewString("Medicine free pass holder"), - }, - { - Code: "AEV", - Name: i18n.NewString("Environmental protection service"), - }, - { - Code: "AEW", - Name: i18n.NewString("Environmental clean-up service"), - }, - { - Code: "AEX", - Name: i18n.NewString("National cheque processing service outside account area"), - }, - { - Code: "AEY", - Name: i18n.NewString("National payment service outside account area"), - }, - { - Code: "AEZ", - Name: i18n.NewString("National payment service within account area"), - }, - { - Code: "AJ", - Name: i18n.NewString("Adjustments"), - }, - { - Code: "AU", - Name: i18n.NewString("Authentication"), - }, - { - Code: "CA", - Name: i18n.NewString("Cataloguing"), - }, - { - Code: "CAB", - Name: i18n.NewString("Cartage"), - }, - { - Code: "CAD", - Name: i18n.NewString("Certification"), - }, - { - Code: "CAE", - Name: i18n.NewString("Certificate of conformance"), - }, - { - Code: "CAF", - Name: i18n.NewString("Certificate of origin"), - }, - { - Code: "CAI", - Name: i18n.NewString("Cutting"), - }, - { - Code: "CAJ", - Name: i18n.NewString("Consular service"), - }, - { - Code: "CAK", - Name: i18n.NewString("Customer collection"), - }, - { - Code: "CAL", - Name: i18n.NewString("Payroll payment service"), - }, - { - Code: "CAM", - Name: i18n.NewString("Cash transportation"), - }, - { - Code: "CAN", - Name: i18n.NewString("Home banking service"), - }, - { - Code: "CAO", - Name: i18n.NewString("Bilateral agreement service"), - }, - { - Code: "CAP", - Name: i18n.NewString("Insurance brokerage service"), - }, - { - Code: "CAQ", - Name: i18n.NewString("Cheque generation"), - }, - { - Code: "CAR", - Name: i18n.NewString("Preferential merchandising location"), - }, - { - Code: "CAS", - Name: i18n.NewString("Crane"), - }, - { - Code: "CAT", - Name: i18n.NewString("Special colour service"), - }, - { - Code: "CAU", - Name: i18n.NewString("Sorting"), - }, - { - Code: "CAV", - Name: i18n.NewString("Battery collection and recycling"), - }, - { - Code: "CAW", - Name: i18n.NewString("Product take back fee"), - }, - { - Code: "CAX", - Name: i18n.NewString("Quality control released"), - }, - { - Code: "CAY", - Name: i18n.NewString("Quality control held"), - }, - { - Code: "CAZ", - Name: i18n.NewString("Quality control embargo"), - }, - { - Code: "CD", - Name: i18n.NewString("Car loading"), - }, - { - Code: "CG", - Name: i18n.NewString("Cleaning"), - }, - { - Code: "CS", - Name: i18n.NewString("Cigarette stamping"), - }, - { - Code: "CT", - Name: i18n.NewString("Count and recount"), - }, - { - Code: "DAB", - Name: i18n.NewString("Layout/design"), - }, - { - Code: "DAC", - Name: i18n.NewString("Assortment allowance"), - }, - { - Code: "DAD", - Name: i18n.NewString("Driver assigned unloading"), - }, - { - Code: "DAF", - Name: i18n.NewString("Debtor bound"), - }, - { - Code: "DAG", - Name: i18n.NewString("Dealer allowance"), - }, - { - Code: "DAH", - Name: i18n.NewString("Allowance transferable to the consumer"), - }, - { - Code: "DAI", - Name: i18n.NewString("Growth of business"), - }, - { - Code: "DAJ", - Name: i18n.NewString("Introduction allowance"), - }, - { - Code: "DAK", - Name: i18n.NewString("Multi-buy promotion"), - }, - { - Code: "DAL", - Name: i18n.NewString("Partnership"), - }, - { - Code: "DAM", - Name: i18n.NewString("Return handling"), - }, - { - Code: "DAN", - Name: i18n.NewString("Minimum order not fulfilled charge"), - }, - { - Code: "DAO", - Name: i18n.NewString("Point of sales threshold allowance"), - }, - { - Code: "DAP", - Name: i18n.NewString("Wholesaling discount"), - }, - { - Code: "DAQ", - Name: i18n.NewString("Documentary credits transfer commission"), - }, - { - Code: "DL", - Name: i18n.NewString("Delivery"), - }, - { - Code: "EG", - Name: i18n.NewString("Engraving"), - }, - { - Code: "EP", - Name: i18n.NewString("Expediting"), - }, - { - Code: "ER", - Name: i18n.NewString("Exchange rate guarantee"), - }, - { - Code: "FAA", - Name: i18n.NewString("Fabrication"), - }, - { - Code: "FAB", - Name: i18n.NewString("Freight equalization"), - }, - { - Code: "FAC", - Name: i18n.NewString("Freight extraordinary handling"), - }, - { - Code: "FC", - Name: i18n.NewString("Freight service"), - }, - { - Code: "FH", - Name: i18n.NewString("Filling/handling"), - }, - { - Code: "FI", - Name: i18n.NewString("Financing"), - }, - { - Code: "GAA", - Name: i18n.NewString("Grinding"), - }, - { - Code: "HAA", - Name: i18n.NewString("Hose"), - }, - { - Code: "HD", - Name: i18n.NewString("Handling"), - }, - { - Code: "HH", - Name: i18n.NewString("Hoisting and hauling"), - }, - { - Code: "IAA", - Name: i18n.NewString("Installation"), - }, - { - Code: "IAB", - Name: i18n.NewString("Installation and warranty"), - }, - { - Code: "ID", - Name: i18n.NewString("Inside delivery"), - }, - { - Code: "IF", - Name: i18n.NewString("Inspection"), - }, - { - Code: "IN", // not in EN16931 - Name: i18n.NewString("Insurance"), - }, - { - Code: "IR", - Name: i18n.NewString("Installation and training"), - }, - { - Code: "IS", - Name: i18n.NewString("Invoicing"), - }, - { - Code: "KO", - Name: i18n.NewString("Koshering"), - }, - { - Code: "L1", - Name: i18n.NewString("Carrier count"), - }, - { - Code: "LA", - Name: i18n.NewString("Labelling"), - }, - { - Code: "LAA", - Name: i18n.NewString("Labour"), - }, - { - Code: "LAB", - Name: i18n.NewString("Repair and return"), - }, - { - Code: "LF", - Name: i18n.NewString("Legalisation"), - }, - { - Code: "MAE", - Name: i18n.NewString("Mounting"), - }, - { - Code: "MI", - Name: i18n.NewString("Mail invoice"), - }, - { - Code: "ML", - Name: i18n.NewString("Mail invoice to each location"), - }, - { - Code: "NAA", - Name: i18n.NewString("Non-returnable containers"), - }, - { - Code: "OA", - Name: i18n.NewString("Outside cable connectors"), - }, - { - Code: "PA", - Name: i18n.NewString("Invoice with shipment"), - }, - { - Code: "PAA", - Name: i18n.NewString("Phosphatizing (steel treatment)"), - }, - { - Code: "PC", - Name: i18n.NewString("Packing"), - }, - { - Code: "PL", - Name: i18n.NewString("Palletizing"), - }, - { - Code: "PRV", - Name: i18n.NewString("Price variation"), - }, - { - Code: "RAB", - Name: i18n.NewString("Repacking"), - }, - { - Code: "RAC", - Name: i18n.NewString("Repair"), - }, - { - Code: "RAD", - Name: i18n.NewString("Returnable container"), - }, - { - Code: "RAF", - Name: i18n.NewString("Restocking"), - }, - { - Code: "RE", - Name: i18n.NewString("Re-delivery"), - }, - { - Code: "RF", - Name: i18n.NewString("Refurbishing"), - }, - { - Code: "RH", - Name: i18n.NewString("Rail wagon hire"), - }, - { - Code: "RV", - Name: i18n.NewString("Loading"), - }, - { - Code: "SA", - Name: i18n.NewString("Salvaging"), - }, - { - Code: "SAA", - Name: i18n.NewString("Shipping and handling"), - }, - { - Code: "SAD", - Name: i18n.NewString("Special packaging"), - }, - { - Code: "SAE", - Name: i18n.NewString("Stamping"), - }, - { - Code: "SAI", - Name: i18n.NewString("Consignee unload"), - }, - { - Code: "SG", - Name: i18n.NewString("Shrink-wrap"), - }, - { - Code: "SH", - Name: i18n.NewString("Special handling"), - }, - { - Code: "SM", - Name: i18n.NewString("Special finish"), - }, - { - Code: "ST", // not in EN16931 - Name: i18n.NewString("Stamp duties"), - }, - { - Code: "SU", - Name: i18n.NewString("Set-up"), - }, - { - Code: "TAB", - Name: i18n.NewString("Tank renting"), - }, - { - Code: "TAC", - Name: i18n.NewString("Testing"), - }, - { - Code: "TT", - Name: i18n.NewString("Transportation - third party billing"), - }, - { - Code: "TV", - Name: i18n.NewString("Transportation by vendor"), - }, - { - Code: "TX", // not in EN16931 - Name: i18n.NewString("Tax"), - }, - { - Code: "V1", - Name: i18n.NewString("Drop yard"), - }, - { - Code: "V2", - Name: i18n.NewString("Drop dock"), - }, - { - Code: "WH", - Name: i18n.NewString("Warehousing"), - }, - { - Code: "XAA", - Name: i18n.NewString("Combine all same day shipment"), - }, - { - Code: "YY", - Name: i18n.NewString("Split pick-up"), - }, - { - Code: "ZZZ", - Name: i18n.NewString("Mutually defined"), - }, - }, -} diff --git a/catalogues/untdid/document_type.go b/catalogues/untdid/document_type.go deleted file mode 100644 index ec680bd0..00000000 --- a/catalogues/untdid/document_type.go +++ /dev/null @@ -1,246 +0,0 @@ -package untdid - -import ( - "github.com/invopop/gobl/cbc" - "github.com/invopop/gobl/i18n" - "github.com/invopop/gobl/pkg/here" -) - -const ( - // ExtKeyDocumentType is used to identify the UNTDID 1001 document type code. - ExtKeyDocumentType cbc.Key = "untdid-document-type" -) - -var extDocumentTypes = &cbc.Definition{ - Key: ExtKeyDocumentType, - Name: i18n.String{ - i18n.EN: "UNTDID 1001 Document Type", - }, - Desc: i18n.String{ - i18n.EN: here.Doc(` - UNTDID 1001 code used to describe the type of document. Ths list is based - on the [EN16931 code list](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931#RegistryofsupportingartefactstoimplementEN16931-Codelists) - values table which focusses on invoices and payments. - - Other tax regimes and addons may use their own subset of codes. - `), - }, - Values: []*cbc.Definition{ - { - Code: "71", - Name: i18n.NewString("Request for payment"), - }, - { - Code: "80", - Name: i18n.NewString("Debit note related to goods or services"), - }, - { - Code: "81", - Name: i18n.NewString("Credit note related to goods or services"), - }, - { - Code: "82", - Name: i18n.NewString("Metered services invoice"), - }, - { - Code: "83", - Name: i18n.NewString("Credit note related to financial adjustments"), - }, - { - Code: "84", - Name: i18n.NewString("Debit note related to financial adjustments"), - }, - { - Code: "102", - Name: i18n.NewString("Tax notification"), - }, - { - Code: "130", - Name: i18n.NewString("Invoicing data sheet"), - }, - { - Code: "202", - Name: i18n.NewString("Direct payment valuation"), - }, - { - Code: "203", - Name: i18n.NewString("Provisional payment valuation"), - }, - { - Code: "204", - Name: i18n.NewString("Payment valuation"), - }, - { - Code: "211", - Name: i18n.NewString("Interim application for payment"), - }, - { - Code: "218", - Name: i18n.NewString("Final payment request based on completion of work"), - }, - { - Code: "219", - Name: i18n.NewString("Payment request for completed units"), - }, - { - Code: "261", - Name: i18n.NewString("Self billed credit note"), - }, - { - Code: "262", - Name: i18n.NewString("Consolidated credit note - goods and services"), - }, - { - Code: "295", - Name: i18n.NewString("Price variation invoice"), - }, - { - Code: "296", - Name: i18n.NewString("Credit note for price variation"), - }, - { - Code: "308", - Name: i18n.NewString("Delcredere credit note"), - }, - { - Code: "325", - Name: i18n.NewString("Proforma invoice"), - }, - { - Code: "326", - Name: i18n.NewString("Partial invoice"), - }, - { - Code: "380", - Name: i18n.NewString("Standard Invoice"), - }, - { - Code: "381", - Name: i18n.NewString("Credit note"), - }, - { - Code: "382", - Name: i18n.NewString("Commission note"), - }, - { - Code: "383", - Name: i18n.NewString("Debit note"), - }, - { - Code: "384", - Name: i18n.NewString("Corrected invoice"), - }, - { - Code: "385", - Name: i18n.NewString("Consolidated invoice"), - }, - { - Code: "386", - Name: i18n.NewString("Prepayment invoice"), - }, - { - Code: "387", - Name: i18n.NewString("Hire invoice"), - }, - { - Code: "388", - Name: i18n.NewString("Tax invoice"), - }, - { - Code: "389", - Name: i18n.NewString("Self-billed invoice"), - }, - { - Code: "390", - Name: i18n.NewString("Delcredere invoice"), - }, - { - Code: "393", - Name: i18n.NewString("Factored invoice"), - }, - { - Code: "394", - Name: i18n.NewString("Lease invoice"), - }, - { - Code: "395", - Name: i18n.NewString("Consignment invoice"), - }, - { - Code: "396", - Name: i18n.NewString("Factored credit note"), - }, - { - Code: "420", - Name: i18n.NewString("Optical Character Reading (OCR) payment credit note"), - }, - { - Code: "456", - Name: i18n.NewString("Debit advice"), - }, - { - Code: "457", - Name: i18n.NewString("Reversal of debit"), - }, - { - Code: "458", - Name: i18n.NewString("Reversal of credit"), - }, - { - Code: "527", - Name: i18n.NewString("Self billed debit note"), - }, - { - Code: "532", - Name: i18n.NewString("Forwarder's credit note"), - }, - { - Code: "553", - Name: i18n.NewString("Forwarder's invoice discrepancy report"), - }, - { - Code: "575", - Name: i18n.NewString("Insurer's invoice"), - }, - { - Code: "623", - Name: i18n.NewString("Forwarder's invoice"), - }, - { - Code: "633", - Name: i18n.NewString("Port charges documents"), - }, - { - Code: "751", - Name: i18n.NewString("Invoice information for accounting purposes"), - }, - { - Code: "780", - Name: i18n.NewString("Freight invoice"), - }, - { - Code: "817", - Name: i18n.NewString("Claim notification"), - }, - { - Code: "870", - Name: i18n.NewString("Consular invoice"), - }, - { - Code: "875", - Name: i18n.NewString("Partial construction invoice"), - }, - { - Code: "876", - Name: i18n.NewString("Partial final construction invoice"), - }, - { - Code: "877", - Name: i18n.NewString("Final construction invoice"), - }, - { - Code: "935", - Name: i18n.NewString("Customs invoice"), - }, - }, -} diff --git a/catalogues/untdid/payment_means.go b/catalogues/untdid/payment_means.go deleted file mode 100644 index 41d9a907..00000000 --- a/catalogues/untdid/payment_means.go +++ /dev/null @@ -1,364 +0,0 @@ -package untdid - -import ( - "github.com/invopop/gobl/cbc" - "github.com/invopop/gobl/i18n" - "github.com/invopop/gobl/pkg/here" -) - -const ( - // ExtKeyPaymentMeans is used to identify the UNTDID 4461 payment means code. - ExtKeyPaymentMeans cbc.Key = "untdid-payment-means" -) - -var extPaymentMeans = &cbc.Definition{ - Key: ExtKeyPaymentMeans, - Name: i18n.String{ - i18n.EN: "UNTDID 4461 Payment Means", - }, - Desc: i18n.String{ - i18n.EN: here.Doc(` - UNTDID 4461 code used to describe the means of payment. This list is based on the - [EN16931 code list](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931#RegistryofsupportingartefactstoimplementEN16931-Codelists) - values table which focusses on invoices and payments. - `), - }, - Values: []*cbc.Definition{ - { - Code: "1", - Name: i18n.NewString("Instrument not defined"), - }, - { - Code: "2", - Name: i18n.NewString("Automated clearing house credit"), - }, - { - Code: "3", - Name: i18n.NewString("Automated clearing house debit"), - }, - { - Code: "4", - Name: i18n.NewString("ACH demand debit reversal"), - }, - { - Code: "5", - Name: i18n.NewString("ACH demand credit reversal"), - }, - { - Code: "6", - Name: i18n.NewString("ACH demand credit"), - }, - { - Code: "7", - Name: i18n.NewString("ACH demand debit"), - }, - { - Code: "8", - Name: i18n.NewString("Hold"), - }, - { - Code: "9", - Name: i18n.NewString("National or regional clearing"), - }, - { - Code: "10", - Name: i18n.NewString("In cash"), - }, - { - Code: "11", - Name: i18n.NewString("ACH savings credit reversal"), - }, - { - Code: "12", - Name: i18n.NewString("ACH savings debit reversal"), - }, - { - Code: "13", - Name: i18n.NewString("ACH savings credit"), - }, - { - Code: "14", - Name: i18n.NewString("ACH savings debit"), - }, - { - Code: "15", - Name: i18n.NewString("Bookentry credit"), - }, - { - Code: "16", - Name: i18n.NewString("Bookentry debit"), - }, - { - Code: "17", - Name: i18n.NewString("ACH demand cash concentration/disbursement (CCD) credit"), - }, - { - Code: "18", - Name: i18n.NewString("ACH demand cash concentration/disbursement (CCD) debit"), - }, - { - Code: "19", - Name: i18n.NewString("ACH demand corporate trade payment (CTP) credit"), - }, - { - Code: "20", - Name: i18n.NewString("Cheque"), - }, - { - Code: "21", - Name: i18n.NewString("Banker's draft"), - }, - { - Code: "22", - Name: i18n.NewString("Certified banker's draft"), - }, - { - Code: "23", - Name: i18n.NewString("Bank cheque (issued by a banking or similar establishment)"), - }, - { - Code: "24", - Name: i18n.NewString("Bill of exchange awaiting acceptance"), - }, - { - Code: "25", - Name: i18n.NewString("Certified cheque"), - }, - { - Code: "26", - Name: i18n.NewString("Local cheque"), - }, - { - Code: "27", - Name: i18n.NewString("ACH demand corporate trade payment (CTP) debit"), - }, - { - Code: "28", - Name: i18n.NewString("ACH demand corporate trade exchange (CTX) credit"), - }, - { - Code: "29", - Name: i18n.NewString("ACH demand corporate trade exchange (CTX) debit"), - }, - { - Code: "30", - Name: i18n.NewString("Credit transfer"), - }, - { - Code: "31", - Name: i18n.NewString("Debit transfer"), - }, - { - Code: "32", - Name: i18n.NewString("ACH demand cash concentration/disbursement plus (CCD+)"), - }, - { - Code: "33", - Name: i18n.NewString("ACH demand cash concentration/disbursement plus (CCD+)"), - }, - { - Code: "34", - Name: i18n.NewString("ACH prearranged payment and deposit (PPD)"), - }, - { - Code: "35", - Name: i18n.NewString("ACH savings cash concentration/disbursement (CCD) credit"), - }, - { - Code: "36", - Name: i18n.NewString("ACH savings cash concentration/disbursement (CCD) debit"), - }, - { - Code: "37", - Name: i18n.NewString("ACH savings corporate trade payment (CTP) credit"), - }, - { - Code: "38", - Name: i18n.NewString("ACH savings corporate trade payment (CTP) debit"), - }, - { - Code: "39", - Name: i18n.NewString("ACH savings corporate trade exchange (CTX) credit"), - }, - { - Code: "40", - Name: i18n.NewString("ACH savings corporate trade exchange (CTX) debit"), - }, - { - Code: "41", - Name: i18n.NewString("ACH savings cash concentration/disbursement plus (CCD+)"), - }, - { - Code: "42", - Name: i18n.NewString("Payment to bank account"), - }, - { - Code: "43", - Name: i18n.NewString("ACH savings cash concentration/disbursement plus (CCD+)"), - }, - { - Code: "44", - Name: i18n.NewString("Accepted bill of exchange"), - }, - { - Code: "45", - Name: i18n.NewString("Referenced home-banking credit transfer"), - }, - { - Code: "46", - Name: i18n.NewString("Interbank debit transfer"), - }, - { - Code: "47", - Name: i18n.NewString("Home-banking debit transfer"), - }, - { - Code: "48", - Name: i18n.NewString("Bank card"), - }, - { - Code: "49", - Name: i18n.NewString("Direct debit"), - }, - { - Code: "50", - Name: i18n.NewString("Payment by postgiro"), - }, - { - Code: "51", - Name: i18n.NewString("FR, norme 6 97-Telereglement CFONB (French Organisation for"), - }, - { - Code: "52", - Name: i18n.NewString("Urgent commercial payment"), - }, - { - Code: "53", - Name: i18n.NewString("Urgent Treasury Payment"), - }, - { - Code: "54", - Name: i18n.NewString("Credit card"), - }, - { - Code: "55", - Name: i18n.NewString("Debit card"), - }, - { - Code: "56", - Name: i18n.NewString("Bankgiro"), - }, - { - Code: "57", - Name: i18n.NewString("Standing agreement"), - }, - { - Code: "58", - Name: i18n.NewString("SEPA credit transfer"), - }, - { - Code: "59", - Name: i18n.NewString("SEPA direct debit"), - }, - { - Code: "60", - Name: i18n.NewString("Promissory note"), - }, - { - Code: "61", - Name: i18n.NewString("Promissory note signed by the debtor"), - }, - { - Code: "62", - Name: i18n.NewString("Promissory note signed by the debtor and endorsed by a bank"), - }, - { - Code: "63", - Name: i18n.NewString("Promissory note signed by the debtor and endorsed by a"), - }, - { - Code: "64", - Name: i18n.NewString("Promissory note signed by a bank"), - }, - { - Code: "65", - Name: i18n.NewString("Promissory note signed by a bank and endorsed by another"), - }, - { - Code: "66", - Name: i18n.NewString("Promissory note signed by a third party"), - }, - { - Code: "67", - Name: i18n.NewString("Promissory note signed by a third party and endorsed by a"), - }, - { - Code: "68", - Name: i18n.NewString("Online payment service"), - }, - { - Code: "69", - Name: i18n.NewString("Transfer Advice"), - }, - { - Code: "70", - Name: i18n.NewString("Bill drawn by the creditor on the debtor"), - }, - { - Code: "74", - Name: i18n.NewString("Bill drawn by the creditor on a bank"), - }, - { - Code: "75", - Name: i18n.NewString("Bill drawn by the creditor, endorsed by another bank"), - }, - { - Code: "76", - Name: i18n.NewString("Bill drawn by the creditor on a bank and endorsed by a"), - }, - { - Code: "77", - Name: i18n.NewString("Bill drawn by the creditor on a third party"), - }, - { - Code: "78", - Name: i18n.NewString("Bill drawn by creditor on third party, accepted and"), - }, - { - Code: "91", - Name: i18n.NewString("Not transferable banker's draft"), - }, - { - Code: "92", - Name: i18n.NewString("Not transferable local cheque"), - }, - { - Code: "93", - Name: i18n.NewString("Reference giro"), - }, - { - Code: "94", - Name: i18n.NewString("Urgent giro"), - }, - { - Code: "95", - Name: i18n.NewString("Free format giro"), - }, - { - Code: "96", - Name: i18n.NewString("Requested method for payment was not used"), - }, - { - Code: "97", - Name: i18n.NewString("Clearing between partners"), - }, - { - Code: "98", - Name: i18n.NewString("JP, Electronically Recorded Monetary Claims"), - }, - { - Code: "ZZZ", - Name: i18n.NewString("Mutually defined"), - }, - }, -} diff --git a/catalogues/untdid/tax_category.go b/catalogues/untdid/tax_category.go deleted file mode 100644 index f432f640..00000000 --- a/catalogues/untdid/tax_category.go +++ /dev/null @@ -1,156 +0,0 @@ -package untdid - -import ( - "github.com/invopop/gobl/cbc" - "github.com/invopop/gobl/i18n" - "github.com/invopop/gobl/pkg/here" -) - -const ( - // ExtKeyTaxCategory is used to identify the UNTDID 5305 duty/tax/fee category code. - ExtKeyTaxCategory cbc.Key = "untdid-tax-category" -) - -var extTaxCategory = &cbc.Definition{ - Key: ExtKeyTaxCategory, - Name: i18n.String{ - i18n.EN: "UNTDID 3505 Tax Category", - }, - Desc: i18n.String{ - i18n.EN: here.Doc(` - UNTDID 5305 code used to describe the applicable duty/tax/fee category. There are - multiple versions and subsets of this table so regimes and addons may need to filter - options for a specific subset of values. - - Data from https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5305.htm. - `), - }, - Values: []*cbc.Definition{ - { - Code: "A", - Name: i18n.String{ - i18n.EN: "Mixed tax rate", - }, - }, - { - Code: "AA", - Name: i18n.String{ - i18n.EN: "Lower rate", - }, - }, - { - Code: "AB", - Name: i18n.String{ - i18n.EN: "Exempt for resale", - }, - }, - { - Code: "AC", - Name: i18n.String{ - i18n.EN: "Exempt for resale", - }, - }, - { - Code: "AD", - Name: i18n.String{ - i18n.EN: "Value Added Tax (VAT) due from a previous invoice", - }, - }, - { - Code: "AE", - Name: i18n.String{ - i18n.EN: "VAT Reverse Charge", - }, - }, - { - Code: "B", - Name: i18n.String{ - i18n.EN: "Transferred (VAT)", - }, - }, - { - Code: "C", - Name: i18n.String{ - i18n.EN: "Duty paid by supplier", - }, - }, - { - Code: "D", - Name: i18n.String{ - i18n.EN: "Value Added Tax (VAT) margin scheme - travel agents", - }, - }, - { - Code: "E", - Name: i18n.String{ - i18n.EN: "Exempt from tax", - }, - }, - { - Code: "F", - Name: i18n.String{ - i18n.EN: "Value Added Tax (VAT) margin scheme - second-hand goods", - }, - }, - { - Code: "G", - Name: i18n.String{ - i18n.EN: "Free export item, tax not charged", - }, - }, - { - Code: "H", - Name: i18n.String{ - i18n.EN: "Higher rate", - }, - }, - { - Code: "I", - Name: i18n.String{ - i18n.EN: "Value Added Tax (VAT) margin scheme - works of art", - }, - }, - { - Code: "J", - Name: i18n.String{ - i18n.EN: "Value Added Tax (VAT) margin scheme - collector's items and antiques", - }, - }, - { - Code: "K", - Name: i18n.String{ - i18n.EN: "VAT exempt for EEA intra-community supply of goods and services", - }, - }, - { - Code: "L", - Name: i18n.String{ - i18n.EN: "Canary Islands general indirect tax", - }, - }, - { - Code: "M", - Name: i18n.String{ - i18n.EN: "Tax for production, services and importation in Ceuta and Melilla", - }, - }, - { - Code: "O", - Name: i18n.String{ - i18n.EN: "Services outside scope of tax", - }, - }, - { - Code: "S", - Name: i18n.String{ - i18n.EN: "Standard Rate", - }, - }, - { - Code: "Z", - Name: i18n.String{ - i18n.EN: "Zero rated goods", - }, - }, - }, -} diff --git a/catalogues/untdid/untdid.go b/catalogues/untdid/untdid.go index 537eea76..b9c90c5b 100644 --- a/catalogues/untdid/untdid.go +++ b/catalogues/untdid/untdid.go @@ -3,24 +3,34 @@ package untdid import ( "github.com/invopop/gobl/cbc" - "github.com/invopop/gobl/i18n" "github.com/invopop/gobl/tax" ) func init() { - tax.RegisterCatalogueDef(newCatalogue()) + tax.RegisterCatalogueDef("untdid.json") } -func newCatalogue() *tax.CatalogueDef { - return &tax.CatalogueDef{ - Key: "untdid", - Name: i18n.NewString("UN/EDIFACT Data Elements"), - Extensions: []*cbc.Definition{ - extDocumentTypes, // 1001 - extPaymentMeans, // 4461 - extAllowance, // 5189 - extTaxCategory, // 5305 - extCharge, // 7161 - }, - } -} +const ( + // ExtKeyDocumentType is used to identify the UNTDID 1001 document type code. + ExtKeyDocumentType cbc.Key = "untdid-document-type" + + // ExtKeyReference is used to identify the UNTDID 1153 reference codes + // qualifiers. + ExtKeyReference cbc.Key = "untdid-reference" + + // ExtKeyPaymentMeans is used to identify the UNTDID 4461 payment means code. + ExtKeyPaymentMeans cbc.Key = "untdid-payment-means" + + // ExtKeyAllowance is used to identify the UNTDID 5189 allownce codes + // used in discounts. + ExtKeyAllowance cbc.Key = "untdid-allowance" + + // ExtKeyTaxCategory is used to identify the UNTDID 5305 duty/tax/fee category code. + ExtKeyTaxCategory cbc.Key = "untdid-tax-category" + + // ExtKeyItemType is used to identify the UNTDID 7143 item type code. + ExtKeyItemType cbc.Key = "untdid-item-type" + + // ExtKeyCharge is used to identify the UNTDID 7161 charge codes. + ExtKeyCharge cbc.Key = "untdid-charge" +) diff --git a/catalogues/untdid/untdid_test.go b/catalogues/untdid/untdid_test.go index 6b415558..e0532790 100644 --- a/catalogues/untdid/untdid_test.go +++ b/catalogues/untdid/untdid_test.go @@ -11,4 +11,10 @@ import ( func TestInit(t *testing.T) { ext := tax.ExtensionForKey("untdid-tax-category") assert.NotNil(t, ext) + + ext = tax.ExtensionForKey("untdid-charge") + ed := ext.CodeDef("AAS") + assert.NotNil(t, ed) + assert.Equal(t, "AAS", ed.Code.String()) + assert.Equal(t, "Acceptance", ed.Name.String()) } diff --git a/cbc/definition.go b/cbc/definition.go index 46c2197f..8a3c1ae2 100644 --- a/cbc/definition.go +++ b/cbc/definition.go @@ -11,9 +11,9 @@ import ( // utility. type Definition struct { // Key being defined. - Key Key `json:"key" jsonschema:"title=Key"` + Key Key `json:"key,omitempty" jsonschema:"title=Key"` // Code this definition represents. - Code Code `json:"code" jsonschema:"title=Code"` + Code Code `json:"code,omitempty" jsonschema:"title=Code"` // Short name for the key. Name i18n.String `json:"name" jsonschema:"title=Name"` diff --git a/cmd/gobl/keygen.go b/cmd/gobl/keygen.go index 35bcfd5b..ad9f89f9 100644 --- a/cmd/gobl/keygen.go +++ b/cmd/gobl/keygen.go @@ -99,8 +99,8 @@ func (k *keygenOpts) runE(cmd *cobra.Command, args []string) error { return err } if outfile == "-" { - fmt.Fprintln(cmd.OutOrStdout(), string(priv)) - return nil + _, err := fmt.Fprintln(cmd.OutOrStdout(), string(priv)) + return err } if err = writeKey(outfile, priv, 0o600, k.overwrite); err != nil { return err @@ -137,13 +137,13 @@ func writeKey(filename string, key []byte, mode os.FileMode, force bool) error { return safeRename(tmp.Name(), filename, force) } -func safeRename(old, new string, force bool) error { +func safeRename(old, in string, force bool) error { if force { - return os.Rename(old, new) + return os.Rename(old, in) } - err := os.Link(old, new) + err := os.Link(old, in) if err != nil { - return fmt.Errorf("target %q exists", new) + return fmt.Errorf("target %q exists", in) } return os.Remove(old) } diff --git a/data/addons/br-nfse-v1.json b/data/addons/br-nfse-v1.json index 6d9ad191..ad52f8fb 100644 --- a/data/addons/br-nfse-v1.json +++ b/data/addons/br-nfse-v1.json @@ -27,14 +27,14 @@ }, "values": [ { - "value": "1", + "code": "1", "name": { "en": "Has incentive", "pt": "Possui incentivo" } }, { - "value": "2", + "code": "2", "name": { "en": "Does not have incentive", "pt": "Não possui incentivo" @@ -53,49 +53,49 @@ }, "values": [ { - "value": "1", + "code": "1", "name": { "en": "Liable", "pt": "Exigível" } }, { - "value": "2", + "code": "2", "name": { "en": "Not subject", "pt": "Não incidência" } }, { - "value": "3", + "code": "3", "name": { "en": "Exempt", "pt": "Isenção" } }, { - "value": "4", + "code": "4", "name": { "en": "Export", "pt": "Exportação" } }, { - "value": "5", + "code": "5", "name": { "en": "Immune", "pt": "Imunidade" } }, { - "value": "6", + "code": "6", "name": { "en": "Suspended Judicially", "pt": "Suspensa por Decisão Judicial" } }, { - "value": "7", + "code": "7", "name": { "en": "Suspended Administratively", "pt": "Suspensa por Processo Administrativo" @@ -135,14 +135,14 @@ }, "values": [ { - "value": "1", + "code": "1", "name": { "en": "Opt-in", "pt": "Optante" } }, { - "value": "2", + "code": "2", "name": { "en": "Opt-out", "pt": "Não optante" @@ -161,42 +161,42 @@ }, "values": [ { - "value": "1", + "code": "1", "name": { "en": "Municipal micro-enterprise", "pt": "Microempresa municipal" } }, { - "value": "2", + "code": "2", "name": { "en": "Estimated", "pt": "Estimativa" } }, { - "value": "3", + "code": "3", "name": { "en": "Professional Society", "pt": "Sociedade de profissionais" } }, { - "value": "4", + "code": "4", "name": { "en": "Cooperative", "pt": "Cooperativa" } }, { - "value": "5", + "code": "5", "name": { "en": "Single micro-entrepreneur (MEI)", "pt": "Microempreendedor individual (MEI)" } }, { - "value": "6", + "code": "6", "name": { "en": "Micro-enterprise or Small Business (ME EPP)", "pt": "Microempresa ou Empresa de Pequeno Porte (ME EPP)." diff --git a/data/addons/co-dian-v2.json b/data/addons/co-dian-v2.json index a5db931e..2ffa78ca 100644 --- a/data/addons/co-dian-v2.json +++ b/data/addons/co-dian-v2.json @@ -31,7 +31,7 @@ }, "values": [ { - "value": "1", + "code": "1", "name": { "en": "Partial refund", "es": "Devolución parcial" @@ -42,7 +42,7 @@ } }, { - "value": "2", + "code": "2", "name": { "en": "Revoked", "es": "Anulación" @@ -53,7 +53,7 @@ } }, { - "value": "3", + "code": "3", "name": { "en": "Discount", "es": "Descuento" @@ -64,7 +64,7 @@ } }, { - "value": "4", + "code": "4", "name": { "en": "Adjustment", "es": "Ajuste" @@ -75,7 +75,7 @@ } }, { - "value": "5", + "code": "5", "name": { "en": "Other", "es": "Otros" @@ -95,28 +95,28 @@ }, "values": [ { - "value": "1", + "code": "1", "name": { "en": "Interest", "es": "Intereses" } }, { - "value": "2", + "code": "2", "name": { "en": "Pending charges", "es": "Gastos por cobrar" } }, { - "value": "3", + "code": "3", "name": { "en": "Change in value", "es": "Cambio del valor" } }, { - "value": "4", + "code": "4", "name": { "en": "Other", "es": "Otros" diff --git a/data/addons/es-facturae-v3.json b/data/addons/es-facturae-v3.json index 864f3c1b..48087434 100644 --- a/data/addons/es-facturae-v3.json +++ b/data/addons/es-facturae-v3.json @@ -13,21 +13,21 @@ }, "values": [ { - "value": "FC", + "code": "FC", "name": { "en": "Commercial Invoice", "es": "Factura Comercial" } }, { - "value": "FA", + "code": "FA", "name": { "en": "Simplified Invoice", "es": "Factura Simplificada" } }, { - "value": "AF", + "code": "AF", "name": { "en": "Self-billed Invoice", "es": "Auto-Factura" @@ -43,42 +43,42 @@ }, "values": [ { - "value": "OO", + "code": "OO", "name": { "en": "Original", "es": "Original" } }, { - "value": "OR", + "code": "OR", "name": { "en": "Corrective Original", "es": "Original Rectificativa" } }, { - "value": "OC", + "code": "OC", "name": { "en": "Summary Original", "es": "Original Recapitulativa" } }, { - "value": "CO", + "code": "CO", "name": { "en": "Copy of the Original", "es": "Duplicado Original" } }, { - "value": "CR", + "code": "CR", "name": { "en": "Copy of the Corrective", "es": "Duplicado Rectificativa" } }, { - "value": "CC", + "code": "CC", "name": { "en": "Copy of the Summary", "es": "Duplicado Recapitulativa" @@ -98,154 +98,154 @@ }, "values": [ { - "value": "01", + "code": "01", "name": { "en": "Invoice code", "es": "Número de la factura" } }, { - "value": "02", + "code": "02", "name": { "en": "Invoice series", "es": "Serie de la factura" } }, { - "value": "03", + "code": "03", "name": { "en": "Issue date", "es": "Fecha expedición" } }, { - "value": "04", + "code": "04", "name": { "en": "Name and surnames/Corporate name - Issuer (Sender)", "es": "Nombre y apellidos/Razón Social-Emisor" } }, { - "value": "05", + "code": "05", "name": { "en": "Name and surnames/Corporate name - Receiver", "es": "Nombre y apellidos/Razón Social-Receptor" } }, { - "value": "06", + "code": "06", "name": { "en": "Issuer's Tax Identification Number", "es": "Identificación fiscal Emisor/obligado" } }, { - "value": "07", + "code": "07", "name": { "en": "Receiver's Tax Identification Number", "es": "Identificación fiscal Receptor" } }, { - "value": "08", + "code": "08", "name": { "en": "Supplier's address", "es": "Domicilio Emisor/Obligado" } }, { - "value": "09", + "code": "09", "name": { "en": "Customer's address", "es": "Domicilio Receptor" } }, { - "value": "10", + "code": "10", "name": { "en": "Item line", "es": "Detalle Operación" } }, { - "value": "11", + "code": "11", "name": { "en": "Applicable Tax Rate", "es": "Porcentaje impositivo a aplicar" } }, { - "value": "12", + "code": "12", "name": { "en": "Applicable Tax Amount", "es": "Cuota tributaria a aplicar" } }, { - "value": "13", + "code": "13", "name": { "en": "Applicable Date/Period", "es": "Fecha/Periodo a aplicar" } }, { - "value": "14", + "code": "14", "name": { "en": "Invoice Class", "es": "Clase de factura" } }, { - "value": "15", + "code": "15", "name": { "en": "Legal literals", "es": "Literales legales" } }, { - "value": "16", + "code": "16", "name": { "en": "Taxable Base", "es": "Base imponible" } }, { - "value": "80", + "code": "80", "name": { "en": "Calculation of tax outputs", "es": "Cálculo de cuotas repercutidas" } }, { - "value": "81", + "code": "81", "name": { "en": "Calculation of tax inputs", "es": "Cálculo de cuotas retenidas" } }, { - "value": "82", + "code": "82", "name": { "en": "Taxable Base modified due to return of packages and packaging materials", "es": "Base imponible modificada por devolución de envases / embalajes" } }, { - "value": "83", + "code": "83", "name": { "en": "Taxable Base modified due to discounts and rebates", "es": "Base imponible modificada por descuentos y bonificaciones" } }, { - "value": "84", + "code": "84", "name": { "en": "Taxable Base modified due to firm court ruling or administrative decision", "es": "Base imponible modificada por resolución firme, judicial o administrativa" } }, { - "value": "85", + "code": "85", "name": { "en": "Taxable Base modified due to unpaid outputs where there is a judgement opening insolvency proceedings", "es": "Base imponible modificada cuotas repercutidas no satisfechas. Auto de declaración de concurso" diff --git a/data/addons/es-tbai-v1.json b/data/addons/es-tbai-v1.json index 57c66685..b379bf6d 100644 --- a/data/addons/es-tbai-v1.json +++ b/data/addons/es-tbai-v1.json @@ -16,21 +16,21 @@ }, "values": [ { - "value": "VI", + "code": "VI", "name": { "en": "Araba", "es": "Álava" } }, { - "value": "BI", + "code": "BI", "name": { "en": "Bizkaia", "es": "Vizcaya" } }, { - "value": "SS", + "code": "SS", "name": { "en": "Gipuzkoa", "es": "Guipúzcoa" @@ -49,21 +49,21 @@ }, "values": [ { - "value": "goods", + "code": "goods", "name": { "en": "Delivery of goods", "es": "Entrega de bienes" } }, { - "value": "services", + "code": "services", "name": { "en": "Provision of services", "es": "Prestacion de servicios" } }, { - "value": "resale", + "code": "resale", "name": { "en": "Resale of goods without modification by vendor in the simplified regime", "es": "Reventa de bienes sin modificación por vendedor en regimen simplificado" @@ -82,77 +82,77 @@ }, "values": [ { - "value": "E1", + "code": "E1", "name": { "en": "Exempt: pursuant to Article 20 of the Foral VAT Law", "es": "Exenta: por el artículo 20 de la Norma Foral del IVA" } }, { - "value": "E2", + "code": "E2", "name": { "en": "Exempt: pursuant to Article 21 of the Foral VAT Law", "es": "Exenta: por el artículo 21 de la Norma Foral del IVA" } }, { - "value": "E3", + "code": "E3", "name": { "en": "Exempt: pursuant to Article 22 of the Foral VAT Law", "es": "Exenta: por el artículo 22 de la Norma Foral del IVA" } }, { - "value": "E4", + "code": "E4", "name": { "en": "Exempt: pursuant to Articles 23 and 24 of the Foral VAT Law", "es": "Exenta: por el artículos 23 y 24 de la Norma Foral del IVA" } }, { - "value": "E5", + "code": "E5", "name": { "en": "Exempt: pursuant to Article 25 of the Foral VAT law", "es": "Exenta: por el artículo 25 de la Norma Foral del IVA" } }, { - "value": "E6", + "code": "E6", "name": { "en": "Exempt: pursuant to other reasons", "es": "Exenta: por otra causa" } }, { - "value": "OT", + "code": "OT", "name": { "en": "Not subject: pursuant to Article 7 of the VAT Law - other cases of non-subject", "es": "No sujeto: por el artículo 7 de la Ley del IVA - otros supuestos de no sujeción" } }, { - "value": "RL", + "code": "RL", "name": { "en": "Not subject: pursuant to localization rules", "es": "No sujeto: por reglas de localización" } }, { - "value": "VT", + "code": "VT", "name": { "en": "Not subject: sales made on behalf of third parties (amount not computable for VAT or IRPF purposes)", "es": "No sujeto: ventas realizadas por cuenta de terceros (importe no computable a efectos de IVA ni de IRPF)" } }, { - "value": "IE", + "code": "IE", "name": { "en": "Not subject in the TAI due to localization rules, but foreign tax, IPS/IGIC or VAT from another EU member state is passed on", "es": "No sujeto en el TAI por reglas de localización, pero repercute impuesto extranjero, IPS/IGIC o IVA de otro estado miembro UE" } }, { - "value": "S2", + "code": "S2", "name": { "en": "Subject and not exempt: with reverse charge", "es": "Sujeto y no exenta: con inversión del sujeto pasivo" @@ -171,7 +171,7 @@ }, "values": [ { - "value": "R1", + "code": "R1", "name": { "en": "Rectified invoice: error based on law and Article 80 One, Two and Six of the Provincial Tax Law of VAT", "es": "Factura rectificativa: error fundado en derecho y Art. 80 Uno, Dos y Seis de la Norma Foral del IVA", @@ -179,7 +179,7 @@ } }, { - "value": "R2", + "code": "R2", "name": { "en": "Rectified invoice: error based on law and Article 80 Three of the Provincial Tax Law of VAT", "es": "Factura rectificativa: artículo 80 Tres de la Norma Foral del IVA", @@ -187,7 +187,7 @@ } }, { - "value": "R3", + "code": "R3", "name": { "en": "Rectified invoice: error based on law and Article 80 Four of the Provincial Tax Law of VAT", "es": "Factura rectificativa: artículo 80 Cuatro de la Norma Foral del IVA", @@ -195,7 +195,7 @@ } }, { - "value": "R4", + "code": "R4", "name": { "en": "Rectified invoice: Other", "es": "Factura rectificativa: Resto", @@ -203,7 +203,7 @@ } }, { - "value": "R5", + "code": "R5", "name": { "en": "Rectified invoice: simplified invoices", "es": "Factura rectificativa: facturas simplificadas", diff --git a/data/addons/es-verifactu-v1.json b/data/addons/es-verifactu-v1.json index ff004412..c9f6ce74 100644 --- a/data/addons/es-verifactu-v1.json +++ b/data/addons/es-verifactu-v1.json @@ -16,56 +16,56 @@ }, "values": [ { - "value": "F1", + "code": "F1", "name": { "en": "Invoice (Article 6, 7.2 and 7.3 of RD 1619/2012)", "es": "Factura (Art. 6, 7.2 y 7.3 del RD 1619/2012)" } }, { - "value": "F2", + "code": "F2", "name": { "en": "Simplified invoice (Article 6.1.d) of RD 1619/2012)", "es": "Factura Simplificada (Art. 6.1.d) del RD 1619/2012)" } }, { - "value": "F3", + "code": "F3", "name": { "en": "Invoice issued as a replacement for simplified invoices that have been billed and declared.", "es": "Factura emitida en sustitución de facturas simplificadas facturadas y declaradas." } }, { - "value": "R1", + "code": "R1", "name": { "en": "Rectified invoice: error based on law and Article 80 One, Two and Six LIVA", "es": "Factura rectificativa: error fundado en derecho y Art. 80 Uno, Dos y Seis LIVA" } }, { - "value": "R2", + "code": "R2", "name": { "en": "Rectified invoice: error based on law and Article 80.3", "es": "Factura rectificativa: artículo 80.3" } }, { - "value": "R3", + "code": "R3", "name": { "en": "Rectified invoice: error based on law and Article 80.4", "es": "Factura rectificativa: artículo 80.4" } }, { - "value": "R4", + "code": "R4", "name": { "en": "Rectified invoice: Other", "es": "Factura rectificativa: Resto" } }, { - "value": "R5", + "code": "R5", "name": { "en": "Rectified invoice: simplified invoices", "es": "Factura rectificativa: facturas simplificadas" @@ -84,14 +84,14 @@ }, "values": [ { - "value": "S", + "code": "S", "name": { "en": "Substitution", "es": "Por Sustitución" } }, { - "value": "I", + "code": "I", "name": { "en": "Differences", "es": "Por Diferencias" @@ -110,28 +110,28 @@ }, "values": [ { - "value": "S1", + "code": "S1", "name": { "en": "Subject and Not Exempt - Without reverse charge", "es": "Operación Sujeta y No exenta - Sin inversión del sujeto pasivo" } }, { - "value": "S2", + "code": "S2", "name": { "en": "Subject and Not Exempt - With reverse charge", "es": "Operación Sujeta y No exenta - Con Inversión del sujeto pasivo" } }, { - "value": "N1", + "code": "N1", "name": { "en": "Not Subject - Articles 7, 14, others", "es": "Operación No Sujeta artículo 7, 14, otros" } }, { - "value": "N2", + "code": "N2", "name": { "en": "Not Subject - Due to location rules", "es": "Operación No Sujeta por Reglas de localización" @@ -150,42 +150,42 @@ }, "values": [ { - "value": "E1", + "code": "E1", "name": { "en": "Exempt: pursuant to Article 20. Exemptions in internal operations.", "es": "Exenta: por el artículo 20. Exenciones en operaciones interiores." } }, { - "value": "E2", + "code": "E2", "name": { "en": "Exempt: pursuant to Article 21. Exemptions in exports of goods.", "es": "Exenta: por el artículo 21. Exenciones en las exportaciones de bienes." } }, { - "value": "E3", + "code": "E3", "name": { "en": "Exempt: pursuant to Article 22. Exemptions in operations asimilated to exports.", "es": "Exenta: por el artículo 22. Exenciones en las operaciones asimiladas a las exportaciones." } }, { - "value": "E4", + "code": "E4", "name": { "en": "Exempt: pursuant to Articles 23 and 24. Exemptions related to temporary deposit, customs and fiscal regimes, and other situations.", "es": "Exenta: por el artículos 23 y 24. Exenciones relativas a las situaciones de depósito temporal, regímenes aduaneros y fiscales, y otras situaciones." } }, { - "value": "E5", + "code": "E5", "name": { "en": "Exempt: pursuant to Article 25. Exemptions in the delivery of goods destined to another Member State.", "es": "Exenta: por el artículo 25. Exenciones en las entregas de bienes destinados a otro Estado miembro." } }, { - "value": "E6", + "code": "E6", "name": { "en": "Exempt: pursuant to other reasons", "es": "Exenta: por otra causa" @@ -204,119 +204,119 @@ }, "values": [ { - "value": "01", + "code": "01", "name": { "en": "General regime operation", "es": "Operación de régimen general" } }, { - "value": "02", + "code": "02", "name": { "en": "Export", "es": "Exportación" } }, { - "value": "03", + "code": "03", "name": { "en": "Special regime for used goods, art objects, antiques and collectibles", "es": "Operaciones a las que se aplique el régimen especial de bienes usados, objetos de arte, antigüedades y objetos de colección" } }, { - "value": "04", + "code": "04", "name": { "en": "Special regime for investment gold", "es": "Régimen especial del oro de inversión" } }, { - "value": "05", + "code": "05", "name": { "en": "Special regime for travel agencies", "es": "Régimen especial de las agencias de viajes" } }, { - "value": "06", + "code": "06", "name": { "en": "Special regime for VAT/IGIC groups (Advanced Level)", "es": "Régimen especial grupo de entidades en IVA/IGIC (Nivel Avanzado)" } }, { - "value": "07", + "code": "07", "name": { "en": "Special cash accounting regime", "es": "Régimen especial del criterio de caja" } }, { - "value": "08", + "code": "08", "name": { "en": "Operations subject to a different regime", "es": "Operaciones sujetas a un régimen diferente" } }, { - "value": "09", + "code": "09", "name": { "en": "Billing of travel agency services acting as mediators in name and on behalf of others", "es": "Facturación de las prestaciones de servicios de agencias de viaje que actúan como mediadoras en nombre y por cuenta ajena" } }, { - "value": "10", + "code": "10", "name": { "en": "Collection of professional fees or rights on behalf of third parties", "es": "Cobros por cuenta de terceros de honorarios profesionales o de derechos derivados de la propiedad industrial" } }, { - "value": "11", + "code": "11", "name": { "en": "Business premises rental operations", "es": "Operaciones de arrendamiento de local de negocio" } }, { - "value": "14", + "code": "14", "name": { "en": "Invoice with pending VAT/IGIC accrual in work certifications for Public Administration", "es": "Factura con IVA/IGIC pendiente de devengo en certificaciones de obra cuyo destinatario sea una Administración Pública" } }, { - "value": "15", + "code": "15", "name": { "en": "Invoice with pending VAT/IGIC accrual in successive tract operations", "es": "Factura con IVA/IGIC pendiente de devengo en operaciones de tracto sucesivo" } }, { - "value": "17", + "code": "17", "name": { "en": "Operation under OSS and IOSS regimes (VAT) / Special regime for retail traders. (IGIC)", "es": "Operación acogida a alguno de los regímenes previstos en el capítulo XI del título IX (OSS e IOSS, IVA) / Régimen especial de comerciante minorista. (IGIC)" } }, { - "value": "18", + "code": "18", "name": { "en": "Equivalence surcharge (VAT) / Special regime for small traders or retailers (IGIC)", "es": "Recargo de equivalencia (IVA) / Régimen especial del pequeño comerciante o minorista (IGIC)" } }, { - "value": "19", + "code": "19", "name": { "en": "Operations included in the Special Regime for Agriculture, Livestock and Fisheries", "es": "Operaciones de actividades incluidas en el Régimen Especial de Agricultura, Ganadería y Pesca (REAGYP)" } }, { - "value": "20", + "code": "20", "name": { "en": "Simplified regime (VAT only)", "es": "Régimen simplificado (IVA only)" diff --git a/data/addons/gr-mydata-v1.json b/data/addons/gr-mydata-v1.json index fa50a3f3..5283e67f 100644 --- a/data/addons/gr-mydata-v1.json +++ b/data/addons/gr-mydata-v1.json @@ -13,56 +13,56 @@ }, "values": [ { - "value": "1", + "code": "1", "name": { "el": "Κανονικός συντελεστής", "en": "Standard rate" } }, { - "value": "2", + "code": "2", "name": { "el": "Μειωμένος συντελεστής", "en": "Reduced rate" } }, { - "value": "3", + "code": "3", "name": { "el": "Υπερμειωμένος συντελεστής", "en": "Super-Reduced Rate" } }, { - "value": "4", + "code": "4", "name": { "el": "Κανονικός συντελεστής (Νησί)", "en": "Standard rate (Island)" } }, { - "value": "5", + "code": "5", "name": { "el": "Μειωμένος συντελεστής (Νησί)", "en": "Reduced rate (Island)" } }, { - "value": "6", + "code": "6", "name": { "el": "Υπερμειωμένος συντελεστής (Νησί)", "en": "Super-reduced rate (Island)" } }, { - "value": "7", + "code": "7", "name": { "el": "Άνευ ΦΠΑ", "en": "Without VAT" } }, { - "value": "8", + "code": "8", "name": { "el": "Εγγραφές χωρίς ΦΠΑ (πχ Μισθοδοσία, Αποσβέσεις)", "en": "Records without VAT (e.g. Payroll, Amortisations)" @@ -78,315 +78,315 @@ }, "values": [ { - "value": "1.1", + "code": "1.1", "name": { "el": "Τιμολόγιο Πώλησης", "en": "Sales Invoice" } }, { - "value": "1.2", + "code": "1.2", "name": { "el": "Τιμολόγιο Πώλησης/Ενδοκοινοτικές Παραδόσεις", "en": "Sales Invoice/Intra-community Supplies" } }, { - "value": "1.3", + "code": "1.3", "name": { "el": "Τιμολόγιο Πώλησης/Παραδόσεις Τρίτων Χωρών", "en": "Sales Invoice/Third Country Supplies" } }, { - "value": "1.4", + "code": "1.4", "name": { "el": "Τιμολόγιο Πώλησης/Πώληση για Λογαριασμό Τρίτων", "en": "Sales Invoice/Sale on Behalf of Third Parties" } }, { - "value": "1.5", + "code": "1.5", "name": { "el": "Τιμολόγιο Πώλησης/Εκκαθάριση Πωλήσεων Τρίτων - Αμοιβή από Πωλήσεις Τρίτων", "en": "Sales Invoice/Clearance of Sales on Behalf of Third Parties – Fees from Sales on Behalf of Third Parties" } }, { - "value": "1.6", + "code": "1.6", "name": { "el": "Τιμολόγιο Πώλησης/Συμπληρωματικό Παραστατικό", "en": "Sales Invoice/Supplemental Accounting Source Document" } }, { - "value": "2.1", + "code": "2.1", "name": { "el": "Τιμολόγιο Παροχής Υπηρεσιών", "en": "Service Rendered Invoice" } }, { - "value": "2.2", + "code": "2.2", "name": { "el": "Τιμολόγιο Παροχής/Ενδοκοινοτική Παροχή Υπηρεσιών", "en": "Intra-community Service Rendered Invoice" } }, { - "value": "2.3", + "code": "2.3", "name": { "el": "Τιμολόγιο Παροχής/Παροχή Υπηρεσιών σε λήπτη Τρίτης Χώρας", "en": "Third Country Service Rendered Invoice" } }, { - "value": "2.4", + "code": "2.4", "name": { "el": "Τιμολόγιο Παροχής/Συμπληρωματικό Παραστατικό", "en": "Service Rendered Invoice/Supplemental Accounting Source Document" } }, { - "value": "3.1", + "code": "3.1", "name": { "el": "Τίτλος Κτήσης (μη υπόχρεος Εκδότης)", "en": "Proof of Expenditure (non-liable Issuer)" } }, { - "value": "3.2", + "code": "3.2", "name": { "el": "Τίτλος Κτήσης (άρνηση έκδοσης από υπόχρεο Εκδότη)", "en": "Proof of Expenditure (denial of issuance by liable Issuer)" } }, { - "value": "5.1", + "code": "5.1", "name": { "el": "Πιστωτικό Τιμολόγιο/Συσχετιζόμενο", "en": "Credit Invoice/Associated" } }, { - "value": "5.2", + "code": "5.2", "name": { "el": "Πιστωτικό Τιμολόγιο/Μη Συσχετιζόμενο", "en": "Credit Invoice/Non-Associated" } }, { - "value": "6.1", + "code": "6.1", "name": { "el": "Στοιχείο Αυτοπαράδοσης", "en": "Self-Delivery Record" } }, { - "value": "6.2", + "code": "6.2", "name": { "el": "Στοιχείο Ιδιοχρησιμοποίησης", "en": "Self-Supply Record" } }, { - "value": "7.1", + "code": "7.1", "name": { "el": "Συμβόλαιο - Έσοδο", "en": "Contract – Income" } }, { - "value": "8.1", + "code": "8.1", "name": { "el": "Ενοίκια - Έσοδο", "en": "Rents – Income" } }, { - "value": "8.2", + "code": "8.2", "name": { "el": "Ειδικό Στοιχείο – Απόδειξης Είσπραξης Φόρου Διαμονής", "en": "Special Record – Accommodation Tax Collection/Payment Receipt" } }, { - "value": "11.1", + "code": "11.1", "name": { "el": "ΑΛΠ", "en": "Retail Sales Receipt" } }, { - "value": "11.2", + "code": "11.2", "name": { "el": "ΑΠΥ", "en": "Service Rendered Receipt" } }, { - "value": "11.3", + "code": "11.3", "name": { "el": "Απλοποιημένο Τιμολόγιο", "en": "Simplified Invoice" } }, { - "value": "11.4", + "code": "11.4", "name": { "el": "Πιστωτικό Στοιχ. Λιανικής", "en": "Retail Sales Credit Note" } }, { - "value": "11.5", + "code": "11.5", "name": { "el": "Απόδειξη Λιανικής Πώλησης για Λογ/σμό Τρίτων", "en": "Retail Sales Receipt on Behalf of Third Parties" } }, { - "value": "13.1", + "code": "13.1", "name": { "el": "Έξοδα - Αγορές Λιανικών Συναλλαγών ημεδαπής / αλλοδαπής", "en": "Expenses – Domestic/Foreign Retail Transaction Purchases" } }, { - "value": "13.2", + "code": "13.2", "name": { "el": "Παροχή Λιανικών Συναλλαγών ημεδαπής / αλλοδαπής", "en": "Domestic/Foreign Retail Transaction Provision" } }, { - "value": "13.3", + "code": "13.3", "name": { "el": "Κοινόχρηστα", "en": "Shared Utility Bills" } }, { - "value": "13.4", + "code": "13.4", "name": { "el": "Συνδρομές", "en": "Subscriptions" } }, { - "value": "13.30", + "code": "13.30", "name": { "el": "Παραστατικά Οντότητας ως Αναγράφονται από την ίδια (Δυναμικό)", "en": "Self-Declared Entity Accounting Source Documents (Dynamic)" } }, { - "value": "13.31", + "code": "13.31", "name": { "el": "Πιστωτικό Στοιχ. Λιανικής ημεδαπής / αλλοδαπής", "en": "Domestic/Foreign Retail Sales Credit Note" } }, { - "value": "14.1", + "code": "14.1", "name": { "el": "Τιμολόγιο / Ενδοκοινοτικές Αποκτήσεις", "en": "Invoice/Intra-community Acquisitions" } }, { - "value": "14.2", + "code": "14.2", "name": { "el": "Τιμολόγιο / Αποκτήσεις Τρίτων Χωρών", "en": "Invoice/Third Country Acquisitions" } }, { - "value": "14.3", + "code": "14.3", "name": { "el": "Τιμολόγιο / Ενδοκοινοτική Λήψη Υπηρεσιών", "en": "Invoice/Intra-community Services Receipt" } }, { - "value": "14.4", + "code": "14.4", "name": { "el": "Τιμολόγιο / Λήψη Υπηρεσιών Τρίτων Χωρών", "en": "Invoice/Third Country Services Receipt" } }, { - "value": "14.5", + "code": "14.5", "name": { "el": "ΕΦΚΑ και λοιποί Ασφαλιστικοί Οργανισμοί", "en": "EFKA" } }, { - "value": "14.30", + "code": "14.30", "name": { "el": "Παραστατικά Οντότητας ως Αναγράφονται από την ίδια (Δυναμικό)", "en": "Self-Declared Entity Accounting Source Documents (Dynamic)" } }, { - "value": "14.31", + "code": "14.31", "name": { "el": "Πιστωτικό ημεδαπής / αλλοδαπής", "en": "Domestic/Foreign Credit Note" } }, { - "value": "15.1", + "code": "15.1", "name": { "el": "Συμβόλαιο - Έξοδο", "en": "Contract-Expense" } }, { - "value": "16.1", + "code": "16.1", "name": { "el": "Ενοίκιο Έξοδο", "en": "Rent-Expense" } }, { - "value": "17.1", + "code": "17.1", "name": { "el": "Μισθοδοσία", "en": "Payroll" } }, { - "value": "17.2", + "code": "17.2", "name": { "el": "Αποσβέσεις", "en": "Amortisations" } }, { - "value": "17.3", + "code": "17.3", "name": { "el": "Λοιπές Εγγραφές Τακτοποίησης Εσόδων - Λογιστική Βάση", "en": "Other Income Adjustment/Regularisation Entries – Accounting Base" } }, { - "value": "17.4", + "code": "17.4", "name": { "el": "Λοιπές Εγγραφές Τακτοποίησης Εσόδων - Φορολογική Βάση", "en": "Other Income Adjustment/Regularisation Entries – Tax Base" } }, { - "value": "17.5", + "code": "17.5", "name": { "el": "Λοιπές Εγγραφές Τακτοποίησης Εξόδων - Λογιστική Βάση", "en": "Other Expense Adjustment/Regularisation Entries – Accounting Base" } }, { - "value": "17.6", + "code": "17.6", "name": { "el": "Λοιπές Εγγραφές Τακτοποίησης Εξόδων - Φορολογική Βάση", "en": "Other Expense Adjustment/Regularisation Entries – Tax Base" @@ -402,49 +402,49 @@ }, "values": [ { - "value": "1", + "code": "1", "name": { "el": "Επαγ. Λογαριασμός Πληρωμών Ημεδαπής", "en": "Domestic Payments Account Number" } }, { - "value": "2", + "code": "2", "name": { "el": "Επαγ. Λογαριασμός Πληρωμών Αλλοδαπής", "en": "Foreign Payments Account Number" } }, { - "value": "3", + "code": "3", "name": { "el": "Μετρητά", "en": "Cash" } }, { - "value": "4", + "code": "4", "name": { "el": "Επιταγή", "en": "Check" } }, { - "value": "5", + "code": "5", "name": { "el": "Επί Πιστώσει", "en": "On credit" } }, { - "value": "6", + "code": "6", "name": { "el": "Web Banking", "en": "Web Banking" } }, { - "value": "7", + "code": "7", "name": { "el": "POS / e-POS", "en": "POS / e-POS" @@ -460,217 +460,217 @@ }, "values": [ { - "value": "1", + "code": "1", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 3 του Κώδικα ΦΠΑ", "en": "Without VAT - article 3 of the VAT code" } }, { - "value": "2", + "code": "2", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 5 του Κώδικα ΦΠΑ", "en": "Without VAT - article 5 of the VAT code" } }, { - "value": "3", + "code": "3", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 13 του Κώδικα ΦΠΑ", "en": "Without VAT - article 13 of the VAT code" } }, { - "value": "4", + "code": "4", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 14 του Κώδικα ΦΠΑ", "en": "Without VAT - article 14 of the VAT code" } }, { - "value": "5", + "code": "5", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 16 του Κώδικα ΦΠΑ", "en": "Without VAT - article 16 of the VAT code" } }, { - "value": "6", + "code": "6", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 19 του Κώδικα ΦΠΑ", "en": "Without VAT - article 19 of the VAT code" } }, { - "value": "7", + "code": "7", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 22 του Κώδικα ΦΠΑ", "en": "Without VAT - article 22 of the VAT code" } }, { - "value": "8", + "code": "8", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 24 του Κώδικα ΦΠΑ", "en": "Without VAT - article 24 of the VAT code" } }, { - "value": "9", + "code": "9", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 25 του Κώδικα ΦΠΑ", "en": "Without VAT - article 25 of the VAT code" } }, { - "value": "10", + "code": "10", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 26 του Κώδικα ΦΠΑ", "en": "Without VAT - article 26 of the VAT code" } }, { - "value": "11", + "code": "11", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 27 του Κώδικα ΦΠΑ", "en": "Without VAT - article 27 of the VAT code" } }, { - "value": "12", + "code": "12", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 27 - Πλοία Ανοικτής Θαλάσσης του Κώδικα ΦΠΑ", "en": "Without VAT - article 27 - Seagoing Vessels of the VAT code" } }, { - "value": "13", + "code": "13", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 27.1.γ - Πλοία Ανοικτής Θαλάσσης του Κώδικα ΦΠΑ", "en": "Without VAT - article 27.1.γ - Seagoing Vessels of the VAT code" } }, { - "value": "14", + "code": "14", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 28 του Κώδικα ΦΠΑ", "en": "Without VAT - article 28 of the VAT code" } }, { - "value": "15", + "code": "15", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 39 του Κώδικα ΦΠΑ", "en": "Without VAT - article 39 of the VAT code" } }, { - "value": "16", + "code": "16", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 39α του Κώδικα ΦΠΑ", "en": "Without VAT - article 39a of the VAT code" } }, { - "value": "17", + "code": "17", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 40 του Κώδικα ΦΠΑ", "en": "Without VAT - article 40 of the VAT code" } }, { - "value": "18", + "code": "18", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 41 του Κώδικα ΦΠΑ", "en": "Without VAT - article 41 of the VAT code" } }, { - "value": "19", + "code": "19", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 47 του Κώδικα ΦΠΑ", "en": "Without VAT - article 47 of the VAT code" } }, { - "value": "20", + "code": "20", "name": { "el": "ΦΠΑ εμπεριεχόμενος - άρθρο 43 του Κώδικα ΦΠΑ", "en": "VAT included - article 43 of the VAT code" } }, { - "value": "21", + "code": "21", "name": { "el": "ΦΠΑ εμπεριεχόμενος - άρθρο 44 του Κώδικα ΦΠΑ", "en": "VAT included - article 44 of the VAT code" } }, { - "value": "22", + "code": "22", "name": { "el": "ΦΠΑ εμπεριεχόμενος - άρθρο 45 του Κώδικα ΦΠΑ", "en": "VAT included - article 45 of the VAT code" } }, { - "value": "23", + "code": "23", "name": { "el": "ΦΠΑ εμπεριεχόμενος - άρθρο 46 του Κώδικα ΦΠΑ", "en": "VAT included - article 46 of the VAT code" } }, { - "value": "24", + "code": "24", "name": { "el": "Χωρίς ΦΠΑ - άρθρο 6 του Κώδικα ΦΠΑ", "en": "Without VAT - article 6 of the VAT code" } }, { - "value": "25", + "code": "25", "name": { "el": "Χωρίς ΦΠΑ - ΠΟΛ.1029/1995", "en": "Without VAT - ΠΟΛ.1029/1995" } }, { - "value": "26", + "code": "26", "name": { "el": "Χωρίς ΦΠΑ - ΠΟΛ.1167/2015", "en": "Without VAT - ΠΟΛ.1167/2015" } }, { - "value": "27", + "code": "27", "name": { "el": "Λοιπές Εξαιρέσεις ΦΠΑ", "en": "Without VAT - Other VAT exceptions" } }, { - "value": "28", + "code": "28", "name": { "el": "Χωρίς ΦΠΑ – άρθρο 24 περ. β' παρ.1 του Κώδικα ΦΠΑ, (Tax Free)", "en": "Without VAT - Article 24 (b) (1) of the VAT Code (Tax Free)" } }, { - "value": "29", + "code": "29", "name": { "el": "Χωρίς ΦΠΑ – άρθρο 47β, του Κώδικα ΦΠΑ (OSS μη ενωσιακό καθεστώς)", "en": "Without VAT - Article 47b of the VAT Code (OSS non-EU scheme)" } }, { - "value": "30", + "code": "30", "name": { "el": "Χωρίς ΦΠΑ – άρθρο 47γ, του Κώδικα ΦΠΑ (OSS ενωσιακό καθεστώς)", "en": "Without VAT - Article 47c of the VAT Code (OSS EU scheme)" } }, { - "value": "31", + "code": "31", "name": { "el": "Χωρίς ΦΠΑ – άρθρο 47δ του Κώδικα ΦΠΑ (IOSS)", "en": "Excluding VAT - Article 47d of the VAT Code (IOSS)" @@ -686,77 +686,77 @@ }, "values": [ { - "value": "category1_1", + "code": "category1_1", "name": { "el": "Έσοδα από Πώληση Εμπορευμάτων (+)/(-)", "en": "Commodity Sale Income (+)/(-)" } }, { - "value": "category1_2", + "code": "category1_2", "name": { "el": "Έσοδα από Πώληση Προϊόντων (+)/(-)", "en": "Product Sale Income (+)/(-)" } }, { - "value": "category1_3", + "code": "category1_3", "name": { "el": "Έσοδα από Παροχή Υπηρεσιών (+)/(-)", "en": "Provision of Services Income (+)/(-)" } }, { - "value": "category1_4", + "code": "category1_4", "name": { "el": "Έσοδα από Πώληση Παγίων (+)/(-)", "en": "Sale of Fixed Assets Income (+)/(-)" } }, { - "value": "category1_5", + "code": "category1_5", "name": { "el": "Λοιπά Έσοδα/ Κέρδη (+)/(-)", "en": "Other Income/Profits (+)/(-)" } }, { - "value": "category1_6", + "code": "category1_6", "name": { "el": "Αυτοπαραδόσεις / Ιδιοχρησιμοποιήσεις (+)/(-)", "en": "Self-Deliveries/Self-Supplies (+)/(-)" } }, { - "value": "category1_7", + "code": "category1_7", "name": { "el": "Έσοδα για λ/σμο τρίτων (+)/(-)", "en": "Income on behalf of Third Parties (+)/(-)" } }, { - "value": "category1_8", + "code": "category1_8", "name": { "el": "Έσοδα προηγούμενων χρήσεων (+)/ (-)", "en": "Past fiscal years income (+)/(-)" } }, { - "value": "category1_9", + "code": "category1_9", "name": { "el": "Έσοδα επομένων χρήσεων (+)/(-)", "en": "Future fiscal years income (+)/(-)" } }, { - "value": "category1_10", + "code": "category1_10", "name": { "el": "Λοιπές Εγγραφές Τακτοποίησης Εσόδων (+)/(-)", "en": "Other Income Adjustment/Regularisation Entries (+)/(-)" } }, { - "value": "category1_95", + "code": "category1_95", "name": { "el": "Λοιπά Πληροφοριακά Στοιχεία Εσόδων (+)/(-)", "en": "Other Income-related Information (+)/(-)" @@ -772,238 +772,238 @@ }, "values": [ { - "value": "E3_106", + "code": "E3_106", "name": { "el": "Ιδιοπαραγωγή παγίων - Αυτοπαραδόσεις - Καταστροφές αποθεμάτων/Εμπορεύματα", "en": "Self-Production of Fixed Assets – Self-Deliveries – Destroying inventory/Commodities" } }, { - "value": "E3_205", + "code": "E3_205", "name": { "el": "Ιδιοπαραγωγή παγίων - Αυτοπαραδόσεις - Καταστροφές αποθεμάτων/Πρώτες ύλες και λοιπά υλικά", "en": "Self-Production of Fixed Assets – Self-Deliveries – Destroying inventory/Raw and other materials" } }, { - "value": "E3_210", + "code": "E3_210", "name": { "el": "Ιδιοπαραγωγή παγίων - Αυτοπαραδόσεις - Καταστροφές αποθεμάτων/Προϊόντα και παραγωγή σε εξέλιξη", "en": "Self-Production of Fixed Assets – Self-Deliveries – Destroying inventory/Products and production in progress" } }, { - "value": "E3_305", + "code": "E3_305", "name": { "el": "Ιδιοπαραγωγή παγίων - Αυτοπαραδόσεις – Καταστροφές αποθεμάτων/Πρώτες ύλες και λοιπά υλικά", "en": "Self-Production of Fixed Assets – Self-Deliveries – Destroying inventory/Raw and other materials" } }, { - "value": "E3_310", + "code": "E3_310", "name": { "el": "Ιδιοπαραγωγή παγίων - Αυτοπαραδόσεις - Καταστροφές αποθεμάτων/Προϊόντα και παραγωγή σε εξέλιξη", "en": "Self-Production of Fixed Assets – Self-Deliveries – Destroying inventory/Products and production in progress" } }, { - "value": "E3_318", + "code": "E3_318", "name": { "el": "Ιδιοπαραγωγή παγίων - Αυτοπαραδόσεις - Καταστροφές αποθεμάτων/Έξοδα παραγωγής", "en": "Self-Production of Fixed Assets – Self-Deliveries – Destroying inventory/Production expenses" } }, { - "value": "E3_561_001", + "code": "E3_561_001", "name": { "el": "Πωλήσεις αγαθών και υπηρεσιών Χονδρικές - Επιτηδευματιών", "en": "Wholesale Sales of Goods and Services – for Traders" } }, { - "value": "E3_561_002", + "code": "E3_561_002", "name": { "el": "Πωλήσεις αγαθών και υπηρεσιών Χονδρικές βάσει άρθρου 39α παρ 5 του Κώδικα Φ.Π.Α. (Ν.2859/2000)", "en": "Wholesale Sales of Goods and Services pursuant to article 39a paragraph 5 of the VAT Code (Law 2859/2000)" } }, { - "value": "E3_561_003", + "code": "E3_561_003", "name": { "el": "Πωλήσεις αγαθών και υπηρεσιών Λιανικές - Ιδιωτική Πελατεία", "en": "Retail Sales of Goods and Services – Private Clientele" } }, { - "value": "E3_561_004", + "code": "E3_561_004", "name": { "el": "Πωλήσεις αγαθών και υπηρεσιών Λιανικές βάσει άρθρου 39α παρ 5 του Κώδικα Φ.Π.Α. (Ν.2859/2000)", "en": "Retail Sales of Goods and Services pursuant to article 39a paragraph 5 of the VAT Code (Law 2859/2000)" } }, { - "value": "E3_561_005", + "code": "E3_561_005", "name": { "el": "Πωλήσεις αγαθών και υπηρεσιών Εξωτερικού Ενδοκοινοτικές", "en": "Intra-Community Foreign Sales of Goods and Services" } }, { - "value": "E3_561_006", + "code": "E3_561_006", "name": { "el": "Πωλήσεις αγαθών και υπηρεσιών Εξωτερικού Τρίτες Χώρες", "en": "Third Country Foreign Sales of Goods and Services" } }, { - "value": "E3_561_007", + "code": "E3_561_007", "name": { "el": "Πωλήσεις αγαθών και υπηρεσιών Λοιπά", "en": "Other Sales of Goods and Services" } }, { - "value": "E3_562", + "code": "E3_562", "name": { "el": "Λοιπά συνήθη έσοδα", "en": "Other Ordinary Income" } }, { - "value": "E3_563", + "code": "E3_563", "name": { "el": "Πιστωτικοί τόκοι και συναφή έσοδα", "en": "Credit Interest and Related Income" } }, { - "value": "E3_564", + "code": "E3_564", "name": { "el": "Πιστωτικές συναλλαγματικές διαφορές", "en": "Credit Exchange Differences" } }, { - "value": "E3_565", + "code": "E3_565", "name": { "el": "Έσοδα συμμετοχών", "en": "Income from Participations" } }, { - "value": "E3_566", + "code": "E3_566", "name": { "el": "Κέρδη από διάθεση μη κυκλοφορούντων περιουσιακών στοιχείων", "en": "Profits from Disposing Non-Current Assets" } }, { - "value": "E3_567", + "code": "E3_567", "name": { "el": "Κέρδη από αναστροφή προβλέψεων και απομειώσεων", "en": "Profits from the Reversal of Provisions and Impairments" } }, { - "value": "E3_568", + "code": "E3_568", "name": { "el": "Κέρδη από επιμέτρηση στην εύλογη αξία", "en": "Profits from Measurement at Fair Value" } }, { - "value": "E3_570", + "code": "E3_570", "name": { "el": "Ασυνήθη έσοδα και κέρδη", "en": "Extraordinary income and profits" } }, { - "value": "E3_595", + "code": "E3_595", "name": { "el": "Έξοδα σε ιδιοπαραγωγή", "en": "Self-Production Expenses" } }, { - "value": "E3_596", + "code": "E3_596", "name": { "el": "Επιδοτήσεις - Επιχορηγήσεις", "en": "Subsidies - Grants" } }, { - "value": "E3_597", + "code": "E3_597", "name": { "el": "Επιδοτήσεις - Επιχορηγήσεις για επενδυτικούς σκοπούς - κάλυψη δαπανών", "en": "Subsidies – Grants for Investment Purposes – Expense Coverage" } }, { - "value": "E3_880_001", + "code": "E3_880_001", "name": { "el": "Πωλήσεις Παγίων Χονδρικές", "en": "Wholesale Sales of Fixed Assets" } }, { - "value": "E3_880_002", + "code": "E3_880_002", "name": { "el": "Πωλήσεις Παγίων Λιανικές", "en": "Retail Sales of Fixed Assets" } }, { - "value": "E3_880_003", + "code": "E3_880_003", "name": { "el": "Πωλήσεις Παγίων Εξωτερικού Ενδοκοινοτικές", "en": "Intra-Community Foreign Sales of Fixed Assets" } }, { - "value": "E3_880_004", + "code": "E3_880_004", "name": { "el": "Πωλήσεις Παγίων Εξωτερικού Τρίτες Χώρες", "en": "Third Country Foreign Sales of Fixed Assets" } }, { - "value": "E3_881_001", + "code": "E3_881_001", "name": { "el": "Πωλήσεις για λογ/σμο Τρίτων Χονδρικές", "en": "Wholesale Sales on behalf of Third Parties" } }, { - "value": "E3_881_002", + "code": "E3_881_002", "name": { "el": "Πωλήσεις για λογ/σμο Τρίτων Λιανικές", "en": "Retail Sales on behalf of Third Parties" } }, { - "value": "E3_881_003", + "code": "E3_881_003", "name": { "el": "Πωλήσεις για λογ/σμο Τρίτων Εξωτερικού Ενδοκοινοτικές", "en": "Intra-Community Foreign Sales on behalf of Third Parties" } }, { - "value": "E3_881_004", + "code": "E3_881_004", "name": { "el": "Πωλήσεις για λογ/σμο Τρίτων Εξωτερικού Τρίτες Χώρες", "en": "Third Country Foreign Sales on behalf of Third Parties" } }, { - "value": "E3_598_001", + "code": "E3_598_001", "name": { "el": "Πωλήσεις αγαθών που υπάγονται σε ΕΦΚ", "en": "Sales of goods belonging to excise duty" } }, { - "value": "E3_598_003", + "code": "E3_598_003", "name": { "el": "Πωλήσεις για λογαριασμό αγροτών μέσω αγροτικού συνεταιρισμού κ.λ.π.", "en": "Sales on behalf of farmers through an agricultural cooperative e.t.c." diff --git a/data/addons/it-sdi-v1.json b/data/addons/it-sdi-v1.json index a1ae25bb..633242fc 100644 --- a/data/addons/it-sdi-v1.json +++ b/data/addons/it-sdi-v1.json @@ -16,14 +16,14 @@ }, "values": [ { - "value": "FPA12", + "code": "FPA12", "name": { "en": "Public Administration", "it": "Pubblica Amministrazione" } }, { - "value": "FPR12", + "code": "FPR12", "name": { "en": "Private Parties (default)", "it": "Soggetti Privati (predefinito)" @@ -42,154 +42,154 @@ }, "values": [ { - "value": "TD01", + "code": "TD01", "name": { "en": "Regular Invoice", "it": "Fattura" } }, { - "value": "TD02", + "code": "TD02", "name": { "en": "Advance or down payment on invoice", "it": "Acconto / anticipo su fattura" } }, { - "value": "TD03", + "code": "TD03", "name": { "en": "Advance or down payment on freelance invoice", "it": "Acconto / anticipo su parcella" } }, { - "value": "TD04", + "code": "TD04", "name": { "en": "Credit Note", "it": "Nota di credito" } }, { - "value": "TD05", + "code": "TD05", "name": { "en": "Debit Note", "it": "Nota di debito" } }, { - "value": "TD06", + "code": "TD06", "name": { "en": "Freelancer invoice with retained taxes", "it": "Parcella" } }, { - "value": "TD07", + "code": "TD07", "name": { "en": "Simplified Invoice", "it": "Fattura Semplificata" } }, { - "value": "TD08", + "code": "TD08", "name": { "en": "Simplified Credit Note", "it": "Nota di credito semplificata" } }, { - "value": "TD09", + "code": "TD09", "name": { "en": "Simplified Debit Note", "it": "Nota di debito semplificata" } }, { - "value": "TD16", + "code": "TD16", "name": { "en": "Reverse charge", "it": "Integrazione fattura reverse charge interno" } }, { - "value": "TD17", + "code": "TD17", "name": { "en": "Self-billed Import", "it": "Integrazione/autofattura per acquisto servizi da estero" } }, { - "value": "TD18", + "code": "TD18", "name": { "en": "Self-billed EU Goods Import", "it": "Integrazione per acquisto beni intracomunitari" } }, { - "value": "TD19", + "code": "TD19", "name": { "en": "Self-billed Goods Import", "it": "Integrazione/autofattura per acquisto beni ex art.17 c.2 DPR 633/72" } }, { - "value": "TD20", + "code": "TD20", "name": { "en": "Self-billed Regularization", "it": "Autofattura per regolarizzazione e integrazione delle fatture - art.6 c.8 d.lgs.471/97 o art.46 c.5 D.L.331/93" } }, { - "value": "TD21", + "code": "TD21", "name": { "en": "Self-billed invoice when ceiling exceeded", "it": "Autofattura per splafonamento" } }, { - "value": "TD22", + "code": "TD22", "name": { "en": "Self-billed for goods extracted from VAT warehouse", "it": "Estrazione beni da Deposito IVA" } }, { - "value": "TD23", + "code": "TD23", "name": { "en": "Self-billed for goods extracted from VAT warehouse with VAT payment", "it": "Estrazione beni da Deposito IVA con versamento IVA" } }, { - "value": "TD24", + "code": "TD24", "name": { "en": "Deferred invoice ex art.21, c.4, lett. a) DPR 633/72", "it": "Fattura differita - art.21 c.4 lett. a" } }, { - "value": "TD25", + "code": "TD25", "name": { "en": "Deferred invoice ex art.21, c.4, third period lett. b) DPR 633/72", "it": "Fattura differita - art.21 c.4 terzo periodo lett. b" } }, { - "value": "TD26", + "code": "TD26", "name": { "en": "Sale of depreciable assets and for internal transfers (ex art.36 DPR 633/72", "it": "Cessione di beni ammortizzabili e per passaggi interni - art.36 DPR 633/72" } }, { - "value": "TD27", + "code": "TD27", "name": { "en": "Self-billed for self consumption or for free transfer without recourse", "it": "Fattura per autoconsumo o per cessioni gratuite senza rivalsa" } }, { - "value": "TD28", + "code": "TD28", "name": { "en": "Purchases from San Marino with VAT (paper invoice)", "it": "Acquisti da San Marino con IVA (fattura cartacea)" @@ -205,126 +205,126 @@ }, "values": [ { - "value": "RF01", + "code": "RF01", "name": { "en": "Ordinary", "it": "Regime Ordinario" } }, { - "value": "RF02", + "code": "RF02", "name": { "en": "Minimum taxpayers (Art. 1, section 96-117, Italian Law 244/07)", "it": "Regime dei contribuenti minimi (art. 1,c.96-117, L. 244/2007)" } }, { - "value": "RF04", + "code": "RF04", "name": { "en": "Agriculture and connected activities and fishing (Arts. 34 and 34-bis, Italian Presidential Decree 633/72)", "it": "Agricoltura e attività connesse e pesca (artt. 34 e 34-bis, D.P.R. 633/1972)" } }, { - "value": "RF05", + "code": "RF05", "name": { "en": "Sale of salts and tobaccos (Art. 74, section 1, Italian Presidential Decree 633/72)", "it": "Vendita sali e tabacchi (art. 74, c.1, D.P.R. 633/1972)" } }, { - "value": "RF06", + "code": "RF06", "name": { "en": "Match sales (Art. 74, section 1, Italian Presidential Decree 633/72)", "it": "Commercio dei fiammiferi (art. 74, c.1, D.P.R. 633/1972)" } }, { - "value": "RF07", + "code": "RF07", "name": { "en": "Publishing (Art. 74, section 1, Italian Presidential Decree 633/72)", "it": "Editoria (art. 74, c.1, D.P.R. 633/1972)" } }, { - "value": "RF08", + "code": "RF08", "name": { "en": "Management of public telephone services (Art. 74, section 1, Italian Presidential Decree 633/72)", "it": "Gestione di servizi di telefonia pubblica (art. 74, c.1, D.P.R. 633/1972)" } }, { - "value": "RF09", + "code": "RF09", "name": { "en": "Resale of public transport and parking documents (Art. 74, section 1, Italian Presidential Decree 633/72)", "it": "Rivendita di documenti di trasporto pubblico e di sosta (art. 74, c.1, D.P.R. 633/1972)" } }, { - "value": "RF10", + "code": "RF10", "name": { "en": "Entertainment, gaming and other activities referred to by the tariff attached to Italian Presidential Decree 640/72 (Art. 74, section 6, Italian Presidential Decree 633/72)", "it": "Intrattenimenti, giochi e altre attività di cui alla tariffa allegata al D.P.R. 640/72 (art. 74, c.6, D.P.R. 633/1972)" } }, { - "value": "RF11", + "code": "RF11", "name": { "en": "Travel and tourism agencies (Art. 74-ter, Italian Presidential Decree 633/72)", "it": "Agenzie di viaggi e turismo (art. 74-ter, D.P.R. 633/1972)" } }, { - "value": "RF12", + "code": "RF12", "name": { "en": "Farmhouse accommodation/restaurants (Art. 5, section 2, Italian law 413/91)", "it": "Agriturismo (art. 5, c.2, L. 413/1991)" } }, { - "value": "RF13", + "code": "RF13", "name": { "en": "Door-to-door sales (Art. 25-bis, section 6, Italian Presidential Decree 600/73)", "it": "Vendite a domicilio (art. 25-bis, c.6, D.P.R. 600/1973)" } }, { - "value": "RF14", + "code": "RF14", "name": { "en": "Resale of used goods, artworks, antiques or collector's items (Art. 36, Italian Decree Law 41/95)", "it": "Rivendita di beni usati, di oggetti d’arte, d’antiquariato o da collezione (art. 36, D.L. 41/1995)" } }, { - "value": "RF15", + "code": "RF15", "name": { "en": "Artwork, antiques or collector's items auction agencies (Art. 40-bis, Italian Decree Law 41/95)", "it": "Agenzie di vendite all’asta di oggetti d’arte, antiquariato o da collezione (art. 40-bis, D.L. 41/1995)" } }, { - "value": "RF16", + "code": "RF16", "name": { "en": "VAT paid in cash by P.A. (Art. 6, section 5, Italian Presidential Decree 633/72)", "it": "IVA per cassa P.A. (art. 6, c.5, D.P.R. 633/1972)" } }, { - "value": "RF17", + "code": "RF17", "name": { "en": "VAT paid in cash by subjects with business turnover below Euro 200,000 (Art. 7, Italian Decree Law 185/2008)", "it": "IVA per cassa (art. 32-bis, D.L. 83/2012)" } }, { - "value": "RF19", + "code": "RF19", "name": { "en": "Flat rate (Art. 1, section 54-89, Italian Law 190/2014)", "it": "Regime forfettario" } }, { - "value": "RF18", + "code": "RF18", "name": { "en": "Other", "it": "Altro" @@ -340,147 +340,147 @@ }, "values": [ { - "value": "N1", + "code": "N1", "name": { "en": "Excluded pursuant to Art. 15, DPR 633/72", "it": "Escluse ex. art. 15 del D.P.R. 633/1972" } }, { - "value": "N2.1", + "code": "N2.1", "name": { "en": "Not subject pursuant to Art. 7, DPR 633/72", "it": "Non soggette ex. art. 7 del D.P.R. 633/72" } }, { - "value": "N2.2", + "code": "N2.2", "name": { "en": "Not subject - other", "it": "Non soggette - altri casi" } }, { - "value": "N3.1", + "code": "N3.1", "name": { "en": "Not taxable - exports", "it": "Non imponibili - esportazioni" } }, { - "value": "N3.2", + "code": "N3.2", "name": { "en": "Not taxable - intra-community supplies", "it": "Non imponibili - cessioni intracomunitarie" } }, { - "value": "N3.3", + "code": "N3.3", "name": { "en": "Not taxable - transfers to San Marino", "it": "Non imponibili - cessioni verso San Marino" } }, { - "value": "N3.4", + "code": "N3.4", "name": { "en": "Not taxable - export supplies of goods and services", "it": "Non Imponibili - operazioni assimilate alle cessioni all'esportazione" } }, { - "value": "N3.5", + "code": "N3.5", "name": { "en": "Not taxable - declaration of intent", "it": "Non imponibili - dichiarazioni d'intento" } }, { - "value": "N3.6", + "code": "N3.6", "name": { "en": "Not taxable - other", "it": "Non imponibili - altre operazioni che non concorrono alla formazione del plafond" } }, { - "value": "N4", + "code": "N4", "name": { "en": "Exempt", "it": "Esenti" } }, { - "value": "N5", + "code": "N5", "name": { "en": "Margin regime / VAT not exposed", "it": "Regime del margine/IVA non esposta in fattura" } }, { - "value": "N6.1", + "code": "N6.1", "name": { "en": "Reverse charge - Transfer of scrap and of other recyclable materials", "it": "Inversione contabile - cessione di rottami e altri materiali di recupero" } }, { - "value": "N6.2", + "code": "N6.2", "name": { "en": "Reverse charge - Transfer of gold and pure silver pursuant to law 7/2000 as well as used jewelery to OPO", "it": "Inversione contabile - cessione di oro e argento ai sensi della legge 7/2000 nonché di oreficeria usata ad OPO" } }, { - "value": "N6.3", + "code": "N6.3", "name": { "en": "Reverse charge - Construction subcontracting", "it": "Inversione contabile - subappalto nel settore edile" } }, { - "value": "N6.4", + "code": "N6.4", "name": { "en": "Reverse charge - Transfer of buildings", "it": "Inversione contabile - cessione di fabbricati" } }, { - "value": "N6.5", + "code": "N6.5", "name": { "en": "Reverse charge - Transfer of mobile phones", "it": "Inversione contabile - cessione di telefoni cellulari" } }, { - "value": "N6.6", + "code": "N6.6", "name": { "en": "Reverse charge - Transfer of electronic products", "it": "Inversione contabile - cessione di prodotti elettronici" } }, { - "value": "N6.7", + "code": "N6.7", "name": { "en": "Reverse charge - provisions in the construction and related sectors", "it": "Inversione contabile - prestazioni comparto edile e settori connessi" } }, { - "value": "N6.8", + "code": "N6.8", "name": { "en": "Reverse charge - transactions in the energy sector", "it": "Inversione contabile - operazioni settore energetico" } }, { - "value": "N6.9", + "code": "N6.9", "name": { "en": "Reverse charge - other cases", "it": "Inversione contabile - altri casi" } }, { - "value": "N7", + "code": "N7", "name": { "en": "VAT paid in other EU countries (telecommunications, tele-broadcasting and electronic services provision pursuant to Art. 7 -octies letter a, b, art. 74-sexies Italian Presidential Decree 633/72)", "it": "IVA assolta in altro stato UE (prestazione di servizi di telecomunicazioni, tele-radiodiffusione ed elettronici ex art. 7-octies lett. a, b, art. 74-sexies DPR 633/72)" @@ -496,224 +496,224 @@ }, "values": [ { - "value": "A", + "code": "A", "name": { "en": "Self-employment services falling within the exercise of habitual art or profession", "it": "Prestazioni di lavoro autonomo rientranti nell'esercizio di arte o professione abituale;" } }, { - "value": "B", + "code": "B", "name": { "en": "Economic use of intellectual works, industrial patents, and processes, formulas or information related to experiences gained in the industrial, commercial or scientific field, by the author or inventor", "it": "Utilizzazione economica, da parte dell'autore o dell'inventore, di opere dell'ingegno, di brevetti industriali e di processi, formule o informazioni relativi ad esperienze acquisite in campo industriale, commerciale o scientifico;" } }, { - "value": "C", + "code": "C", "name": { "en": "Profits deriving from contracts of association in participation and from contracts of co-interest, when the contribution consists exclusively of the provision of labor", "it": "Utili derivanti da contratti di associazione in partecipazione e da contratti di cointeressenza, quando l'apporto è costituito esclusivamente dalla prestazione di lavoro;" } }, { - "value": "D", + "code": "D", "name": { "en": "Profits due to the promoting partners and founding partners of capital companies", "it": "Utili spettanti ai soci promotori ed ai soci fondatori delle società di capitali;" } }, { - "value": "E", + "code": "E", "name": { "en": "Bills of exchange protests levied by municipal secretaries", "it": "Levata di protesti cambiari da parte dei segretari comunali;" } }, { - "value": "F", + "code": "F", "name": { "en": "Allowances paid to honorary justices of the peace and honorary deputy prosecutors", "it": "Indennità corrisposte ai giudici onorari di pace e ai vice procuratori onorari;" } }, { - "value": "G", + "code": "G", "name": { "en": "Allowances paid for the cessation of professional sports activities", "it": "Indennità corrisposte per la cessazione di attività sportiva professionale" } }, { - "value": "H", + "code": "H", "name": { "en": "Allowances paid for the termination of agency relationships of individuals and partnerships, excluding amounts accrued up to December 31, 2003, already allocated for competence and taxed as business income", "it": "Indennità corrisposte per la cessazione dei rapporti di agenzia delle persone fisiche e delle società di persone con esclusione delle somme maturate entro il 31 dicembre 2003, già imputate per competenza e tassate come reddito d'impresa" } }, { - "value": "I", + "code": "I", "name": { "en": "Allowances paid for the cessation of notarial functions", "it": "Indennità corrisposte per la cessazione da funzioni notarili" } }, { - "value": "J", + "code": "J", "name": { "en": "Fees paid to occasional truffle collectors not identified for value-added tax purposes, in relation to the sale of truffles", "it": "Compensi corrisposti ai raccoglitori occasionali di tartufi non identificati ai fini dell'imposta sul valore aggiunto, in relazione alla cessione di tartufi" } }, { - "value": "K", + "code": "K", "name": { "en": "Universal civil service checks referred to in Article 16 of Legislative Decree no. 40 of March 6, 2017", "it": "Assegni di servizio civile universale di cui all'art.16 del d.lgs. n. 40 del 6 marzo 2017" } }, { - "value": "L", + "code": "L", "name": { "en": "Income deriving from the economic use of intellectual works, industrial patents, and processes, formulas, and information related to experiences gained in the industrial, commercial or scientific field, which are received by those entitled free of charge (e.g. heirs and legatees of the author and inventor)", "it": "Redditi derivanti dall'utilizzazione economica di opere dell'ingegno, di brevetti industriali e di processi, formule e informazioni relativi a esperienze acquisite in campo industriale, commerciale o scientifico, che sono percepiti dagli aventi causa a titolo gratuito (ad es. eredi e legatari dell'autore e inventore)" } }, { - "value": "L1", + "code": "L1", "name": { "en": "Income deriving from the economic use of intellectual works, industrial patents, and processes, formulas, and information related to experiences gained in the industrial, commercial or scientific field, which are received by subjects who have purchased the rights to their use for valuable consideration", "it": "Redditi derivanti dall'utilizzazione economica di opere dell'ingegno, di brevetti industriali e di processi, formule e informazioni relativi a esperienze acquisite in campo industriale, commerciale o scientifico, che sono percepiti da soggetti che abbiano acquistato a titolo oneroso i diritti alla loro utilizzazione" } }, { - "value": "M", + "code": "M", "name": { "en": "Self-employment services not carried out habitually", "it": "Prestazioni di lavoro autonomo non esercitate abitualmente" } }, { - "value": "M1", + "code": "M1", "name": { "en": "Income deriving from the assumption of obligations to do, not to do, or to allow", "it": "Redditi derivanti dall'assunzione di obblighi di fare, di non fare o permettere" } }, { - "value": "M2", + "code": "M2", "name": { "en": "Self-employment services not carried out habitually for which there is an obligation to register with the Separate ENPAPI Management", "it": "Prestazioni di lavoro autonomo non esercitate abitualmente per le quali sussiste l'obbligo di iscrizione alla gestione separata enpapi" } }, { - "value": "N", + "code": "N", "name": { "en": "Travel allowances, flat-rate reimbursement of expenses, prizes, and fees paid: - in the direct exercise of amateur sports activities; - in relation to coordinated and continuous collaboration relationships of an administrative-managerial nature, not professional, provided in favor of amateur sports companies and associations, and choirs, bands, and amateur theater groups by the director and technical collaborators", "it": "Indennità di trasferta, rimborso forfetario di spese, premi e compensi erogati: - nell'esercizio diretto di attività sportive dilettantistiche; - in relazione a rapporti di collaborazione coordinata e continuativa di carattere amministrativo-gestionale di natura non professionale resi a favore di società e associazioni sportive dilettantistiche e di cori, bande e filodrammatiche da parte del direttore e dei collaboratori tecnici;" } }, { - "value": "O", + "code": "O", "name": { "en": "Self-employment services not carried out habitually, for which there is no obligation to register with the separate management (Circ. INPS n. 104/2001)", "it": "Prestazioni di lavoro autonomo non esercitate abitualmente, per le quali non sussiste l'obbligo di iscrizione alla gestione separata (circ. inps n. 104/2001)" } }, { - "value": "O1", + "code": "O1", "name": { "en": "Income deriving from the assumption of obligations to do, not to do, or to allow, for which there is no obligation to register with the separate management (Circ. INPS n. 104/2001)", "it": "Redditi derivanti dall'assunzione di obblighi di fare, di non fare o permettere, per le quali non sussiste l'obbligo di iscrizione alla gestione separata (circ. inps n. 104/2001)" } }, { - "value": "P", + "code": "P", "name": { "en": "Fees paid to non-resident subjects without a permanent establishment for the use or concession of use of industrial, commercial or scientific equipment located in the State's territory or to Swiss companies or permanent establishments of Swiss companies meeting the requirements of Article 15, paragraph 2 of the Agreement between the European Community and the Swiss Confederation of October 26, 2004 (published in G.U.C.E. of December 29, 2004, no. L385/30)", "it": "Compensi corrisposti a soggetti non residenti privi di stabile organizzazione per l'uso o la concessione in uso di attrezzature industriali, commerciali o scientifiche che si trovano nel territorio dello stato ovvero a società svizzere o stabili organizzazioni di società svizzere che possiedono i requisiti di cui all'art. 15, comma 2 dell'accordo tra la comunità europea e la confederazione svizzera del 26 ottobre 2004 (pubblicato in g.u.c.e. del 29 dicembre 2004 n. l385/30)" } }, { - "value": "Q", + "code": "Q", "name": { "en": "Commissions paid to a single-mandate agent or commercial representative", "it": "Provvigioni corrisposte ad agente o rappresentante di commercio monomandatario" } }, { - "value": "R", + "code": "R", "name": { "en": "Commissions paid to a multi-mandate agent or commercial representative", "it": "Provvigioni corrisposte ad agente o rappresentante di commercio plurimandatario" } }, { - "value": "S", + "code": "S", "name": { "en": "Commissions paid to a commission agent", "it": "Provvigioni corrisposte a commissionario" } }, { - "value": "T", + "code": "T", "name": { "en": "Commissions paid to a broker", "it": "Provvigioni corrisposte a mediatore" } }, { - "value": "U", + "code": "U", "name": { "en": "Commissions paid to a business finder", "it": "Provvigioni corrisposte a procacciatore di affari" } }, { - "value": "V", + "code": "V", "name": { "en": "Commissions paid to a home sales agent; commissions paid to an agent for door-to-door and street sales of daily newspapers and periodicals (Law of February 25, 1987, no. 67)", "it": "Provvigioni corrisposte a incaricato per le vendite a domicilio; provvigioni corrisposte a incaricato per la vendita porta a porta e per la vendita ambulante di giornali quotidiani e periodici (l. 25 febbraio 1987, n. 67);" } }, { - "value": "V1", + "code": "V1", "name": { "en": "Income deriving from non-habitual commercial activities (e.g. commissions paid for occasional services to agents or commercial representatives, brokers, business finders)", "it": "Redditi derivanti da attività commerciali non esercitate abitualmente (ad esempio, provvigioni corrisposte per prestazioni occasionali ad agente o rappresentante di commercio, mediatore, procacciatore d'affari);" } }, { - "value": "V2", + "code": "V2", "name": { "en": "Income from non-habitual services provided by direct home sales agents", "it": "Redditi derivanti dalle prestazioni non esercitate abitualmente rese dagli incaricati alla vendita diretta a domicilio;" } }, { - "value": "W", + "code": "W", "name": { "en": "Considerations paid in 2021 for services related to subcontracting contracts to which the provisions contained in Article 25-ter of Presidential Decree no. 600 of September 29, 1973, have been applied", "it": "Corrispettivi erogati nel 2021 per prestazioni relative a contratti d'appalto cui si sono resi applicabili le disposizioni contenute nell'art. 25-ter del d.p.r. n. 600 del 29 settembre 1973;" } }, { - "value": "X", + "code": "X", "name": { "en": "Fees paid in 2004 by resident companies or entities or by permanent establishments of foreign companies referred to in Article 26-quater, paragraph 1, letters a) and b) of Presidential Decree 600 of September 29, 1973, to companies or permanent establishments of companies located in another EU Member State meeting the requirements of the aforementioned Article 26-quater of Presidential Decree 600 of September 29, 1973, for which a refund of the withholding tax was made in 2006 pursuant to Article 4 of Legislative Decree no. 143 of May 30, 2005", "it": "Canoni corrisposti nel 2004 da società o enti residenti ovvero da stabili organizzazioni di società estere di cui all'art. 26-quater, comma 1, lett. a) e b) del d.p.r. 600 del 29 settembre 1973, a società o stabili organizzazioni di società, situate in altro stato membro dell'unione europea in presenza dei requisiti di cui al citato art. 26-quater, del d.p.r. 600 del 29 settembre 1973, per i quali è stato effettuato, nell'anno 2006, il rimborso della ritenuta ai sensi dell'art. 4 del d.lgs. 30 maggio 2005 n. 143;" } }, { - "value": "Y", + "code": "Y", "name": { "en": "Fees paid from January 1, 2005, to July 26, 2005, by resident companies or entities or by permanent establishments of foreign companies referred to in Article 26-quater, paragraph 1, letters a) and b) of Presidential Decree no. 600 of September 29, 1973, to companies or permanent establishments of companies located in another EU Member State meeting the requirements of the aforementioned Article 26-quater of Presidential Decree 600 of September 29, 1973, for which a refund of the withholding tax was made in 2006 pursuant to Article 4 of Legislative Decree no. 143 of May 30, 2005", "it": "Canoni corrisposti dal 1° gennaio 2005 al 26 luglio 2005 da società o enti residenti ovvero da stabili organizzazioni di società estere di cui all'art. 26-quater, comma 1, lett. a) e b) del d.p.r. n. 600 del 29 settembre 1973, a società o stabili organizzazioni di società, situate in altro stato membro dell'unione europea in presenza dei requisiti di cui al citato art. 26-quater, del d.p.r. n. 600 del 29 settembre 1973, per i quali è stato effettuato, nell'anno 2006, il rimborso della ritenuta ai sensi dell'art. 4 del d.lgs. 30 maggio 2005 n. 143;" } }, { - "value": "ZO", + "code": "ZO", "name": { "en": "Different title from the previous ones", "it": "Titolo diverso dai precedenti;" @@ -729,161 +729,161 @@ }, "values": [ { - "value": "MP01", + "code": "MP01", "name": { "en": "Cash", "it": "Contanti" } }, { - "value": "MP02", + "code": "MP02", "name": { "en": "Check", "it": "Assegno" } }, { - "value": "MP03", + "code": "MP03", "name": { "en": "Banker's Draft", "it": "Assegno circolare" } }, { - "value": "MP04", + "code": "MP04", "name": { "en": "Cash at Treasury", "it": "Contanti presso Tesoreria" } }, { - "value": "MP05", + "code": "MP05", "name": { "en": "Bank Transfer", "it": "Bonifico" } }, { - "value": "Mp06", + "code": "Mp06", "name": { "en": "Promissory Note", "it": "Vaglia cambiario" } }, { - "value": "MP07", + "code": "MP07", "name": { "en": "Bank payment slip", "it": "Bollettino bancario" } }, { - "value": "MP08", + "code": "MP08", "name": { "en": "Payment card", "it": "Carta di pagamento" } }, { - "value": "MP09", + "code": "MP09", "name": { "en": "Direct Debit (RID)", "it": "RID" } }, { - "value": "MP10", + "code": "MP10", "name": { "en": "Utilities Direct Debit (RID utenze)", "it": "RID utenze" } }, { - "value": "MP11", + "code": "MP11", "name": { "en": "Fast Direct Debit (RID veloce)", "it": "RID veloce" } }, { - "value": "MP12", + "code": "MP12", "name": { "en": "Direct Debit (RIBA)", "it": "RIBA" } }, { - "value": "MP13", + "code": "MP13", "name": { "en": "Debit Transfer (MAV)", "it": "MAV" } }, { - "value": "MP14", + "code": "MP14", "name": { "en": "Tax Receipt", "it": "Quietanza erario" } }, { - "value": "MP15", + "code": "MP15", "name": { "en": "Transfer on special account", "it": "Giroconto su conti di contabilità speciale" } }, { - "value": "MP16", + "code": "MP16", "name": { "en": "Direct Debit", "it": "Domiciliazione Bancaria" } }, { - "value": "MP17", + "code": "MP17", "name": { "en": "Direct Debit Post Office", "it": "Domiciliazione Postale" } }, { - "value": "MP18", + "code": "MP18", "name": { "en": "Post Office Cheque", "it": "Bollettino di c/c postale" } }, { - "value": "MP19", + "code": "MP19", "name": { "en": "SEPA Direct Debit", "it": "SEPA Direct Debit" } }, { - "value": "MP20", + "code": "MP20", "name": { "en": "SEPA Core Direct Debit", "it": "SEPA Direct Debit Core" } }, { - "value": "MP21", + "code": "MP21", "name": { "en": "SEPA B2B Direct Debit", "it": "SEPA Direct Debit B2B" } }, { - "value": "MP22", + "code": "MP22", "name": { "en": "Deductible Netting", "it": "Trattenuta su somme già riscosse" } }, { - "value": "MP23", + "code": "MP23", "name": { "en": "PagoPA", "it": "PagoPA" @@ -899,21 +899,21 @@ }, "values": [ { - "value": "I", + "code": "I", "name": { "en": "Immediate", "it": "Immediata" } }, { - "value": "D", + "code": "D", "name": { "en": "Deferred", "it": "Differita" } }, { - "value": "S", + "code": "S", "name": { "en": "Split Payment", "it": "Scissione dei pagamenti" diff --git a/data/addons/mx-cfdi-v4.json b/data/addons/mx-cfdi-v4.json index b6e8e204..70c4acdf 100644 --- a/data/addons/mx-cfdi-v4.json +++ b/data/addons/mx-cfdi-v4.json @@ -13,14 +13,14 @@ }, "values": [ { - "value": "I", + "code": "I", "name": { "en": "Invoice", "es": "Comprobante de Ingreso" } }, { - "value": "E", + "code": "E", "name": { "en": "Credit Note", "es": "Comprobante de Egreso" @@ -36,49 +36,49 @@ }, "values": [ { - "value": "01", + "code": "01", "name": { "en": "Credit note for related documents", "es": "Nota de crédito de los documentos relacionados" } }, { - "value": "02", + "code": "02", "name": { "en": "Debit note for related documents", "es": "Nota de débito de los documentos relacionados" } }, { - "value": "03", + "code": "03", "name": { "en": "Return of goods for related documents", "es": "Devolución de mercancía sobre los documentos relacionados" } }, { - "value": "04", + "code": "04", "name": { "en": "Substitution of the previous CFDI document", "es": "Sustitución de los CFDI previos" } }, { - "value": "05", + "code": "05", "name": { "en": "Transfer of goods for related documents", "es": "Traslados de mercancías facturados por los documentos relacionados" } }, { - "value": "06", + "code": "06", "name": { "en": "Invoice generated by previous transfers", "es": "Factura generada por los traslados previos" } }, { - "value": "07", + "code": "07", "name": { "en": "CFDI for advance payment", "es": "CFDI por aplicación de anticipo" @@ -110,21 +110,21 @@ }, "values": [ { - "value": "001", + "code": "001", "name": { "en": "Income Tax", "es": "Impuesto Sobre la Renta" } }, { - "value": "002", + "code": "002", "name": { "en": "Value Added Tax", "es": "Impuesto al Valor Agregado" } }, { - "value": "003", + "code": "003", "name": { "en": "Special Tax on Production and Services", "es": "Impuesto Especial sobre Producción y Servicios" @@ -155,115 +155,115 @@ }, "values": [ { - "value": "601", + "code": "601", "name": { "es": "General de Ley Personas Morales" } }, { - "value": "603", + "code": "603", "name": { "es": "Personas Morales con Fines no Lucrativos" } }, { - "value": "605", + "code": "605", "name": { "es": "Sueldos y Salarios e Ingresos Asimilados a Salarios" } }, { - "value": "606", + "code": "606", "name": { "es": "Arrendamiento" } }, { - "value": "607", + "code": "607", "name": { "es": "Régimen de Enajenación o Adquisición de Bienes" } }, { - "value": "608", + "code": "608", "name": { "es": "Demás ingresos" } }, { - "value": "610", + "code": "610", "name": { "es": "Residentes en el Extranjero sin Establecimiento Permanente en México" } }, { - "value": "611", + "code": "611", "name": { "es": "Ingresos por Dividendos (socios y accionistas)" } }, { - "value": "612", + "code": "612", "name": { "es": "Personas Físicas con Actividades Empresariales y Profesionales" } }, { - "value": "614", + "code": "614", "name": { "es": "Ingresos por intereses" } }, { - "value": "615", + "code": "615", "name": { "es": "Régimen de los ingresos por obtención de premios" } }, { - "value": "616", + "code": "616", "name": { "es": "Sin obligaciones fiscales" } }, { - "value": "620", + "code": "620", "name": { "es": "Sociedades Cooperativas de Producción que optan por diferir sus ingresos" } }, { - "value": "621", + "code": "621", "name": { "es": "Incorporación Fiscal" } }, { - "value": "622", + "code": "622", "name": { "es": "Actividades Agrícolas, Ganaderas, Silvícolas y Pesqueras" } }, { - "value": "623", + "code": "623", "name": { "es": "Opcional para Grupos de Sociedades" } }, { - "value": "624", + "code": "624", "name": { "es": "Coordinados" } }, { - "value": "625", + "code": "625", "name": { "es": "Régimen de las Actividades Empresariales con ingresos a través de Plataformas Tecnológicas" } }, { - "value": "626", + "code": "626", "name": { "es": "Régimen Simplificado de Confianza" } @@ -282,168 +282,168 @@ }, "values": [ { - "value": "G01", + "code": "G01", "name": { "en": "Acquisition of goods", "es": "Adquisición de mercancías" } }, { - "value": "G02", + "code": "G02", "name": { "en": "Returns, discounts or rebates", "es": "Devoluciones, descuentos o bonificaciones" } }, { - "value": "G03", + "code": "G03", "name": { "en": "General expenses", "es": "Gastos en general" } }, { - "value": "I01", + "code": "I01", "name": { "en": "Construction", "es": "Construcciones" } }, { - "value": "I02", + "code": "I02", "name": { "en": "Office furniture and equipment as investmen", "es": "Mobiliario y equipo de oficina por inversiones" } }, { - "value": "I03", + "code": "I03", "name": { "en": "Transport equipment", "es": "Equipo de transporte" } }, { - "value": "I04", + "code": "I04", "name": { "en": "Computer equipment and accessories", "es": "Equipo de computo y accesorios" } }, { - "value": "I05", + "code": "I05", "name": { "en": "Dies, punches, molds, matrices and other toolin", "es": "Dados, troqueles, moldes, matrices y herramental" } }, { - "value": "I06", + "code": "I06", "name": { "en": "Telephone communications", "es": "Comunicaciones telefónicas" } }, { - "value": "I07", + "code": "I07", "name": { "en": "Satellite communications", "es": "Comunicaciones satelitales" } }, { - "value": "I08", + "code": "I08", "name": { "en": "Other machinery and equipment", "es": "Otra maquinaria y equipo" } }, { - "value": "D01", + "code": "D01", "name": { "en": "Medical and dental fees and hospital expenses", "es": "Honorarios médicos, dentales y gastos hospitalarios" } }, { - "value": "D02", + "code": "D02", "name": { "en": "Medical expenses for disability or incapacity", "es": "Gastos médicos por incapacidad o discapacidad" } }, { - "value": "D03", + "code": "D03", "name": { "en": "Funeral expenses", "es": "Gastos funerales" } }, { - "value": "D04", + "code": "D04", "name": { "en": "Donations", "es": "Donativos" } }, { - "value": "D05", + "code": "D05", "name": { "en": "Interest actually paid on mortgage loans (housing)", "es": "Intereses reales efectivamente pagados por créditos hipotecarios (casa habitación)" } }, { - "value": "D06", + "code": "D06", "name": { "en": "Voluntary contributions to the SAR", "es": "Aportaciones voluntarias al SAR" } }, { - "value": "D07", + "code": "D07", "name": { "en": "Medical insurance premiums", "es": "Primas por seguros de gastos médicos" } }, { - "value": "D08", + "code": "D08", "name": { "en": "Mandatory school transportation expenses", "es": "Gastos de transportación escolar obligatoria" } }, { - "value": "D09", + "code": "D09", "name": { "en": "Deposits in savings accounts, pension plans premiums", "es": "Depósitos en cuentas para el ahorro, primas que tengan como base planes de pensiones" } }, { - "value": "D10", + "code": "D10", "name": { "en": "Payments for educational services (school fees)", "es": "Pagos por servicios educativos (colegiaturas)" } }, { - "value": "S01", + "code": "S01", "name": { "en": "Without tax effects", "es": "Sin efectos fiscales" } }, { - "value": "CP01", + "code": "CP01", "name": { "en": "Payments", "es": "Pagos" } }, { - "value": "CN01", + "code": "CN01", "name": { "en": "Payroll", "es": "Nómina" @@ -463,154 +463,154 @@ }, "values": [ { - "value": "01", + "code": "01", "name": { "en": "Cash", "es": "Efectivo" } }, { - "value": "02", + "code": "02", "name": { "en": "Check", "es": "Cheque nominativo" } }, { - "value": "03", + "code": "03", "name": { "en": "Electronic Funds Transfer", "es": "Transferencia electrónica de fondos" } }, { - "value": "04", + "code": "04", "name": { "en": "Credit Card", "es": "Tarjeta de crédito" } }, { - "value": "05", + "code": "05", "name": { "en": "Electronic Wallet", "es": "Monedero electrónico" } }, { - "value": "06", + "code": "06", "name": { "en": "Online or Electronic Payment", "es": "Dinero electrónico" } }, { - "value": "08", + "code": "08", "name": { "en": "Grocery Voucher", "es": "Vales de despensa" } }, { - "value": "12", + "code": "12", "name": { "en": "Payment in Kind", "es": "Dación en pago" } }, { - "value": "13", + "code": "13", "name": { "en": "Payment by subrogation", "es": "Pago por subrogación" } }, { - "value": "14", + "code": "14", "name": { "en": "Payment by consignment", "es": "Pago por consignación" } }, { - "value": "15", + "code": "15", "name": { "en": "Debt relief", "es": "Condonación" } }, { - "value": "17", + "code": "17", "name": { "en": "Netting", "es": "Compensación" } }, { - "value": "23", + "code": "23", "name": { "en": "Novation", "es": "Novación" } }, { - "value": "24", + "code": "24", "name": { "en": "Merger", "es": "Confusión" } }, { - "value": "25", + "code": "25", "name": { "en": "Debt remission", "es": "Remisión de deuda" } }, { - "value": "26", + "code": "26", "name": { "en": "Expiration of payment obligation", "es": "Prescripción o caducidad" } }, { - "value": "27", + "code": "27", "name": { "en": "To the creditor's satisfaction", "es": "A satisfacción del acreedor" } }, { - "value": "28", + "code": "28", "name": { "en": "Debit card", "es": "Tarjeta de débito" } }, { - "value": "29", + "code": "29", "name": { "en": "Services card", "es": "Tarjeta de servicios" } }, { - "value": "30", + "code": "30", "name": { "en": "Advance payment", "es": "Aplicación de anticipos" } }, { - "value": "31", + "code": "31", "name": { "en": "Payment via intermediary", "es": "Intermediario pagos" } }, { - "value": "99", + "code": "99", "name": { "en": "Undefined", "es": "Por definir" diff --git a/data/addons/pt-saft-v1.json b/data/addons/pt-saft-v1.json index 6542da3e..a6326563 100644 --- a/data/addons/pt-saft-v1.json +++ b/data/addons/pt-saft-v1.json @@ -13,35 +13,35 @@ }, "values": [ { - "value": "FT", + "code": "FT", "name": { "en": "Standard Invoice", "pt": "Fatura" } }, { - "value": "FS", + "code": "FS", "name": { "en": "Simplified Invoice", "pt": "Fatura Simplificada" } }, { - "value": "FR", + "code": "FR", "name": { "en": "Invoice-Receipt", "pt": "Fatura-Recibo" } }, { - "value": "ND", + "code": "ND", "name": { "en": "Debit Note", "pt": "Nota de Débito" } }, { - "value": "NC", + "code": "NC", "name": { "en": "Credit Note", "pt": "Nota de Crédito" @@ -57,35 +57,35 @@ }, "values": [ { - "value": "RED", + "code": "RED", "name": { "en": "Reduced", "pt": "Redução" } }, { - "value": "INT", + "code": "INT", "name": { "en": "Intermediate", "pt": "Intermédio" } }, { - "value": "NOR", + "code": "NOR", "name": { "en": "Normal", "pt": "Normal" } }, { - "value": "ISE", + "code": "ISE", "name": { "en": "Exempt", "pt": "Isento" } }, { - "value": "OUT", + "code": "OUT", "name": { "en": "Other", "pt": "Outro" @@ -101,189 +101,189 @@ }, "values": [ { - "value": "M01", + "code": "M01", "name": { "en": "Article 16, No. 6 of the VAT code", "pt": "Artigo 16.°, n.° 6 do CIVA" } }, { - "value": "M02", + "code": "M02", "name": { "en": "Article 6 of the Decree-Law 198/90 of 19th June", "pt": "Artigo 6.° do Decreto-Lei n.° 198/90, de 19 de junho" } }, { - "value": "M04", + "code": "M04", "name": { "en": "Exempt pursuant to article 13 of the VAT code", "pt": "Isento artigo 13.° do CIVA" } }, { - "value": "M05", + "code": "M05", "name": { "en": "Exempt pursuant to article 14 of the VAT code", "pt": "Isento artigo 14.° do CIVA" } }, { - "value": "M06", + "code": "M06", "name": { "en": "Exempt pursuant to article 15 of the VAT code", "pt": "Isento artigo 15.° do CIVA" } }, { - "value": "M07", + "code": "M07", "name": { "en": "Exempt pursuant to article 9 of the VAT code", "pt": "Isento artigo 9.° do CIVA" } }, { - "value": "M09", + "code": "M09", "name": { "en": "VAT - does not confer right to deduct / Article 62 paragraph b) of the VAT code", "pt": "IVA - não confere direito a dedução / Artigo 62.° alínea b) do CIVA" } }, { - "value": "M10", + "code": "M10", "name": { "en": "VAT - exemption scheme / Article 57 of the VAT code", "pt": "IVA - regime de isenção / Artigo 57.° do CIVA" } }, { - "value": "M11", + "code": "M11", "name": { "en": "Special scheme for tobacco / Decree-Law No. 346/85 of 23rd August", "pt": "Regime particular do tabaco / Decreto-Lei n.° 346/85, de 23 de agosto" } }, { - "value": "M12", + "code": "M12", "name": { "en": "Margin scheme - Travel agencies / Decree-Law No. 221/85 of 3rd July", "pt": "Regime da margem de lucro - Agências de viagens / Decreto-Lei n.° 221/85, de 3 de julho" } }, { - "value": "M13", + "code": "M13", "name": { "en": "Margin scheme - Second-hand goods / Decree-Law No. 199/96 of 18th October", "pt": "Regime da margem de lucro - Bens em segunda mão / Decreto-Lei n.° 199/96, de 18 de outubro" } }, { - "value": "M14", + "code": "M14", "name": { "en": "Margin scheme - Works of art / Decree-Law No. 199/96 of 18th October", "pt": "Regime da margem de lucro - Objetos de arte / Decreto-Lei n.° 199/96, de 18 de outubro" } }, { - "value": "M15", + "code": "M15", "name": { "en": "Margin scheme - Collector’s items and antiques / Decree-Law No. 199/96 of 18th October", "pt": "Regime da margem de lucro - Objetos de coleção e antiguidades / Decreto-Lei n.° 199/96, de 18 de outubro" } }, { - "value": "M16", + "code": "M16", "name": { "en": "Exempt pursuant to Article 14 of the RITI", "pt": "Isento artigo 14.° do RITI" } }, { - "value": "M19", + "code": "M19", "name": { "en": "Other exemptions - Temporary exemptions determined by specific legislation", "pt": "Outras isenções - Isenções temporárias determinadas em diploma próprio" } }, { - "value": "M20", + "code": "M20", "name": { "en": "VAT - flat-rate scheme / Article 59-D No. 2 of the VAT code", "pt": "IVA - regime forfetário / Artigo 59.°-D n.°2 do CIVA" } }, { - "value": "M21", + "code": "M21", "name": { "en": "VAT - does not confer right to deduct (or similar) - Article 72 No. 4 of the VAT code", "pt": "IVA - não confere direito à dedução (ou expressão similar) - Artigo 72.° n.° 4 do CIVA" } }, { - "value": "M25", + "code": "M25", "name": { "en": "Consignment goods - Article 38 No. 1 paragraph a) of the VAT code", "pt": "Mercadorias à consignação - Artigo 38.° n.° 1 alínea a) do CIVA" } }, { - "value": "M30", + "code": "M30", "name": { "en": "VAT - reverse charge / Article 2 No. 1 paragraph i) of the VAT code", "pt": "IVA - autoliquidação / Artigo 2.° n.° 1 alínea i) do CIVA" } }, { - "value": "M31", + "code": "M31", "name": { "en": "VAT - reverse charge / Article 2 No. 1 paragraph j) of the VAT code", "pt": "IVA - autoliquidação / Artigo 2.° n.° 1 alínea j) do CIVA" } }, { - "value": "M32", + "code": "M32", "name": { "en": "VAT - reverse charge / Article 2 No. 1 paragraph l) of the VAT code", "pt": "IVA - autoliquidação / Artigo 2.° n.° 1 alínea I) do CIVA" } }, { - "value": "M33", + "code": "M33", "name": { "en": "VAT - reverse charge / Article 2 No. 1 paragraph m) of the VAT code", "pt": "IVA - autoliquidação / Artigo 2.° n.° 1 alínea m) do CIVA" } }, { - "value": "M40", + "code": "M40", "name": { "en": "VAT - reverse charge / Article 6 No. 6 paragraph a) of the VAT code, to the contrary", "pt": "IVA - autoliquidação / Artigo 6.° n.° 6 alínea a) do CIVA, a contrário" } }, { - "value": "M41", + "code": "M41", "name": { "en": "VAT - reverse charge / Article 8 No. 3 of the RITI", "pt": "IVA - autoliquidação / Artigo 8.° n.° 3 do RITI" } }, { - "value": "M42", + "code": "M42", "name": { "en": "VAT - reverse charge / Decree-Law No. 21/2007 of 29 January", "pt": "IVA - autoliquidação / Decreto-Lei n.° 21/2007, de 29 de janeiro" } }, { - "value": "M43", + "code": "M43", "name": { "en": "VAT - reverse charge / Decree-Law No. 362/99 of 16th September", "pt": "IVA - autoliquidação / Decreto-Lei n.° 362/99, de 16 de setembro" } }, { - "value": "M99", + "code": "M99", "name": { "en": "Not subject to tax or not taxed", "pt": "Não sujeito ou não tributado" @@ -341,7 +341,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M01", + "ext_code": "M01", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -350,7 +350,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M02", + "ext_code": "M02", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -359,7 +359,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M04", + "ext_code": "M04", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -368,7 +368,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M05", + "ext_code": "M05", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -377,7 +377,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M06", + "ext_code": "M06", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -386,7 +386,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M07", + "ext_code": "M07", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -395,7 +395,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M09", + "ext_code": "M09", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -404,7 +404,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M10", + "ext_code": "M10", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -413,7 +413,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M11", + "ext_code": "M11", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -422,7 +422,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M12", + "ext_code": "M12", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -431,7 +431,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M13", + "ext_code": "M13", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -440,7 +440,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M14", + "ext_code": "M14", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -449,7 +449,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M15", + "ext_code": "M15", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -458,7 +458,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M16", + "ext_code": "M16", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -467,7 +467,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M19", + "ext_code": "M19", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -476,7 +476,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M20", + "ext_code": "M20", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -485,7 +485,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M21", + "ext_code": "M21", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -494,7 +494,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M25", + "ext_code": "M25", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -503,7 +503,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M30", + "ext_code": "M30", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -512,7 +512,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M31", + "ext_code": "M31", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -521,7 +521,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M32", + "ext_code": "M32", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -530,7 +530,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M33", + "ext_code": "M33", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -539,7 +539,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M40", + "ext_code": "M40", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -548,7 +548,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M41", + "ext_code": "M41", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -557,7 +557,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M42", + "ext_code": "M42", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -566,7 +566,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M43", + "ext_code": "M43", "note": { "key": "legal", "src": "pt-saft-exemption", @@ -575,7 +575,7 @@ }, { "ext_key": "pt-saft-exemption", - "ext_value": "M99", + "ext_code": "M99", "note": { "key": "legal", "src": "pt-saft-exemption", diff --git a/data/catalogues/cef.json b/data/catalogues/cef.json new file mode 100644 index 00000000..9663b49d --- /dev/null +++ b/data/catalogues/cef.json @@ -0,0 +1,374 @@ +{ + "$schema": "https://gobl.org/draft-0/tax/catalogue-def", + "key": "cef", + "name": { + "en": "Connecting Europe Facility (CEF)" + }, + "extensions": [ + { + "key": "cef-vatex", + "name": { + "en": "CET VATEX - VAT exemption reason codes" + }, + "desc": { + "en": "Codes for the reasons for VAT exemption as defined by the Connecting Europe Facility (CEF)." + }, + "values": [ + { + "code": "VATEX-EU-79-C", + "name": { + "en": "Exempt based on article 79, point c of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132", + "name": { + "en": "Exempt based on article 132 of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1A", + "name": { + "en": "Exempt based on article 132, section 1 (a) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1B", + "name": { + "en": "Exempt based on article 132, section 1 (b) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1C", + "name": { + "en": "Exempt based on article 132, section 1 (c) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1D", + "name": { + "en": "Exempt based on article 132, section 1 (d) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1E", + "name": { + "en": "Exempt based on article 132, section 1 (e) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1F", + "name": { + "en": "Exempt based on article 132, section 1 (f) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1G", + "name": { + "en": "Exempt based on article 132, section 1 (g) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1H", + "name": { + "en": "Exempt based on article 132, section 1 (h) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1I", + "name": { + "en": "Exempt based on article 132, section 1 (i) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1J", + "name": { + "en": "Exempt based on article 132, section 1 (j) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1K", + "name": { + "en": "Exempt based on article 132, section 1 (k) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1L", + "name": { + "en": "Exempt based on article 132, section 1 (l) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1M", + "name": { + "en": "Exempt based on article 132, section 1 (m) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1N", + "name": { + "en": "Exempt based on article 132, section 1 (n) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1O", + "name": { + "en": "Exempt based on article 132, section 1 (o) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1P", + "name": { + "en": "Exempt based on article 132, section 1 (p) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-132-1Q", + "name": { + "en": "Exempt based on article 132, section 1 (q) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143", + "name": { + "en": "Exempt based on article 143 of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1A", + "name": { + "en": "Exempt based on article 143, section 1 (a) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1B", + "name": { + "en": "Exempt based on article 143, section 1 (b) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1C", + "name": { + "en": "Exempt based on article 143, section 1 (c) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1D", + "name": { + "en": "Exempt based on article 143, section 1 (d) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1E", + "name": { + "en": "Exempt based on article 143, section 1 (e) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1F", + "name": { + "en": "Exempt based on article 143, section 1 (f) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1FA", + "name": { + "en": "Exempt based on article 143, section 1 (fa) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1G", + "name": { + "en": "Exempt based on article 143, section 1 (g) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1H", + "name": { + "en": "Exempt based on article 143, section 1 (h) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1I", + "name": { + "en": "Exempt based on article 143, section 1 (i) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1J", + "name": { + "en": "Exempt based on article 143, section 1 (j) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1K", + "name": { + "en": "Exempt based on article 143, section 1 (k) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-143-1L", + "name": { + "en": "Exempt based on article 143, section 1 (l) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-148", + "name": { + "en": "Exempt based on article 148 of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-148-A", + "name": { + "en": "Exempt based on article 148, section (a) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-148-B", + "name": { + "en": "Exempt based on article 148, section (b) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-148-C", + "name": { + "en": "Exempt based on article 148, section (c) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-148-D", + "name": { + "en": "Exempt based on article 148, section (d) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-148-E", + "name": { + "en": "Exempt based on article 148, section (e) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-148-F", + "name": { + "en": "Exempt based on article 148, section (f) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-148-G", + "name": { + "en": "Exempt based on article 148, section (g) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-151", + "name": { + "en": "Exempt based on article 151 of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-151-1A", + "name": { + "en": "Exempt based on article 151, section 1 (a) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-151-1AA", + "name": { + "en": "Exempt based on article 151, section 1 (aa) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-151-1B", + "name": { + "en": "Exempt based on article 151, section 1 (b) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-151-1C", + "name": { + "en": "Exempt based on article 151, section 1 (c) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-151-1D", + "name": { + "en": "Exempt based on article 151, section 1 (d) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-151-1E", + "name": { + "en": "Exempt based on article 151, section 1 (e) of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-309", + "name": { + "en": "Exempt based on article 309 of Council Directive 2006/112/EC" + } + }, + { + "code": "VATEX-EU-AE", + "name": { + "en": "Reverse charge" + } + }, + { + "code": "VATEX-EU-D", + "name": { + "en": "Travel agents VAT scheme." + } + }, + { + "code": "VATEX-EU-F", + "name": { + "en": "Second hand goods VAT scheme." + } + }, + { + "code": "VATEX-EU-G", + "name": { + "en": "Export outside the EU" + } + }, + { + "code": "VATEX-EU-I", + "name": { + "en": "Works of art VAT scheme." + } + }, + { + "code": "VATEX-EU-IC", + "name": { + "en": "Intra-community supply" + } + }, + { + "code": "VATEX-EU-J", + "name": { + "en": "Collectors items and antiques VAT scheme." + } + }, + { + "code": "VATEX-EU-O", + "name": { + "en": "Not subject to VAT" + } + }, + { + "code": "VATEX-FR-FRANCHISE", + "name": { + "en": "France domestic VAT franchise in base" + } + }, + { + "code": "VATEX-FR-CNWVAT", + "name": { + "en": "France domestic Credit Notes without VAT, due to supplier forfeit of VAT for discount" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/data/catalogues/iso.json b/data/catalogues/iso.json index 92f4a66c..2da51c1a 100644 --- a/data/catalogues/iso.json +++ b/data/catalogues/iso.json @@ -4,7 +4,6 @@ "name": { "en": "ISO/IEC Data Elements" }, - "description": null, "extensions": [ { "key": "iso-scheme-id", diff --git a/data/catalogues/untdid.json b/data/catalogues/untdid.json index 677a46c7..d27c9511 100644 --- a/data/catalogues/untdid.json +++ b/data/catalogues/untdid.json @@ -4,7 +4,6 @@ "name": { "en": "UN/EDIFACT Data Elements" }, - "description": null, "extensions": [ { "key": "untdid-document-type", @@ -12,329 +11,329 @@ "en": "UNTDID 1001 Document Type" }, "desc": { - "en": "UNTDID 1001 code used to describe the type of document. Ths list is based\non the [EN16931 code list](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931#RegistryofsupportingartefactstoimplementEN16931-Codelists)\nvalues table which focusses on invoices and payments.\n\nOther tax regimes and addons may use their own subset of codes." + "en": "UNTDID 1001 code used to describe the type of document. Ths list is based on the [EN16931 code list](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931#RegistryofsupportingartefactstoimplementEN16931-Codelists)\nvalues table which focusses on invoices and payments.\n\nOther tax regimes and addons may use their own subset of codes." }, "values": [ { - "value": "71", + "code": "71", "name": { "en": "Request for payment" } }, { - "value": "80", + "code": "80", "name": { "en": "Debit note related to goods or services" } }, { - "value": "81", + "code": "81", "name": { "en": "Credit note related to goods or services" } }, { - "value": "82", + "code": "82", "name": { "en": "Metered services invoice" } }, { - "value": "83", + "code": "83", "name": { "en": "Credit note related to financial adjustments" } }, { - "value": "84", + "code": "84", "name": { "en": "Debit note related to financial adjustments" } }, { - "value": "102", + "code": "102", "name": { "en": "Tax notification" } }, { - "value": "130", + "code": "130", "name": { "en": "Invoicing data sheet" } }, { - "value": "202", + "code": "202", "name": { "en": "Direct payment valuation" } }, { - "value": "203", + "code": "203", "name": { "en": "Provisional payment valuation" } }, { - "value": "204", + "code": "204", "name": { "en": "Payment valuation" } }, { - "value": "211", + "code": "211", "name": { "en": "Interim application for payment" } }, { - "value": "218", + "code": "218", "name": { "en": "Final payment request based on completion of work" } }, { - "value": "219", + "code": "219", "name": { "en": "Payment request for completed units" } }, { - "value": "261", + "code": "261", "name": { "en": "Self billed credit note" } }, { - "value": "262", + "code": "262", "name": { "en": "Consolidated credit note - goods and services" } }, { - "value": "295", + "code": "295", "name": { "en": "Price variation invoice" } }, { - "value": "296", + "code": "296", "name": { "en": "Credit note for price variation" } }, { - "value": "308", + "code": "308", "name": { "en": "Delcredere credit note" } }, { - "value": "325", + "code": "325", "name": { "en": "Proforma invoice" } }, { - "value": "326", + "code": "326", "name": { "en": "Partial invoice" } }, { - "value": "380", + "code": "380", "name": { "en": "Standard Invoice" } }, { - "value": "381", + "code": "381", "name": { "en": "Credit note" } }, { - "value": "382", + "code": "382", "name": { "en": "Commission note" } }, { - "value": "383", + "code": "383", "name": { "en": "Debit note" } }, { - "value": "384", + "code": "384", "name": { "en": "Corrected invoice" } }, { - "value": "385", + "code": "385", "name": { "en": "Consolidated invoice" } }, { - "value": "386", + "code": "386", "name": { "en": "Prepayment invoice" } }, { - "value": "387", + "code": "387", "name": { "en": "Hire invoice" } }, { - "value": "388", + "code": "388", "name": { "en": "Tax invoice" } }, { - "value": "389", + "code": "389", "name": { "en": "Self-billed invoice" } }, { - "value": "390", + "code": "390", "name": { "en": "Delcredere invoice" } }, { - "value": "393", + "code": "393", "name": { "en": "Factored invoice" } }, { - "value": "394", + "code": "394", "name": { "en": "Lease invoice" } }, { - "value": "395", + "code": "395", "name": { "en": "Consignment invoice" } }, { - "value": "396", + "code": "396", "name": { "en": "Factored credit note" } }, { - "value": "420", + "code": "420", "name": { "en": "Optical Character Reading (OCR) payment credit note" } }, { - "value": "456", + "code": "456", "name": { "en": "Debit advice" } }, { - "value": "457", + "code": "457", "name": { "en": "Reversal of debit" } }, { - "value": "458", + "code": "458", "name": { "en": "Reversal of credit" } }, { - "value": "527", + "code": "527", "name": { "en": "Self billed debit note" } }, { - "value": "532", + "code": "532", "name": { "en": "Forwarder's credit note" } }, { - "value": "553", + "code": "553", "name": { "en": "Forwarder's invoice discrepancy report" } }, { - "value": "575", + "code": "575", "name": { "en": "Insurer's invoice" } }, { - "value": "623", + "code": "623", "name": { "en": "Forwarder's invoice" } }, { - "value": "633", + "code": "633", "name": { "en": "Port charges documents" } }, { - "value": "751", + "code": "751", "name": { "en": "Invoice information for accounting purposes" } }, { - "value": "780", + "code": "780", "name": { "en": "Freight invoice" } }, { - "value": "817", + "code": "817", "name": { "en": "Claim notification" } }, { - "value": "870", + "code": "870", "name": { "en": "Consular invoice" } }, { - "value": "875", + "code": "875", "name": { "en": "Partial construction invoice" } }, { - "value": "876", + "code": "876", "name": { "en": "Partial final construction invoice" } }, { - "value": "877", + "code": "877", "name": { "en": "Final construction invoice" } }, { - "value": "935", + "code": "935", "name": { "en": "Customs invoice" } @@ -342,778 +341,6806 @@ ] }, { - "key": "untdid-payment-means", + "key": "untdid-reference", "name": { - "en": "UNTDID 4461 Payment Means" + "en": "UNTDID 1153 Reference Code Qualifier" }, "desc": { - "en": "UNTDID 4461 code used to describe the means of payment. This list is based on the\n[EN16931 code list](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931#RegistryofsupportingartefactstoimplementEN16931-Codelists)\nvalues table which focusses on invoices and payments." + "en": "UNTDID 1153 code used to describe the reference code qualifier. This list is based on the\n[EN16931 code list](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931#RegistryofsupportingartefactstoimplementEN16931-Codelists)\nvalues table which focusses on invoices and payments." }, "values": [ { - "value": "1", + "code": "AAA", "name": { - "en": "Instrument not defined" + "en": "Order acknowledgement document identifier" } }, { - "value": "2", + "code": "AAB", "name": { - "en": "Automated clearing house credit" + "en": "Proforma invoice document identifier" } }, { - "value": "3", + "code": "AAC", "name": { - "en": "Automated clearing house debit" + "en": "Documentary credit identifier" } }, { - "value": "4", + "code": "AAD", "name": { - "en": "ACH demand debit reversal" + "en": "Contract document addendum identifier" } }, { - "value": "5", + "code": "AAE", "name": { - "en": "ACH demand credit reversal" + "en": "Goods declaration number" } }, { - "value": "6", + "code": "AAF", "name": { - "en": "ACH demand credit" + "en": "Debit card number" } }, { - "value": "7", + "code": "AAG", "name": { - "en": "ACH demand debit" + "en": "Offer number" } }, { - "value": "8", + "code": "AAH", "name": { - "en": "Hold" + "en": "Bank's batch interbank transaction reference number" } }, { - "value": "9", + "code": "AAI", "name": { - "en": "National or regional clearing" + "en": "Bank's individual interbank transaction reference number" } }, { - "value": "10", + "code": "AAJ", "name": { - "en": "In cash" + "en": "Delivery order number" } }, { - "value": "11", + "code": "AAK", "name": { - "en": "ACH savings credit reversal" + "en": "Despatch advice number" } }, { - "value": "12", + "code": "AAL", "name": { - "en": "ACH savings debit reversal" + "en": "Drawing number" } }, { - "value": "13", + "code": "AAM", "name": { - "en": "ACH savings credit" + "en": "Waybill number" } }, { - "value": "14", + "code": "AAN", "name": { - "en": "ACH savings debit" + "en": "Delivery schedule number" } }, { - "value": "15", + "code": "AAO", "name": { - "en": "Bookentry credit" + "en": "Consignment identifier, consignee assigned" } }, { - "value": "16", + "code": "AAP", "name": { - "en": "Bookentry debit" + "en": "Partial shipment identifier" } }, { - "value": "17", + "code": "AAQ", "name": { - "en": "ACH demand cash concentration/disbursement (CCD) credit" + "en": "Transport equipment identifier" } }, { - "value": "18", + "code": "AAR", "name": { - "en": "ACH demand cash concentration/disbursement (CCD) debit" + "en": "Municipality assigned business registry number" } }, { - "value": "19", + "code": "AAS", "name": { - "en": "ACH demand corporate trade payment (CTP) credit" + "en": "Transport contract document identifier" } }, { - "value": "20", + "code": "AAT", "name": { - "en": "Cheque" + "en": "Master label number" } }, { - "value": "21", + "code": "AAU", "name": { - "en": "Banker's draft" + "en": "Despatch note document identifier" } }, { - "value": "22", + "code": "AAV", "name": { - "en": "Certified banker's draft" + "en": "Enquiry number" } }, { - "value": "23", + "code": "AAW", "name": { - "en": "Bank cheque (issued by a banking or similar establishment)" + "en": "Docket number" } }, { - "value": "24", + "code": "AAX", "name": { - "en": "Bill of exchange awaiting acceptance" + "en": "Civil action number" } }, { - "value": "25", + "code": "AAY", "name": { - "en": "Certified cheque" + "en": "Carrier's agent reference number" } }, { - "value": "26", + "code": "AAZ", "name": { - "en": "Local cheque" + "en": "Standard Carrier Alpha Code (SCAC) number" } }, { - "value": "27", + "code": "ABA", "name": { - "en": "ACH demand corporate trade payment (CTP) debit" + "en": "Customs valuation decision number" } }, { - "value": "28", + "code": "ABB", "name": { - "en": "ACH demand corporate trade exchange (CTX) credit" + "en": "End use authorization number" } }, { - "value": "29", + "code": "ABC", "name": { - "en": "ACH demand corporate trade exchange (CTX) debit" + "en": "Anti-dumping case number" } }, { - "value": "30", + "code": "ABD", "name": { - "en": "Credit transfer" + "en": "Customs tariff number" } }, { - "value": "31", + "code": "ABE", "name": { - "en": "Debit transfer" + "en": "Declarant's reference number" } }, { - "value": "32", + "code": "ABF", "name": { - "en": "ACH demand cash concentration/disbursement plus (CCD+)" + "en": "Repair estimate number" } }, { - "value": "33", + "code": "ABG", "name": { - "en": "ACH demand cash concentration/disbursement plus (CCD+)" + "en": "Customs decision request number" } }, { - "value": "34", + "code": "ABH", "name": { - "en": "ACH prearranged payment and deposit (PPD)" + "en": "Sub-house bill of lading number" } }, { - "value": "35", + "code": "ABI", "name": { - "en": "ACH savings cash concentration/disbursement (CCD) credit" + "en": "Tax payment identifier" } }, { - "value": "36", + "code": "ABJ", "name": { - "en": "ACH savings cash concentration/disbursement (CCD) debit" + "en": "Quota number" } }, { - "value": "37", + "code": "ABK", "name": { - "en": "ACH savings corporate trade payment (CTP) credit" + "en": "Transit (onward carriage) guarantee (bond) number" } }, { - "value": "38", + "code": "ABL", "name": { - "en": "ACH savings corporate trade payment (CTP) debit" + "en": "Customs guarantee number" } }, { - "value": "39", + "code": "ABM", "name": { - "en": "ACH savings corporate trade exchange (CTX) credit" + "en": "Replacing part number" } }, { - "value": "40", + "code": "ABN", "name": { - "en": "ACH savings corporate trade exchange (CTX) debit" + "en": "Seller's catalogue number" } }, { - "value": "41", + "code": "ABO", "name": { - "en": "ACH savings cash concentration/disbursement plus (CCD+)" + "en": "Originator's reference" } }, { - "value": "42", + "code": "ABP", "name": { - "en": "Payment to bank account" + "en": "Declarant's Customs identity number" } }, { - "value": "43", + "code": "ABQ", "name": { - "en": "ACH savings cash concentration/disbursement plus (CCD+)" + "en": "Importer reference number" } }, { - "value": "44", + "code": "ABR", "name": { - "en": "Accepted bill of exchange" + "en": "Export clearance instruction reference number" } }, { - "value": "45", + "code": "ABS", "name": { - "en": "Referenced home-banking credit transfer" + "en": "Import clearance instruction reference number" } }, { - "value": "46", + "code": "ABT", "name": { - "en": "Interbank debit transfer" + "en": "Goods declaration document identifier, Customs" } }, { - "value": "47", + "code": "ABU", "name": { - "en": "Home-banking debit transfer" + "en": "Article number" } }, { - "value": "48", + "code": "ABV", "name": { - "en": "Bank card" + "en": "Intra-plant routing" } }, { - "value": "49", + "code": "ABW", "name": { - "en": "Direct debit" + "en": "Stock keeping unit number" } }, { - "value": "50", + "code": "ABX", "name": { - "en": "Payment by postgiro" + "en": "Text Element Identifier deletion reference" } }, { - "value": "51", + "code": "ABY", "name": { - "en": "FR, norme 6 97-Telereglement CFONB (French Organisation for" + "en": "Allotment identification (Air)" } }, { - "value": "52", + "code": "ABZ", "name": { - "en": "Urgent commercial payment" + "en": "Vehicle licence number" } }, { - "value": "53", + "code": "AC", "name": { - "en": "Urgent Treasury Payment" + "en": "Air cargo transfer manifest" } }, { - "value": "54", + "code": "ACA", "name": { - "en": "Credit card" + "en": "Cargo acceptance order reference number" } }, { - "value": "55", + "code": "ACB", "name": { - "en": "Debit card" + "en": "US government agency number" } }, { - "value": "56", + "code": "ACC", "name": { - "en": "Bankgiro" + "en": "Shipping unit identification" } }, { - "value": "57", + "code": "ACD", "name": { - "en": "Standing agreement" + "en": "Additional reference number" } }, { - "value": "58", + "code": "ACE", "name": { - "en": "SEPA credit transfer" + "en": "Related document number" } }, { - "value": "59", + "code": "ACF", "name": { - "en": "SEPA direct debit" + "en": "Addressee reference" } }, { - "value": "60", + "code": "ACG", "name": { - "en": "Promissory note" + "en": "ATA carnet number" } }, { - "value": "61", + "code": "ACH", "name": { - "en": "Promissory note signed by the debtor" + "en": "Packaging unit identification" } }, { - "value": "62", + "code": "ACI", "name": { - "en": "Promissory note signed by the debtor and endorsed by a bank" + "en": "Outerpackaging unit identification" } }, { - "value": "63", + "code": "ACJ", "name": { - "en": "Promissory note signed by the debtor and endorsed by a" + "en": "Customer material specification number" } }, { - "value": "64", + "code": "ACK", "name": { - "en": "Promissory note signed by a bank" + "en": "Bank reference" } }, { - "value": "65", + "code": "ACL", "name": { - "en": "Promissory note signed by a bank and endorsed by another" + "en": "Principal reference number" } }, { - "value": "66", + "code": "ACN", "name": { - "en": "Promissory note signed by a third party" + "en": "Collection advice document identifier" } }, { - "value": "67", + "code": "ACO", "name": { - "en": "Promissory note signed by a third party and endorsed by a" + "en": "Iron charge number" } }, { - "value": "68", + "code": "ACP", "name": { - "en": "Online payment service" + "en": "Hot roll number" } }, { - "value": "69", + "code": "ACQ", "name": { - "en": "Transfer Advice" + "en": "Cold roll number" } }, { - "value": "70", + "code": "ACR", "name": { - "en": "Bill drawn by the creditor on the debtor" + "en": "Railway wagon number" } }, { - "value": "74", + "code": "ACT", "name": { - "en": "Bill drawn by the creditor on a bank" + "en": "Unique claims reference number of the sender" } }, { - "value": "75", + "code": "ACU", "name": { - "en": "Bill drawn by the creditor, endorsed by another bank" + "en": "Loss/event number" } }, { - "value": "76", + "code": "ACV", "name": { - "en": "Bill drawn by the creditor on a bank and endorsed by a" + "en": "Estimate order reference number" } }, { - "value": "77", + "code": "ACW", "name": { - "en": "Bill drawn by the creditor on a third party" + "en": "Reference number to previous message" } }, { - "value": "78", + "code": "ACX", "name": { - "en": "Bill drawn by creditor on third party, accepted and" + "en": "Banker's acceptance" } }, { - "value": "91", + "code": "ACY", "name": { - "en": "Not transferable banker's draft" + "en": "Duty memo number" } }, { - "value": "92", + "code": "ACZ", "name": { - "en": "Not transferable local cheque" + "en": "Equipment transport charge number" } }, { - "value": "93", + "code": "ADA", "name": { - "en": "Reference giro" + "en": "Buyer's item number" } }, { - "value": "94", + "code": "ADB", "name": { - "en": "Urgent giro" + "en": "Matured certificate of deposit" } }, { - "value": "95", + "code": "ADC", "name": { - "en": "Free format giro" + "en": "Loan" } }, { - "value": "96", + "code": "ADD", "name": { - "en": "Requested method for payment was not used" + "en": "Analysis number/test number" } }, { - "value": "97", + "code": "ADE", "name": { - "en": "Clearing between partners" + "en": "Account number" } }, { - "value": "98", + "code": "ADF", "name": { - "en": "JP, Electronically Recorded Monetary Claims" + "en": "Treaty number" } }, { - "value": "ZZZ", + "code": "ADG", "name": { - "en": "Mutually defined" + "en": "Catastrophe number" } - } - ] - }, - { - "key": "untdid-allowance", - "name": { - "en": "UNTDID 5189 Allowance" - }, - "desc": { - "en": "UNTDID 5189 code used to describe the allowance type. This list is based on the\n[EN16931 code list](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931#RegistryofsupportingartefactstoimplementEN16931-Codelists)\nvalues table which focusses on invoices and payments." - }, - "values": [ + }, { - "value": "41", + "code": "ADI", "name": { - "en": "Bonus for works ahead of schedule" + "en": "Bureau signing (statement reference)" } }, { - "value": "42", + "code": "ADJ", "name": { - "en": "Other bonus" + "en": "Company / syndicate reference 1" } }, { - "value": "60", + "code": "ADK", "name": { - "en": "Manufacturer’s consumer discount" + "en": "Company / syndicate reference 2" } }, { - "value": "62", + "code": "ADL", "name": { - "en": "Due to military status" + "en": "Ordering customer consignment reference number" } }, { - "value": "63", + "code": "ADM", "name": { - "en": "Due to work accident" + "en": "Shipowner's authorization number" } }, { - "value": "64", + "code": "ADN", "name": { - "en": "Special agreement" + "en": "Inland transport order number" } }, { - "value": "65", + "code": "ADO", "name": { - "en": "Production error discount" + "en": "Container work order reference number" } }, { - "value": "66", + "code": "ADP", "name": { - "en": "New outlet discount" + "en": "Statement number" } }, { - "value": "67", + "code": "ADQ", "name": { - "en": "Sample discount" + "en": "Unique market reference" } }, { - "value": "68", + "code": "ADT", "name": { - "en": "End-of-range discount" + "en": "Group accounting" } }, { - "value": "70", + "code": "ADU", "name": { - "en": "Incoterm discount" + "en": "Broker reference 1" } }, { - "value": "71", + "code": "ADV", "name": { - "en": "Point of sales threshold allowance" + "en": "Broker reference 2" } }, { - "value": "88", + "code": "ADW", "name": { - "en": "Material surcharge/deduction" + "en": "Lloyd's claims office reference" } }, { - "value": "95", + "code": "ADX", "name": { - "en": "Discount" + "en": "Secure delivery terms and conditions agreement reference" } }, { - "value": "100", + "code": "ADY", "name": { - "en": "Special rebate" + "en": "Report number" } }, { - "value": "102", + "code": "ADZ", "name": { - "en": "Fixed long term" + "en": "Trader account number" } }, { - "value": "103", + "code": "AE", "name": { - "en": "Temporary" + "en": "Authorization for expense (AFE) number" } }, { - "value": "104", + "code": "AEA", "name": { - "en": "Standard" + "en": "Government agency reference number" } }, { - "value": "105", + "code": "AEB", "name": { - "en": "Yearly turnover" + "en": "Assembly number" } - } - ] - }, - { - "key": "untdid-tax-category", - "name": { - "en": "UNTDID 3505 Tax Category" - }, - "desc": { - "en": "UNTDID 5305 code used to describe the applicable duty/tax/fee category. There are\nmultiple versions and subsets of this table so regimes and addons may need to filter\noptions for a specific subset of values.\n\nData from https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5305.htm." - }, - "values": [ + }, { - "value": "A", + "code": "AEC", "name": { - "en": "Mixed tax rate" + "en": "Symbol number" } }, { - "value": "AA", + "code": "AED", "name": { - "en": "Lower rate" + "en": "Commodity number" } }, { - "value": "AB", + "code": "AEE", "name": { - "en": "Exempt for resale" + "en": "Eur 1 certificate number" } }, { - "value": "AC", + "code": "AEF", "name": { - "en": "Exempt for resale" + "en": "Customer process specification number" } }, { - "value": "AD", + "code": "AEG", "name": { - "en": "Value Added Tax (VAT) due from a previous invoice" + "en": "Customer specification number" } }, { - "value": "AE", + "code": "AEH", "name": { - "en": "VAT Reverse Charge" + "en": "Applicable instructions or standards" } }, { - "value": "B", + "code": "AEI", "name": { - "en": "Transferred (VAT)" + "en": "Registration number of previous Customs declaration" } }, { - "value": "C", + "code": "AEJ", "name": { - "en": "Duty paid by supplier" + "en": "Post-entry reference" } }, { - "value": "D", + "code": "AEK", "name": { - "en": "Value Added Tax (VAT) margin scheme - travel agents" + "en": "Payment order number" } }, { - "value": "E", + "code": "AEL", "name": { - "en": "Exempt from tax" + "en": "Delivery number (transport)" } }, { - "value": "F", + "code": "AEM", "name": { - "en": "Value Added Tax (VAT) margin scheme - second-hand goods" + "en": "Transport route" } }, { - "value": "G", + "code": "AEN", "name": { - "en": "Free export item, tax not charged" + "en": "Customer's unit inventory number" } }, { - "value": "H", + "code": "AEO", "name": { - "en": "Higher rate" + "en": "Product reservation number" } }, { - "value": "I", + "code": "AEP", "name": { - "en": "Value Added Tax (VAT) margin scheme - works of art" + "en": "Project number" } }, { - "value": "J", + "code": "AEQ", "name": { - "en": "Value Added Tax (VAT) margin scheme - collector's items and antiques" + "en": "Drawing list number" } }, { - "value": "K", + "code": "AER", "name": { - "en": "VAT exempt for EEA intra-community supply of goods and services" + "en": "Project specification number" } }, { - "value": "L", + "code": "AES", "name": { - "en": "Canary Islands general indirect tax" + "en": "Primary reference" } }, { - "value": "M", + "code": "AET", "name": { - "en": "Tax for production, services and importation in Ceuta and Melilla" + "en": "Request for cancellation number" } }, { - "value": "O", + "code": "AEU", "name": { - "en": "Services outside scope of tax" + "en": "Supplier's control number" } }, { - "value": "S", + "code": "AEV", "name": { - "en": "Standard Rate" + "en": "Shipping note number" } }, { - "value": "Z", + "code": "AEW", "name": { - "en": "Zero rated goods" + "en": "Empty container bill number" + } + }, + { + "code": "AEX", + "name": { + "en": "Non-negotiable maritime transport document number" + } + }, + { + "code": "AEY", + "name": { + "en": "Substitute air waybill number" + } + }, + { + "code": "AEZ", + "name": { + "en": "Despatch note (post parcels) number" + } + }, + { + "code": "AF", + "name": { + "en": "Airlines flight identification number" + } + }, + { + "code": "AFA", + "name": { + "en": "Through bill of lading number" + } + }, + { + "code": "AFB", + "name": { + "en": "Cargo manifest number" + } + }, + { + "code": "AFC", + "name": { + "en": "Bordereau number" + } + }, + { + "code": "AFD", + "name": { + "en": "Customs item number" + } + }, + { + "code": "AFE", + "name": { + "en": "Export Control Commodity number (ECCN)" + } + }, + { + "code": "AFF", + "name": { + "en": "Marking/label reference" + } + }, + { + "code": "AFG", + "name": { + "en": "Tariff number" + } + }, + { + "code": "AFH", + "name": { + "en": "Replenishment purchase order number" + } + }, + { + "code": "AFI", + "name": { + "en": "Immediate transportation no. for in bond movement" + } + }, + { + "code": "AFJ", + "name": { + "en": "Transportation exportation no. for in bond movement" + } + }, + { + "code": "AFK", + "name": { + "en": "Immediate exportation no. for in bond movement" + } + }, + { + "code": "AFL", + "name": { + "en": "Associated invoices" + } + }, + { + "code": "AFM", + "name": { + "en": "Secondary Customs reference" + } + }, + { + "code": "AFN", + "name": { + "en": "Account party's reference" + } + }, + { + "code": "AFO", + "name": { + "en": "Beneficiary's reference" + } + }, + { + "code": "AFP", + "name": { + "en": "Second beneficiary's reference" + } + }, + { + "code": "AFQ", + "name": { + "en": "Applicant's bank reference" + } + }, + { + "code": "AFR", + "name": { + "en": "Issuing bank's reference" + } + }, + { + "code": "AFS", + "name": { + "en": "Beneficiary's bank reference" + } + }, + { + "code": "AFT", + "name": { + "en": "Direct payment valuation number" + } + }, + { + "code": "AFU", + "name": { + "en": "Direct payment valuation request number" + } + }, + { + "code": "AFV", + "name": { + "en": "Quantity valuation number" + } + }, + { + "code": "AFW", + "name": { + "en": "Quantity valuation request number" + } + }, + { + "code": "AFX", + "name": { + "en": "Bill of quantities number" + } + }, + { + "code": "AFY", + "name": { + "en": "Payment valuation number" + } + }, + { + "code": "AFZ", + "name": { + "en": "Situation number" + } + }, + { + "code": "AGA", + "name": { + "en": "Agreement to pay number" + } + }, + { + "code": "AGB", + "name": { + "en": "Contract party reference number" + } + }, + { + "code": "AGC", + "name": { + "en": "Account party's bank reference" + } + }, + { + "code": "AGD", + "name": { + "en": "Agent's bank reference" + } + }, + { + "code": "AGE", + "name": { + "en": "Agent's reference" + } + }, + { + "code": "AGF", + "name": { + "en": "Applicant's reference" + } + }, + { + "code": "AGG", + "name": { + "en": "Dispute number" + } + }, + { + "code": "AGH", + "name": { + "en": "Credit rating agency's reference number" + } + }, + { + "code": "AGI", + "name": { + "en": "Request number" + } + }, + { + "code": "AGJ", + "name": { + "en": "Single transaction sequence number" + } + }, + { + "code": "AGK", + "name": { + "en": "Application reference number" + } + }, + { + "code": "AGL", + "name": { + "en": "Delivery verification certificate" + } + }, + { + "code": "AGM", + "name": { + "en": "Number of temporary importation document" + } + }, + { + "code": "AGN", + "name": { + "en": "Reference number quoted on statement" + } + }, + { + "code": "AGO", + "name": { + "en": "Sender's reference to the original message" + } + }, + { + "code": "AGP", + "name": { + "en": "Company issued equipment ID" + } + }, + { + "code": "AGQ", + "name": { + "en": "Domestic flight number" + } + }, + { + "code": "AGR", + "name": { + "en": "International flight number" + } + }, + { + "code": "AGS", + "name": { + "en": "Employer identification number of service bureau" + } + }, + { + "code": "AGT", + "name": { + "en": "Service group identification number" + } + }, + { + "code": "AGU", + "name": { + "en": "Member number" + } + }, + { + "code": "AGV", + "name": { + "en": "Previous member number" + } + }, + { + "code": "AGW", + "name": { + "en": "Scheme/plan number" + } + }, + { + "code": "AGX", + "name": { + "en": "Previous scheme/plan number" + } + }, + { + "code": "AGY", + "name": { + "en": "Receiving party's member identification" + } + }, + { + "code": "AGZ", + "name": { + "en": "Payroll number" + } + }, + { + "code": "AHA", + "name": { + "en": "Packaging specification number" + } + }, + { + "code": "AHB", + "name": { + "en": "Authority issued equipment identification" + } + }, + { + "code": "AHC", + "name": { + "en": "Training flight number" + } + }, + { + "code": "AHD", + "name": { + "en": "Fund code number" + } + }, + { + "code": "AHE", + "name": { + "en": "Signal code number" + } + }, + { + "code": "AHF", + "name": { + "en": "Major force program number" + } + }, + { + "code": "AHG", + "name": { + "en": "Nomination number" + } + }, + { + "code": "AHH", + "name": { + "en": "Laboratory registration number" + } + }, + { + "code": "AHI", + "name": { + "en": "Transport contract reference number" + } + }, + { + "code": "AHJ", + "name": { + "en": "Payee's reference number" + } + }, + { + "code": "AHK", + "name": { + "en": "Payer's reference number" + } + }, + { + "code": "AHL", + "name": { + "en": "Creditor's reference number" + } + }, + { + "code": "AHM", + "name": { + "en": "Debtor's reference number" + } + }, + { + "code": "AHN", + "name": { + "en": "Joint venture reference number" + } + }, + { + "code": "AHO", + "name": { + "en": "Chamber of Commerce registration number" + } + }, + { + "code": "AHP", + "name": { + "en": "Tax registration number" + } + }, + { + "code": "AHQ", + "name": { + "en": "Wool identification number" + } + }, + { + "code": "AHR", + "name": { + "en": "Wool tax reference number" + } + }, + { + "code": "AHS", + "name": { + "en": "Meat processing establishment registration number" + } + }, + { + "code": "AHT", + "name": { + "en": "Quarantine/treatment status reference number" + } + }, + { + "code": "AHU", + "name": { + "en": "Request for quote number" + } + }, + { + "code": "AHV", + "name": { + "en": "Manual processing authority number" + } + }, + { + "code": "AHX", + "name": { + "en": "Rate note number" + } + }, + { + "code": "AHY", + "name": { + "en": "Freight Forwarder number" + } + }, + { + "code": "AHZ", + "name": { + "en": "Customs release code" + } + }, + { + "code": "AIA", + "name": { + "en": "Compliance code number" + } + }, + { + "code": "AIB", + "name": { + "en": "Department of transportation bond number" + } + }, + { + "code": "AIC", + "name": { + "en": "Export establishment number" + } + }, + { + "code": "AID", + "name": { + "en": "Certificate of conformity" + } + }, + { + "code": "AIE", + "name": { + "en": "Ministerial certificate of homologation" + } + }, + { + "code": "AIF", + "name": { + "en": "Previous delivery instruction number" + } + }, + { + "code": "AIG", + "name": { + "en": "Passport number" + } + }, + { + "code": "AIH", + "name": { + "en": "Common transaction reference number" + } + }, + { + "code": "AII", + "name": { + "en": "Bank's common transaction reference number" + } + }, + { + "code": "AIJ", + "name": { + "en": "Customer's individual transaction reference number" + } + }, + { + "code": "AIK", + "name": { + "en": "Bank's individual transaction reference number" + } + }, + { + "code": "AIL", + "name": { + "en": "Customer's common transaction reference number" + } + }, + { + "code": "AIM", + "name": { + "en": "Individual transaction reference number" + } + }, + { + "code": "AIN", + "name": { + "en": "Product sourcing agreement number" + } + }, + { + "code": "AIO", + "name": { + "en": "Customs transhipment number" + } + }, + { + "code": "AIP", + "name": { + "en": "Customs preference inquiry number" + } + }, + { + "code": "AIQ", + "name": { + "en": "Packing plant number" + } + }, + { + "code": "AIR", + "name": { + "en": "Original certificate number" + } + }, + { + "code": "AIS", + "name": { + "en": "Processing plant number" + } + }, + { + "code": "AIT", + "name": { + "en": "Slaughter plant number" + } + }, + { + "code": "AIU", + "name": { + "en": "Charge card account number" + } + }, + { + "code": "AIV", + "name": { + "en": "Event reference number" + } + }, + { + "code": "AIW", + "name": { + "en": "Transport section reference number" + } + }, + { + "code": "AIX", + "name": { + "en": "Referred product for mechanical analysis" + } + }, + { + "code": "AIY", + "name": { + "en": "Referred product for chemical analysis" + } + }, + { + "code": "AIZ", + "name": { + "en": "Consolidated invoice number" + } + }, + { + "code": "AJA", + "name": { + "en": "Part reference indicator in a drawing" + } + }, + { + "code": "AJB", + "name": { + "en": "U.S. Code of Federal Regulations (CFR)" + } + }, + { + "code": "AJC", + "name": { + "en": "Purchasing activity clause number" + } + }, + { + "code": "AJD", + "name": { + "en": "U.S. Defense Federal Acquisition Regulation Supplement" + } + }, + { + "code": "AJE", + "name": { + "en": "Agency clause number" + } + }, + { + "code": "AJF", + "name": { + "en": "Circular publication number" + } + }, + { + "code": "AJG", + "name": { + "en": "U.S. Federal Acquisition Regulation" + } + }, + { + "code": "AJH", + "name": { + "en": "U.S. General Services Administration Regulation" + } + }, + { + "code": "AJI", + "name": { + "en": "U.S. Federal Information Resources Management Regulation" + } + }, + { + "code": "AJJ", + "name": { + "en": "Paragraph" + } + }, + { + "code": "AJK", + "name": { + "en": "Special instructions number" + } + }, + { + "code": "AJL", + "name": { + "en": "Site specific procedures, terms, and conditions number" + } + }, + { + "code": "AJM", + "name": { + "en": "Master solicitation procedures, terms, and conditions" + } + }, + { + "code": "AJN", + "name": { + "en": "U.S. Department of Veterans Affairs Acquisition Regulation" + } + }, + { + "code": "AJO", + "name": { + "en": "Military Interdepartmental Purchase Request (MIPR) number" + } + }, + { + "code": "AJP", + "name": { + "en": "Foreign military sales number" + } + }, + { + "code": "AJQ", + "name": { + "en": "Defense priorities allocation system priority rating" + } + }, + { + "code": "AJR", + "name": { + "en": "Wage determination number" + } + }, + { + "code": "AJS", + "name": { + "en": "Agreement number" + } + }, + { + "code": "AJT", + "name": { + "en": "Standard Industry Classification (SIC) number" + } + }, + { + "code": "AJU", + "name": { + "en": "End item number" + } + }, + { + "code": "AJV", + "name": { + "en": "Federal supply schedule item number" + } + }, + { + "code": "AJW", + "name": { + "en": "Technical document number" + } + }, + { + "code": "AJX", + "name": { + "en": "Technical order number" + } + }, + { + "code": "AJY", + "name": { + "en": "Suffix" + } + }, + { + "code": "AJZ", + "name": { + "en": "Transportation account number" + } + }, + { + "code": "AKA", + "name": { + "en": "Container disposition order reference number" + } + }, + { + "code": "AKB", + "name": { + "en": "Container prefix" + } + }, + { + "code": "AKC", + "name": { + "en": "Transport equipment return reference" + } + }, + { + "code": "AKD", + "name": { + "en": "Transport equipment survey reference" + } + }, + { + "code": "AKE", + "name": { + "en": "Transport equipment survey report number" + } + }, + { + "code": "AKF", + "name": { + "en": "Transport equipment stuffing order" + } + }, + { + "code": "AKG", + "name": { + "en": "Vehicle Identification Number (VIN)" + } + }, + { + "code": "AKH", + "name": { + "en": "Government bill of lading" + } + }, + { + "code": "AKI", + "name": { + "en": "Ordering customer's second reference number" + } + }, + { + "code": "AKJ", + "name": { + "en": "Direct debit reference" + } + }, + { + "code": "AKK", + "name": { + "en": "Meter reading at the beginning of the delivery" + } + }, + { + "code": "AKL", + "name": { + "en": "Meter reading at the end of delivery" + } + }, + { + "code": "AKM", + "name": { + "en": "Replenishment purchase order range start number" + } + }, + { + "code": "AKN", + "name": { + "en": "Third bank's reference" + } + }, + { + "code": "AKO", + "name": { + "en": "Action authorization number" + } + }, + { + "code": "AKP", + "name": { + "en": "Appropriation number" + } + }, + { + "code": "AKQ", + "name": { + "en": "Product change authority number" + } + }, + { + "code": "AKR", + "name": { + "en": "General cargo consignment reference number" + } + }, + { + "code": "AKS", + "name": { + "en": "Catalogue sequence number" + } + }, + { + "code": "AKT", + "name": { + "en": "Forwarding order number" + } + }, + { + "code": "AKU", + "name": { + "en": "Transport equipment survey reference number" + } + }, + { + "code": "AKV", + "name": { + "en": "Lease contract reference" + } + }, + { + "code": "AKW", + "name": { + "en": "Transport costs reference number" + } + }, + { + "code": "AKX", + "name": { + "en": "Transport equipment stripping order" + } + }, + { + "code": "AKY", + "name": { + "en": "Prior policy number" + } + }, + { + "code": "AKZ", + "name": { + "en": "Policy number" + } + }, + { + "code": "ALA", + "name": { + "en": "Procurement budget number" + } + }, + { + "code": "ALB", + "name": { + "en": "Domestic inventory management code" + } + }, + { + "code": "ALC", + "name": { + "en": "Customer reference number assigned to previous balance of" + } + }, + { + "code": "ALD", + "name": { + "en": "Previous credit advice reference number" + } + }, + { + "code": "ALE", + "name": { + "en": "Reporting form number" + } + }, + { + "code": "ALF", + "name": { + "en": "Authorization number for exception to dangerous goods" + } + }, + { + "code": "ALG", + "name": { + "en": "Dangerous goods security number" + } + }, + { + "code": "ALH", + "name": { + "en": "Dangerous goods transport licence number" + } + }, + { + "code": "ALI", + "name": { + "en": "Previous rental agreement number" + } + }, + { + "code": "ALJ", + "name": { + "en": "Next rental agreement reason number" + } + }, + { + "code": "ALK", + "name": { + "en": "Consignee's invoice number" + } + }, + { + "code": "ALL", + "name": { + "en": "Message batch number" + } + }, + { + "code": "ALM", + "name": { + "en": "Previous delivery schedule number" + } + }, + { + "code": "ALN", + "name": { + "en": "Physical inventory recount reference number" + } + }, + { + "code": "ALO", + "name": { + "en": "Receiving advice number" + } + }, + { + "code": "ALP", + "name": { + "en": "Returnable container reference number" + } + }, + { + "code": "ALQ", + "name": { + "en": "Returns notice number" + } + }, + { + "code": "ALR", + "name": { + "en": "Sales forecast number" + } + }, + { + "code": "ALS", + "name": { + "en": "Sales report number" + } + }, + { + "code": "ALT", + "name": { + "en": "Previous tax control number" + } + }, + { + "code": "ALU", + "name": { + "en": "AGERD (Aerospace Ground Equipment Requirement Data) number" + } + }, + { + "code": "ALV", + "name": { + "en": "Registered capital reference" + } + }, + { + "code": "ALW", + "name": { + "en": "Standard number of inspection document" + } + }, + { + "code": "ALX", + "name": { + "en": "Model" + } + }, + { + "code": "ALY", + "name": { + "en": "Financial management reference" + } + }, + { + "code": "ALZ", + "name": { + "en": "NOTIfication for COLlection number (NOTICOL)" + } + }, + { + "code": "AMA", + "name": { + "en": "Previous request for metered reading reference number" + } + }, + { + "code": "AMB", + "name": { + "en": "Next rental agreement number" + } + }, + { + "code": "AMC", + "name": { + "en": "Reference number of a request for metered reading" + } + }, + { + "code": "AMD", + "name": { + "en": "Hastening number" + } + }, + { + "code": "AME", + "name": { + "en": "Repair data request number" + } + }, + { + "code": "AMF", + "name": { + "en": "Consumption data request number" + } + }, + { + "code": "AMG", + "name": { + "en": "Profile number" + } + }, + { + "code": "AMH", + "name": { + "en": "Case number" + } + }, + { + "code": "AMI", + "name": { + "en": "Government quality assurance and control level Number" + } + }, + { + "code": "AMJ", + "name": { + "en": "Payment plan reference" + } + }, + { + "code": "AMK", + "name": { + "en": "Replaced meter unit number" + } + }, + { + "code": "AML", + "name": { + "en": "Replenishment purchase order range end number" + } + }, + { + "code": "AMM", + "name": { + "en": "Insurer assigned reference number" + } + }, + { + "code": "AMN", + "name": { + "en": "Canadian excise entry number" + } + }, + { + "code": "AMO", + "name": { + "en": "Premium rate table" + } + }, + { + "code": "AMP", + "name": { + "en": "Advise through bank's reference" + } + }, + { + "code": "AMQ", + "name": { + "en": "US, Department of Transportation bond surety code" + } + }, + { + "code": "AMR", + "name": { + "en": "US, Food and Drug Administration establishment indicator" + } + }, + { + "code": "AMS", + "name": { + "en": "US, Federal Communications Commission (FCC) import" + } + }, + { + "code": "AMT", + "name": { + "en": "Goods and Services Tax identification number" + } + }, + { + "code": "AMU", + "name": { + "en": "Integrated logistic support cross reference number" + } + }, + { + "code": "AMV", + "name": { + "en": "Department number" + } + }, + { + "code": "AMW", + "name": { + "en": "Buyer's catalogue number" + } + }, + { + "code": "AMX", + "name": { + "en": "Financial settlement party's reference number" + } + }, + { + "code": "AMY", + "name": { + "en": "Standard's version number" + } + }, + { + "code": "AMZ", + "name": { + "en": "Pipeline number" + } + }, + { + "code": "ANA", + "name": { + "en": "Account servicing bank's reference number" + } + }, + { + "code": "ANB", + "name": { + "en": "Completed units payment request reference" + } + }, + { + "code": "ANC", + "name": { + "en": "Payment in advance request reference" + } + }, + { + "code": "AND", + "name": { + "en": "Parent file" + } + }, + { + "code": "ANE", + "name": { + "en": "Sub file" + } + }, + { + "code": "ANF", + "name": { + "en": "CAD file layer convention" + } + }, + { + "code": "ANG", + "name": { + "en": "Technical regulation" + } + }, + { + "code": "ANH", + "name": { + "en": "Plot file" + } + }, + { + "code": "ANI", + "name": { + "en": "File conversion journal" + } + }, + { + "code": "ANJ", + "name": { + "en": "Authorization number" + } + }, + { + "code": "ANK", + "name": { + "en": "Reference number assigned by third party" + } + }, + { + "code": "ANL", + "name": { + "en": "Deposit reference number" + } + }, + { + "code": "ANM", + "name": { + "en": "Named bank's reference" + } + }, + { + "code": "ANN", + "name": { + "en": "Drawee's reference" + } + }, + { + "code": "ANO", + "name": { + "en": "Case of need party's reference" + } + }, + { + "code": "ANP", + "name": { + "en": "Collecting bank's reference" + } + }, + { + "code": "ANQ", + "name": { + "en": "Remitting bank's reference" + } + }, + { + "code": "ANR", + "name": { + "en": "Principal's bank reference" + } + }, + { + "code": "ANS", + "name": { + "en": "Presenting bank's reference" + } + }, + { + "code": "ANT", + "name": { + "en": "Consignee's reference" + } + }, + { + "code": "ANU", + "name": { + "en": "Financial transaction reference number" + } + }, + { + "code": "ANV", + "name": { + "en": "Credit reference number" + } + }, + { + "code": "ANW", + "name": { + "en": "Receiving bank's authorization number" + } + }, + { + "code": "ANX", + "name": { + "en": "Clearing reference" + } + }, + { + "code": "ANY", + "name": { + "en": "Sending bank's reference number" + } + }, + { + "code": "AOA", + "name": { + "en": "Documentary payment reference" + } + }, + { + "code": "AOD", + "name": { + "en": "Accounting file reference" + } + }, + { + "code": "AOE", + "name": { + "en": "Sender's file reference number" + } + }, + { + "code": "AOF", + "name": { + "en": "Receiver's file reference number" + } + }, + { + "code": "AOG", + "name": { + "en": "Source document internal reference" + } + }, + { + "code": "AOH", + "name": { + "en": "Principal's reference" + } + }, + { + "code": "AOI", + "name": { + "en": "Debit reference number" + } + }, + { + "code": "AOJ", + "name": { + "en": "Calendar" + } + }, + { + "code": "AOK", + "name": { + "en": "Work shift" + } + }, + { + "code": "AOL", + "name": { + "en": "Work breakdown structure" + } + }, + { + "code": "AOM", + "name": { + "en": "Organisation breakdown structure" + } + }, + { + "code": "AON", + "name": { + "en": "Work task charge number" + } + }, + { + "code": "AOO", + "name": { + "en": "Functional work group" + } + }, + { + "code": "AOP", + "name": { + "en": "Work team" + } + }, + { + "code": "AOQ", + "name": { + "en": "Department" + } + }, + { + "code": "AOR", + "name": { + "en": "Statement of work" + } + }, + { + "code": "AOS", + "name": { + "en": "Work package" + } + }, + { + "code": "AOT", + "name": { + "en": "Planning package" + } + }, + { + "code": "AOU", + "name": { + "en": "Cost account" + } + }, + { + "code": "AOV", + "name": { + "en": "Work order" + } + }, + { + "code": "AOW", + "name": { + "en": "Transportation Control Number (TCN)" + } + }, + { + "code": "AOX", + "name": { + "en": "Constraint notation" + } + }, + { + "code": "AOY", + "name": { + "en": "ETERMS reference" + } + }, + { + "code": "AOZ", + "name": { + "en": "Implementation version number" + } + }, + { + "code": "AP", + "name": { + "en": "Accounts receivable number" + } + }, + { + "code": "APA", + "name": { + "en": "Incorporated legal reference" + } + }, + { + "code": "APB", + "name": { + "en": "Payment instalment reference number" + } + }, + { + "code": "APC", + "name": { + "en": "Equipment owner reference number" + } + }, + { + "code": "APD", + "name": { + "en": "Cedent's claim number" + } + }, + { + "code": "APE", + "name": { + "en": "Reinsurer's claim number" + } + }, + { + "code": "APF", + "name": { + "en": "Price/sales catalogue response reference number" + } + }, + { + "code": "APG", + "name": { + "en": "General purpose message reference number" + } + }, + { + "code": "APH", + "name": { + "en": "Invoicing data sheet reference number" + } + }, + { + "code": "API", + "name": { + "en": "Inventory report reference number" + } + }, + { + "code": "APJ", + "name": { + "en": "Ceiling formula reference number" + } + }, + { + "code": "APK", + "name": { + "en": "Price variation formula reference number" + } + }, + { + "code": "APL", + "name": { + "en": "Reference to account servicing bank's message" + } + }, + { + "code": "APM", + "name": { + "en": "Party sequence number" + } + }, + { + "code": "APN", + "name": { + "en": "Purchaser's request reference" + } + }, + { + "code": "APO", + "name": { + "en": "Contractor request reference" + } + }, + { + "code": "APP", + "name": { + "en": "Accident reference number" + } + }, + { + "code": "APQ", + "name": { + "en": "Commercial account summary reference number" + } + }, + { + "code": "APR", + "name": { + "en": "Contract breakdown reference" + } + }, + { + "code": "APS", + "name": { + "en": "Contractor registration number" + } + }, + { + "code": "APT", + "name": { + "en": "Applicable coefficient identification number" + } + }, + { + "code": "APU", + "name": { + "en": "Special budget account number" + } + }, + { + "code": "APV", + "name": { + "en": "Authorisation for repair reference" + } + }, + { + "code": "APW", + "name": { + "en": "Manufacturer defined repair rates reference" + } + }, + { + "code": "APX", + "name": { + "en": "Original submitter log number" + } + }, + { + "code": "APY", + "name": { + "en": "Original submitter, parent Data Maintenance Request (DMR)" + } + }, + { + "code": "APZ", + "name": { + "en": "Original submitter, child Data Maintenance Request (DMR)" + } + }, + { + "code": "AQA", + "name": { + "en": "Entry point assessment log number" + } + }, + { + "code": "AQB", + "name": { + "en": "Entry point assessment log number, parent DMR" + } + }, + { + "code": "AQC", + "name": { + "en": "Entry point assessment log number, child DMR" + } + }, + { + "code": "AQD", + "name": { + "en": "Data structure tag" + } + }, + { + "code": "AQE", + "name": { + "en": "Central secretariat log number" + } + }, + { + "code": "AQF", + "name": { + "en": "Central secretariat log number, parent Data Maintenance" + } + }, + { + "code": "AQG", + "name": { + "en": "Central secretariat log number, child Data Maintenance" + } + }, + { + "code": "AQH", + "name": { + "en": "International assessment log number" + } + }, + { + "code": "AQI", + "name": { + "en": "International assessment log number, parent Data" + } + }, + { + "code": "AQJ", + "name": { + "en": "International assessment log number, child Data Maintenance" + } + }, + { + "code": "AQK", + "name": { + "en": "Status report number" + } + }, + { + "code": "AQL", + "name": { + "en": "Message design group number" + } + }, + { + "code": "AQM", + "name": { + "en": "US Customs Service (USCS) entry code" + } + }, + { + "code": "AQN", + "name": { + "en": "Beginning job sequence number" + } + }, + { + "code": "AQO", + "name": { + "en": "Sender's clause number" + } + }, + { + "code": "AQP", + "name": { + "en": "Dun and Bradstreet Canada's 8 digit Standard Industrial" + } + }, + { + "code": "AQQ", + "name": { + "en": "Activite Principale Exercee (APE) identifier" + } + }, + { + "code": "AQR", + "name": { + "en": "Dun and Bradstreet US 8 digit Standard Industrial" + } + }, + { + "code": "AQS", + "name": { + "en": "Nomenclature Activity Classification Economy (NACE)" + } + }, + { + "code": "AQT", + "name": { + "en": "Norme Activite Francaise (NAF) identifier" + } + }, + { + "code": "AQU", + "name": { + "en": "Registered contractor activity type" + } + }, + { + "code": "AQV", + "name": { + "en": "Statistic Bundes Amt (SBA) identifier" + } + }, + { + "code": "AQW", + "name": { + "en": "State or province assigned entity identification" + } + }, + { + "code": "AQX", + "name": { + "en": "Institute of Security and Future Market Development (ISFMD)" + } + }, + { + "code": "AQY", + "name": { + "en": "File identification number" + } + }, + { + "code": "AQZ", + "name": { + "en": "Bankruptcy procedure number" + } + }, + { + "code": "ARA", + "name": { + "en": "National government business identification number" + } + }, + { + "code": "ARB", + "name": { + "en": "Prior Data Universal Number System (DUNS) number" + } + }, + { + "code": "ARC", + "name": { + "en": "Companies Registry Office (CRO) number" + } + }, + { + "code": "ARD", + "name": { + "en": "Costa Rican judicial number" + } + }, + { + "code": "ARE", + "name": { + "en": "Numero de Identificacion Tributaria (NIT)" + } + }, + { + "code": "ARF", + "name": { + "en": "Patron number" + } + }, + { + "code": "ARG", + "name": { + "en": "Registro Informacion Fiscal (RIF) number" + } + }, + { + "code": "ARH", + "name": { + "en": "Registro Unico de Contribuyente (RUC) number" + } + }, + { + "code": "ARI", + "name": { + "en": "Tokyo SHOKO Research (TSR) business identifier" + } + }, + { + "code": "ARJ", + "name": { + "en": "Personal identity card number" + } + }, + { + "code": "ARK", + "name": { + "en": "Systeme Informatique pour le Repertoire des ENtreprises" + } + }, + { + "code": "ARL", + "name": { + "en": "Systeme Informatique pour le Repertoire des ETablissements" + } + }, + { + "code": "ARM", + "name": { + "en": "Publication issue number" + } + }, + { + "code": "ARN", + "name": { + "en": "Original filing number" + } + }, + { + "code": "ARO", + "name": { + "en": "Document page identifier" + } + }, + { + "code": "ARP", + "name": { + "en": "Public filing registration number" + } + }, + { + "code": "ARQ", + "name": { + "en": "Regiristo Federal de Contribuyentes" + } + }, + { + "code": "ARR", + "name": { + "en": "Social security number" + } + }, + { + "code": "ARS", + "name": { + "en": "Document volume number" + } + }, + { + "code": "ART", + "name": { + "en": "Book number" + } + }, + { + "code": "ARU", + "name": { + "en": "Stock exchange company identifier" + } + }, + { + "code": "ARV", + "name": { + "en": "Imputation account" + } + }, + { + "code": "ARW", + "name": { + "en": "Financial phase reference" + } + }, + { + "code": "ARX", + "name": { + "en": "Technical phase reference" + } + }, + { + "code": "ARY", + "name": { + "en": "Prior contractor registration number" + } + }, + { + "code": "ARZ", + "name": { + "en": "Stock adjustment number" + } + }, + { + "code": "ASA", + "name": { + "en": "Dispensation reference" + } + }, + { + "code": "ASB", + "name": { + "en": "Investment reference number" + } + }, + { + "code": "ASC", + "name": { + "en": "Assuming company" + } + }, + { + "code": "ASD", + "name": { + "en": "Budget chapter" + } + }, + { + "code": "ASE", + "name": { + "en": "Duty free products security number" + } + }, + { + "code": "ASF", + "name": { + "en": "Duty free products receipt authorisation number" + } + }, + { + "code": "ASG", + "name": { + "en": "Party information message reference" + } + }, + { + "code": "ASH", + "name": { + "en": "Formal statement reference" + } + }, + { + "code": "ASI", + "name": { + "en": "Proof of delivery reference number" + } + }, + { + "code": "ASJ", + "name": { + "en": "Supplier's credit claim reference number" + } + }, + { + "code": "ASK", + "name": { + "en": "Picture of actual product" + } + }, + { + "code": "ASL", + "name": { + "en": "Picture of a generic product" + } + }, + { + "code": "ASM", + "name": { + "en": "Trading partner identification number" + } + }, + { + "code": "ASN", + "name": { + "en": "Prior trading partner identification number" + } + }, + { + "code": "ASO", + "name": { + "en": "Password" + } + }, + { + "code": "ASP", + "name": { + "en": "Formal report number" + } + }, + { + "code": "ASQ", + "name": { + "en": "Fund account number" + } + }, + { + "code": "ASR", + "name": { + "en": "Safe custody number" + } + }, + { + "code": "ASS", + "name": { + "en": "Master account number" + } + }, + { + "code": "AST", + "name": { + "en": "Group reference number" + } + }, + { + "code": "ASU", + "name": { + "en": "Accounting transmission number" + } + }, + { + "code": "ASV", + "name": { + "en": "Product data file number" + } + }, + { + "code": "ASW", + "name": { + "en": "Cadastro Geral do Contribuinte (CGC)" + } + }, + { + "code": "ASX", + "name": { + "en": "Foreign resident identification number" + } + }, + { + "code": "ASY", + "name": { + "en": "CD-ROM" + } + }, + { + "code": "ASZ", + "name": { + "en": "Physical medium" + } + }, + { + "code": "ATA", + "name": { + "en": "Financial cancellation reference number" + } + }, + { + "code": "ATB", + "name": { + "en": "Purchase for export Customs agreement number" + } + }, + { + "code": "ATC", + "name": { + "en": "Judgment number" + } + }, + { + "code": "ATD", + "name": { + "en": "Secretariat number" + } + }, + { + "code": "ATE", + "name": { + "en": "Previous banking status message reference" + } + }, + { + "code": "ATF", + "name": { + "en": "Last received banking status message reference" + } + }, + { + "code": "ATG", + "name": { + "en": "Bank's documentary procedure reference" + } + }, + { + "code": "ATH", + "name": { + "en": "Customer's documentary procedure reference" + } + }, + { + "code": "ATI", + "name": { + "en": "Safe deposit box number" + } + }, + { + "code": "ATJ", + "name": { + "en": "Receiving Bankgiro number" + } + }, + { + "code": "ATK", + "name": { + "en": "Sending Bankgiro number" + } + }, + { + "code": "ATL", + "name": { + "en": "Bankgiro reference" + } + }, + { + "code": "ATM", + "name": { + "en": "Guarantee number" + } + }, + { + "code": "ATN", + "name": { + "en": "Collection instrument number" + } + }, + { + "code": "ATO", + "name": { + "en": "Converted Postgiro number" + } + }, + { + "code": "ATP", + "name": { + "en": "Cost centre alignment number" + } + }, + { + "code": "ATQ", + "name": { + "en": "Kamer Van Koophandel (KVK) number" + } + }, + { + "code": "ATR", + "name": { + "en": "Institut Belgo-Luxembourgeois de Codification (IBLC) number" + } + }, + { + "code": "ATS", + "name": { + "en": "External object reference" + } + }, + { + "code": "ATT", + "name": { + "en": "Exceptional transport authorisation number" + } + }, + { + "code": "ATU", + "name": { + "en": "Clave Unica de Identificacion Tributaria (CUIT)" + } + }, + { + "code": "ATV", + "name": { + "en": "Registro Unico Tributario (RUT)" + } + }, + { + "code": "ATW", + "name": { + "en": "Flat rack container bundle identification number" + } + }, + { + "code": "ATX", + "name": { + "en": "Transport equipment acceptance order reference" + } + }, + { + "code": "ATY", + "name": { + "en": "Transport equipment release order reference" + } + }, + { + "code": "ATZ", + "name": { + "en": "Ship's stay reference number" + } + }, + { + "code": "AU", + "name": { + "en": "Authorization to meet competition number" + } + }, + { + "code": "AUA", + "name": { + "en": "Place of positioning reference" + } + }, + { + "code": "AUB", + "name": { + "en": "Party reference" + } + }, + { + "code": "AUC", + "name": { + "en": "Issued prescription identification" + } + }, + { + "code": "AUD", + "name": { + "en": "Collection reference" + } + }, + { + "code": "AUE", + "name": { + "en": "Travel service" + } + }, + { + "code": "AUF", + "name": { + "en": "Consignment stock contract" + } + }, + { + "code": "AUG", + "name": { + "en": "Importer's letter of credit reference" + } + }, + { + "code": "AUH", + "name": { + "en": "Performed prescription identification" + } + }, + { + "code": "AUI", + "name": { + "en": "Image reference" + } + }, + { + "code": "AUJ", + "name": { + "en": "Proposed purchase order reference number" + } + }, + { + "code": "AUK", + "name": { + "en": "Application for financial support reference number" + } + }, + { + "code": "AUL", + "name": { + "en": "Manufacturing quality agreement number" + } + }, + { + "code": "AUM", + "name": { + "en": "Software editor reference" + } + }, + { + "code": "AUN", + "name": { + "en": "Software reference" + } + }, + { + "code": "AUO", + "name": { + "en": "Software quality reference" + } + }, + { + "code": "AUP", + "name": { + "en": "Consolidated orders' reference" + } + }, + { + "code": "AUQ", + "name": { + "en": "Customs binding ruling number" + } + }, + { + "code": "AUR", + "name": { + "en": "Customs non-binding ruling number" + } + }, + { + "code": "AUS", + "name": { + "en": "Delivery route reference" + } + }, + { + "code": "AUT", + "name": { + "en": "Net area supplier reference" + } + }, + { + "code": "AUU", + "name": { + "en": "Time series reference" + } + }, + { + "code": "AUV", + "name": { + "en": "Connecting point to central grid" + } + }, + { + "code": "AUW", + "name": { + "en": "Marketing plan identification number (MPIN)" + } + }, + { + "code": "AUX", + "name": { + "en": "Entity reference number, previous" + } + }, + { + "code": "AUY", + "name": { + "en": "International Standard Industrial Classification (ISIC)" + } + }, + { + "code": "AUZ", + "name": { + "en": "Customs pre-approval ruling number" + } + }, + { + "code": "AV", + "name": { + "en": "Account payable number" + } + }, + { + "code": "AVA", + "name": { + "en": "First financial institution's transaction reference" + } + }, + { + "code": "AVB", + "name": { + "en": "Product characteristics directory" + } + }, + { + "code": "AVC", + "name": { + "en": "Supplier's customer reference number" + } + }, + { + "code": "AVD", + "name": { + "en": "Inventory report request number" + } + }, + { + "code": "AVE", + "name": { + "en": "Metering point" + } + }, + { + "code": "AVF", + "name": { + "en": "Passenger reservation number" + } + }, + { + "code": "AVG", + "name": { + "en": "Slaughterhouse approval number" + } + }, + { + "code": "AVH", + "name": { + "en": "Meat cutting plant approval number" + } + }, + { + "code": "AVI", + "name": { + "en": "Customer travel service identifier" + } + }, + { + "code": "AVJ", + "name": { + "en": "Export control classification number" + } + }, + { + "code": "AVK", + "name": { + "en": "Broker reference 3" + } + }, + { + "code": "AVL", + "name": { + "en": "Consignment information" + } + }, + { + "code": "AVM", + "name": { + "en": "Goods item information" + } + }, + { + "code": "AVN", + "name": { + "en": "Dangerous Goods information" + } + }, + { + "code": "AVO", + "name": { + "en": "Pilotage services exemption number" + } + }, + { + "code": "AVP", + "name": { + "en": "Person registration number" + } + }, + { + "code": "AVQ", + "name": { + "en": "Place of packing approval number" + } + }, + { + "code": "AVR", + "name": { + "en": "Original Mandate Reference" + } + }, + { + "code": "AVS", + "name": { + "en": "Mandate Reference" + } + }, + { + "code": "AVT", + "name": { + "en": "Reservation station indentifier" + } + }, + { + "code": "AVU", + "name": { + "en": "Unique goods shipment identifier" + } + }, + { + "code": "AVV", + "name": { + "en": "Framework Agreement Number" + } + }, + { + "code": "AVW", + "name": { + "en": "Hash value" + } + }, + { + "code": "AVX", + "name": { + "en": "Movement reference number" + } + }, + { + "code": "AVY", + "name": { + "en": "Economic Operators Registration and Identification Number" + } + }, + { + "code": "AVZ", + "name": { + "en": "Local Reference Number" + } + }, + { + "code": "AWA", + "name": { + "en": "Rate code number" + } + }, + { + "code": "AWB", + "name": { + "en": "Air waybill number" + } + }, + { + "code": "AWC", + "name": { + "en": "Documentary credit amendment number" + } + }, + { + "code": "AWD", + "name": { + "en": "Advising bank's reference" + } + }, + { + "code": "AWE", + "name": { + "en": "Cost centre" + } + }, + { + "code": "AWF", + "name": { + "en": "Work item quantity determination" + } + }, + { + "code": "AWG", + "name": { + "en": "Internal data process number" + } + }, + { + "code": "AWH", + "name": { + "en": "Category of work reference" + } + }, + { + "code": "AWI", + "name": { + "en": "Policy form number" + } + }, + { + "code": "AWJ", + "name": { + "en": "Net area" + } + }, + { + "code": "AWK", + "name": { + "en": "Service provider" + } + }, + { + "code": "AWL", + "name": { + "en": "Error position" + } + }, + { + "code": "AWM", + "name": { + "en": "Service category reference" + } + }, + { + "code": "AWN", + "name": { + "en": "Connected location" + } + }, + { + "code": "AWO", + "name": { + "en": "Related party" + } + }, + { + "code": "AWP", + "name": { + "en": "Latest accounting entry record reference" + } + }, + { + "code": "AWQ", + "name": { + "en": "Accounting entry" + } + }, + { + "code": "AWR", + "name": { + "en": "Document reference, original" + } + }, + { + "code": "AWS", + "name": { + "en": "Hygienic Certificate number, national" + } + }, + { + "code": "AWT", + "name": { + "en": "Administrative Reference Code" + } + }, + { + "code": "AWU", + "name": { + "en": "Pick-up sheet number" + } + }, + { + "code": "AWV", + "name": { + "en": "Phone number" + } + }, + { + "code": "AWW", + "name": { + "en": "Buyer's fund number" + } + }, + { + "code": "AWX", + "name": { + "en": "Company trading account number" + } + }, + { + "code": "AWY", + "name": { + "en": "Reserved goods identifier" + } + }, + { + "code": "AWZ", + "name": { + "en": "Handling and movement reference number" + } + }, + { + "code": "AXA", + "name": { + "en": "Instruction to despatch reference number" + } + }, + { + "code": "AXB", + "name": { + "en": "Instruction for returns number" + } + }, + { + "code": "AXC", + "name": { + "en": "Metered services consumption report number" + } + }, + { + "code": "AXD", + "name": { + "en": "Order status enquiry number" + } + }, + { + "code": "AXE", + "name": { + "en": "Firm booking reference number" + } + }, + { + "code": "AXF", + "name": { + "en": "Product inquiry number" + } + }, + { + "code": "AXG", + "name": { + "en": "Split delivery number" + } + }, + { + "code": "AXH", + "name": { + "en": "Service relation number" + } + }, + { + "code": "AXI", + "name": { + "en": "Serial shipping container code" + } + }, + { + "code": "AXJ", + "name": { + "en": "Test specification number" + } + }, + { + "code": "AXK", + "name": { + "en": "Transport status report number" + } + }, + { + "code": "AXL", + "name": { + "en": "Tooling contract number" + } + }, + { + "code": "AXM", + "name": { + "en": "Formula reference number" + } + }, + { + "code": "AXN", + "name": { + "en": "Pre-agreement number" + } + }, + { + "code": "AXO", + "name": { + "en": "Product certification number" + } + }, + { + "code": "AXP", + "name": { + "en": "Consignment contract number" + } + }, + { + "code": "AXQ", + "name": { + "en": "Product specification reference number" + } + }, + { + "code": "AXR", + "name": { + "en": "Payroll deduction advice reference" + } + }, + { + "code": "AXS", + "name": { + "en": "TRACES party identification" + } + }, + { + "code": "BA", + "name": { + "en": "Beginning meter reading actual" + } + }, + { + "code": "BC", + "name": { + "en": "Buyer's contract number" + } + }, + { + "code": "BD", + "name": { + "en": "Bid number" + } + }, + { + "code": "BE", + "name": { + "en": "Beginning meter reading estimated" + } + }, + { + "code": "BH", + "name": { + "en": "House bill of lading number" + } + }, + { + "code": "BM", + "name": { + "en": "Bill of lading number" + } + }, + { + "code": "BN", + "name": { + "en": "Consignment identifier, carrier assigned" + } + }, + { + "code": "BO", + "name": { + "en": "Blanket order number" + } + }, + { + "code": "BR", + "name": { + "en": "Broker or sales office number" + } + }, + { + "code": "BT", + "name": { + "en": "Batch number/lot number" + } + }, + { + "code": "BTP", + "name": { + "en": "Battery and accumulator producer registration number" + } + }, + { + "code": "BW", + "name": { + "en": "Blended with number" + } + }, + { + "code": "CAS", + "name": { + "en": "IATA Cargo Agent CASS Address number" + } + }, + { + "code": "CAT", + "name": { + "en": "Matching of entries, balanced" + } + }, + { + "code": "CAU", + "name": { + "en": "Entry flagging" + } + }, + { + "code": "CAV", + "name": { + "en": "Matching of entries, unbalanced" + } + }, + { + "code": "CAW", + "name": { + "en": "Document reference, internal" + } + }, + { + "code": "CAX", + "name": { + "en": "European Value Added Tax identification" + } + }, + { + "code": "CAY", + "name": { + "en": "Cost accounting document" + } + }, + { + "code": "CAZ", + "name": { + "en": "Grid operator's customer reference number" + } + }, + { + "code": "CBA", + "name": { + "en": "Ticket control number" + } + }, + { + "code": "CBB", + "name": { + "en": "Order shipment grouping reference" + } + }, + { + "code": "CD", + "name": { + "en": "Credit note number" + } + }, + { + "code": "CEC", + "name": { + "en": "Ceding company" + } + }, + { + "code": "CED", + "name": { + "en": "Debit letter number" + } + }, + { + "code": "CFE", + "name": { + "en": "Consignee's further order" + } + }, + { + "code": "CFF", + "name": { + "en": "Animal farm licence number" + } + }, + { + "code": "CFO", + "name": { + "en": "Consignor's further order" + } + }, + { + "code": "CG", + "name": { + "en": "Consignee's order number" + } + }, + { + "code": "CH", + "name": { + "en": "Customer catalogue number" + } + }, + { + "code": "CK", + "name": { + "en": "Cheque number" + } + }, + { + "code": "CKN", + "name": { + "en": "Checking number" + } + }, + { + "code": "CM", + "name": { + "en": "Credit memo number" + } + }, + { + "code": "CMR", + "name": { + "en": "Road consignment note number" + } + }, + { + "code": "CN", + "name": { + "en": "Carrier's reference number" + } + }, + { + "code": "CNO", + "name": { + "en": "Charges note document attachment indicator" + } + }, + { + "code": "COF", + "name": { + "en": "Call off order number" + } + }, + { + "code": "CP", + "name": { + "en": "Condition of purchase document number" + } + }, + { + "code": "CR", + "name": { + "en": "Customer reference number" + } + }, + { + "code": "CRN", + "name": { + "en": "Transport means journey identifier" + } + }, + { + "code": "CS", + "name": { + "en": "Condition of sale document number" + } + }, + { + "code": "CST", + "name": { + "en": "Team assignment number" + } + }, + { + "code": "CT", + "name": { + "en": "Contract number" + } + }, + { + "code": "CU", + "name": { + "en": "Consignment identifier, consignor assigned" + } + }, + { + "code": "CV", + "name": { + "en": "Container operators reference number" + } + }, + { + "code": "CW", + "name": { + "en": "Package number" + } + }, + { + "code": "CZ", + "name": { + "en": "Cooperation contract number" + } + }, + { + "code": "DA", + "name": { + "en": "Deferment approval number" + } + }, + { + "code": "DAN", + "name": { + "en": "Debit account number" + } + }, + { + "code": "DB", + "name": { + "en": "Buyer's debtor number" + } + }, + { + "code": "DI", + "name": { + "en": "Distributor invoice number" + } + }, + { + "code": "DL", + "name": { + "en": "Debit note number" + } + }, + { + "code": "DM", + "name": { + "en": "Document identifier" + } + }, + { + "code": "DQ", + "name": { + "en": "Delivery note number" + } + }, + { + "code": "DR", + "name": { + "en": "Dock receipt number" + } + }, + { + "code": "EA", + "name": { + "en": "Ending meter reading actual" + } + }, + { + "code": "EB", + "name": { + "en": "Embargo permit number" + } + }, + { + "code": "ED", + "name": { + "en": "Export declaration" + } + }, + { + "code": "EE", + "name": { + "en": "Ending meter reading estimated" + } + }, + { + "code": "EEP", + "name": { + "en": "Electrical and electronic equipment producer registration" + } + }, + { + "code": "EI", + "name": { + "en": "Employer's identification number" + } + }, + { + "code": "EN", + "name": { + "en": "Embargo number" + } + }, + { + "code": "EQ", + "name": { + "en": "Equipment number" + } + }, + { + "code": "ER", + "name": { + "en": "Container/equipment receipt number" + } + }, + { + "code": "ERN", + "name": { + "en": "Exporter's reference number" + } + }, + { + "code": "ET", + "name": { + "en": "Excess transportation number" + } + }, + { + "code": "EX", + "name": { + "en": "Export permit identifier" + } + }, + { + "code": "FC", + "name": { + "en": "Fiscal number" + } + }, + { + "code": "FF", + "name": { + "en": "Consignment identifier, freight forwarder assigned" + } + }, + { + "code": "FI", + "name": { + "en": "File line identifier" + } + }, + { + "code": "FLW", + "name": { + "en": "Flow reference number" + } + }, + { + "code": "FN", + "name": { + "en": "Freight bill number" + } + }, + { + "code": "FO", + "name": { + "en": "Foreign exchange" + } + }, + { + "code": "FS", + "name": { + "en": "Final sequence number" + } + }, + { + "code": "FT", + "name": { + "en": "Free zone identifier" + } + }, + { + "code": "FV", + "name": { + "en": "File version number" + } + }, + { + "code": "FX", + "name": { + "en": "Foreign exchange contract number" + } + }, + { + "code": "GA", + "name": { + "en": "Standard's number" + } + }, + { + "code": "GC", + "name": { + "en": "Government contract number" + } + }, + { + "code": "GD", + "name": { + "en": "Standard's code number" + } + }, + { + "code": "GDN", + "name": { + "en": "General declaration number" + } + }, + { + "code": "GN", + "name": { + "en": "Government reference number" + } + }, + { + "code": "HS", + "name": { + "en": "Harmonised system number" + } + }, + { + "code": "HWB", + "name": { + "en": "House waybill number" + } + }, + { + "code": "IA", + "name": { + "en": "Internal vendor number" + } + }, + { + "code": "IB", + "name": { + "en": "In bond number" + } + }, + { + "code": "ICA", + "name": { + "en": "IATA cargo agent code number" + } + }, + { + "code": "ICE", + "name": { + "en": "Insurance certificate reference number" + } + }, + { + "code": "ICO", + "name": { + "en": "Insurance contract reference number" + } + }, + { + "code": "II", + "name": { + "en": "Initial sample inspection report number" + } + }, + { + "code": "IL", + "name": { + "en": "Internal order number" + } + }, + { + "code": "INB", + "name": { + "en": "Intermediary broker" + } + }, + { + "code": "INN", + "name": { + "en": "Interchange number new" + } + }, + { + "code": "INO", + "name": { + "en": "Interchange number old" + } + }, + { + "code": "IP", + "name": { + "en": "Import permit identifier" + } + }, + { + "code": "IS", + "name": { + "en": "Invoice number suffix" + } + }, + { + "code": "IT", + "name": { + "en": "Internal customer number" + } + }, + { + "code": "IV", + "name": { + "en": "Invoice document identifier" + } + }, + { + "code": "JB", + "name": { + "en": "Job number" + } + }, + { + "code": "JE", + "name": { + "en": "Ending job sequence number" + } + }, + { + "code": "LA", + "name": { + "en": "Shipping label serial number" + } + }, + { + "code": "LAN", + "name": { + "en": "Loading authorisation identifier" + } + }, + { + "code": "LAR", + "name": { + "en": "Lower number in range" + } + }, + { + "code": "LB", + "name": { + "en": "Lockbox" + } + }, + { + "code": "LC", + "name": { + "en": "Letter of credit number" + } + }, + { + "code": "LI", + "name": { + "en": "Document line identifier" + } + }, + { + "code": "LO", + "name": { + "en": "Load planning number" + } + }, + { + "code": "LRC", + "name": { + "en": "Reservation office identifier" + } + }, + { + "code": "LS", + "name": { + "en": "Bar coded label serial number" + } + }, + { + "code": "MA", + "name": { + "en": "Ship notice/manifest number" + } + }, + { + "code": "MB", + "name": { + "en": "Master bill of lading number" + } + }, + { + "code": "MF", + "name": { + "en": "Manufacturer's part number" + } + }, + { + "code": "MG", + "name": { + "en": "Meter unit number" + } + }, + { + "code": "MH", + "name": { + "en": "Manufacturing order number" + } + }, + { + "code": "MR", + "name": { + "en": "Message recipient" + } + }, + { + "code": "MRN", + "name": { + "en": "Mailing reference number" + } + }, + { + "code": "MS", + "name": { + "en": "Message sender" + } + }, + { + "code": "MSS", + "name": { + "en": "Manufacturer's material safety data sheet number" + } + }, + { + "code": "MWB", + "name": { + "en": "Master air waybill number" + } + }, + { + "code": "NA", + "name": { + "en": "North American hazardous goods classification number" + } + }, + { + "code": "NF", + "name": { + "en": "Nota Fiscal" + } + }, + { + "code": "OH", + "name": { + "en": "Current invoice number" + } + }, + { + "code": "OI", + "name": { + "en": "Previous invoice number" + } + }, + { + "code": "ON", + "name": { + "en": "Order document identifier, buyer assigned" + } + }, + { + "code": "OP", + "name": { + "en": "Original purchase order" + } + }, + { + "code": "OR", + "name": { + "en": "General order number" + } + }, + { + "code": "PB", + "name": { + "en": "Payer's financial institution account number" + } + }, + { + "code": "PC", + "name": { + "en": "Production code" + } + }, + { + "code": "PD", + "name": { + "en": "Promotion deal number" + } + }, + { + "code": "PE", + "name": { + "en": "Plant number" + } + }, + { + "code": "PF", + "name": { + "en": "Prime contractor contract number" + } + }, + { + "code": "PI", + "name": { + "en": "Price list version number" + } + }, + { + "code": "PK", + "name": { + "en": "Packing list number" + } + }, + { + "code": "PL", + "name": { + "en": "Price list number" + } + }, + { + "code": "POR", + "name": { + "en": "Purchase order response number" + } + }, + { + "code": "PP", + "name": { + "en": "Purchase order change number" + } + }, + { + "code": "PQ", + "name": { + "en": "Payment reference" + } + }, + { + "code": "PR", + "name": { + "en": "Price quote number" + } + }, + { + "code": "PS", + "name": { + "en": "Purchase order number suffix" + } + }, + { + "code": "PW", + "name": { + "en": "Prior purchase order number" + } + }, + { + "code": "PY", + "name": { + "en": "Payee's financial institution account number" + } + }, + { + "code": "RA", + "name": { + "en": "Remittance advice number" + } + }, + { + "code": "RC", + "name": { + "en": "Rail/road routing code" + } + }, + { + "code": "RCN", + "name": { + "en": "Railway consignment note number" + } + }, + { + "code": "RE", + "name": { + "en": "Release number" + } + }, + { + "code": "REN", + "name": { + "en": "Consignment receipt identifier" + } + }, + { + "code": "RF", + "name": { + "en": "Export reference number" + } + }, + { + "code": "RR", + "name": { + "en": "Payer's financial institution transit routing No.(ACH" + } + }, + { + "code": "RT", + "name": { + "en": "Payee's financial institution transit routing No." + } + }, + { + "code": "SA", + "name": { + "en": "Sales person number" + } + }, + { + "code": "SB", + "name": { + "en": "Sales region number" + } + }, + { + "code": "SD", + "name": { + "en": "Sales department number" + } + }, + { + "code": "SE", + "name": { + "en": "Serial number" + } + }, + { + "code": "SEA", + "name": { + "en": "Allocated seat" + } + }, + { + "code": "SF", + "name": { + "en": "Ship from" + } + }, + { + "code": "SH", + "name": { + "en": "Previous highest schedule number" + } + }, + { + "code": "SI", + "name": { + "en": "SID (Shipper's identifying number for shipment)" + } + }, + { + "code": "SM", + "name": { + "en": "Sales office number" + } + }, + { + "code": "SN", + "name": { + "en": "Transport equipment seal identifier" + } + }, + { + "code": "SP", + "name": { + "en": "Scan line" + } + }, + { + "code": "SQ", + "name": { + "en": "Equipment sequence number" + } + }, + { + "code": "SRN", + "name": { + "en": "Shipment reference number" + } + }, + { + "code": "SS", + "name": { + "en": "Sellers reference number" + } + }, + { + "code": "STA", + "name": { + "en": "Station reference number" + } + }, + { + "code": "SW", + "name": { + "en": "Swap order number" + } + }, + { + "code": "SZ", + "name": { + "en": "Specification number" + } + }, + { + "code": "TB", + "name": { + "en": "Trucker's bill of lading" + } + }, + { + "code": "TCR", + "name": { + "en": "Terminal operator's consignment reference" + } + }, + { + "code": "TE", + "name": { + "en": "Telex message number" + } + }, + { + "code": "TF", + "name": { + "en": "Transfer number" + } + }, + { + "code": "TI", + "name": { + "en": "TIR carnet number" + } + }, + { + "code": "TIN", + "name": { + "en": "Transport instruction number" + } + }, + { + "code": "TL", + "name": { + "en": "Tax exemption licence number" + } + }, + { + "code": "TN", + "name": { + "en": "Transaction reference number" + } + }, + { + "code": "TP", + "name": { + "en": "Test report number" + } + }, + { + "code": "UAR", + "name": { + "en": "Upper number of range" + } + }, + { + "code": "UC", + "name": { + "en": "Ultimate customer's reference number" + } + }, + { + "code": "UCN", + "name": { + "en": "Unique consignment reference number" + } + }, + { + "code": "UN", + "name": { + "en": "United Nations Dangerous Goods identifier" + } + }, + { + "code": "UO", + "name": { + "en": "Ultimate customer's order number" + } + }, + { + "code": "URI", + "name": { + "en": "Uniform Resource Identifier" + } + }, + { + "code": "VA", + "name": { + "en": "VAT registration number" + } + }, + { + "code": "VC", + "name": { + "en": "Vendor contract number" + } + }, + { + "code": "VGR", + "name": { + "en": "Transport equipment gross mass verification reference" + } + }, + { + "code": "VM", + "name": { + "en": "Vessel identifier" + } + }, + { + "code": "VN", + "name": { + "en": "Order number (vendor)" + } + }, + { + "code": "VON", + "name": { + "en": "Voyage number" + } + }, + { + "code": "VOR", + "name": { + "en": "Transport equipment gross mass verification order reference" + } + }, + { + "code": "VP", + "name": { + "en": "Vendor product number" + } + }, + { + "code": "VR", + "name": { + "en": "Vendor ID number" + } + }, + { + "code": "VS", + "name": { + "en": "Vendor order number suffix" + } + }, + { + "code": "VT", + "name": { + "en": "Motor vehicle identification number" + } + }, + { + "code": "VV", + "name": { + "en": "Voucher number" + } + }, + { + "code": "WE", + "name": { + "en": "Warehouse entry number" + } + }, + { + "code": "WM", + "name": { + "en": "Weight agreement number" + } + }, + { + "code": "WN", + "name": { + "en": "Well number" + } + }, + { + "code": "WR", + "name": { + "en": "Warehouse receipt number" + } + }, + { + "code": "WS", + "name": { + "en": "Warehouse storage location number" + } + }, + { + "code": "WY", + "name": { + "en": "Rail waybill number" + } + }, + { + "code": "XA", + "name": { + "en": "Company/place registration number" + } + }, + { + "code": "XC", + "name": { + "en": "Cargo control number" + } + }, + { + "code": "XP", + "name": { + "en": "Previous cargo control number" + } + }, + { + "code": "ZZZ", + "name": { + "en": "Mutually defined reference number" + } + } + ] + }, + { + "key": "untdid-payment-means", + "name": { + "en": "UNTDID 4461 Payment Means" + }, + "desc": { + "en": "UNTDID 4461 code used to describe the means of payment. This list is based on the\n[EN16931 code list](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931#RegistryofsupportingartefactstoimplementEN16931-Codelists)\nvalues table which focusses on invoices and payments." + }, + "values": [ + { + "code": "1", + "name": { + "en": "Instrument not defined" + } + }, + { + "code": "2", + "name": { + "en": "Automated clearing house credit" + } + }, + { + "code": "3", + "name": { + "en": "Automated clearing house debit" + } + }, + { + "code": "4", + "name": { + "en": "ACH demand debit reversal" + } + }, + { + "code": "5", + "name": { + "en": "ACH demand credit reversal" + } + }, + { + "code": "6", + "name": { + "en": "ACH demand credit" + } + }, + { + "code": "7", + "name": { + "en": "ACH demand debit" + } + }, + { + "code": "8", + "name": { + "en": "Hold" + } + }, + { + "code": "9", + "name": { + "en": "National or regional clearing" + } + }, + { + "code": "10", + "name": { + "en": "In cash" + } + }, + { + "code": "11", + "name": { + "en": "ACH savings credit reversal" + } + }, + { + "code": "12", + "name": { + "en": "ACH savings debit reversal" + } + }, + { + "code": "13", + "name": { + "en": "ACH savings credit" + } + }, + { + "code": "14", + "name": { + "en": "ACH savings debit" + } + }, + { + "code": "15", + "name": { + "en": "Bookentry credit" + } + }, + { + "code": "16", + "name": { + "en": "Bookentry debit" + } + }, + { + "code": "17", + "name": { + "en": "ACH demand cash concentration/disbursement (CCD) credit" + } + }, + { + "code": "18", + "name": { + "en": "ACH demand cash concentration/disbursement (CCD) debit" + } + }, + { + "code": "19", + "name": { + "en": "ACH demand corporate trade payment (CTP) credit" + } + }, + { + "code": "20", + "name": { + "en": "Cheque" + } + }, + { + "code": "21", + "name": { + "en": "Banker's draft" + } + }, + { + "code": "22", + "name": { + "en": "Certified banker's draft" + } + }, + { + "code": "23", + "name": { + "en": "Bank cheque (issued by a banking or similar establishment)" + } + }, + { + "code": "24", + "name": { + "en": "Bill of exchange awaiting acceptance" + } + }, + { + "code": "25", + "name": { + "en": "Certified cheque" + } + }, + { + "code": "26", + "name": { + "en": "Local cheque" + } + }, + { + "code": "27", + "name": { + "en": "ACH demand corporate trade payment (CTP) debit" + } + }, + { + "code": "28", + "name": { + "en": "ACH demand corporate trade exchange (CTX) credit" + } + }, + { + "code": "29", + "name": { + "en": "ACH demand corporate trade exchange (CTX) debit" + } + }, + { + "code": "30", + "name": { + "en": "Credit transfer" + } + }, + { + "code": "31", + "name": { + "en": "Debit transfer" + } + }, + { + "code": "32", + "name": { + "en": "ACH demand cash concentration/disbursement plus (CCD+)" + } + }, + { + "code": "33", + "name": { + "en": "ACH demand cash concentration/disbursement plus (CCD+)" + } + }, + { + "code": "34", + "name": { + "en": "ACH prearranged payment and deposit (PPD)" + } + }, + { + "code": "35", + "name": { + "en": "ACH savings cash concentration/disbursement (CCD) credit" + } + }, + { + "code": "36", + "name": { + "en": "ACH savings cash concentration/disbursement (CCD) debit" + } + }, + { + "code": "37", + "name": { + "en": "ACH savings corporate trade payment (CTP) credit" + } + }, + { + "code": "38", + "name": { + "en": "ACH savings corporate trade payment (CTP) debit" + } + }, + { + "code": "39", + "name": { + "en": "ACH savings corporate trade exchange (CTX) credit" + } + }, + { + "code": "40", + "name": { + "en": "ACH savings corporate trade exchange (CTX) debit" + } + }, + { + "code": "41", + "name": { + "en": "ACH savings cash concentration/disbursement plus (CCD+)" + } + }, + { + "code": "42", + "name": { + "en": "Payment to bank account" + } + }, + { + "code": "43", + "name": { + "en": "ACH savings cash concentration/disbursement plus (CCD+)" + } + }, + { + "code": "44", + "name": { + "en": "Accepted bill of exchange" + } + }, + { + "code": "45", + "name": { + "en": "Referenced home-banking credit transfer" + } + }, + { + "code": "46", + "name": { + "en": "Interbank debit transfer" + } + }, + { + "code": "47", + "name": { + "en": "Home-banking debit transfer" + } + }, + { + "code": "48", + "name": { + "en": "Bank card" + } + }, + { + "code": "49", + "name": { + "en": "Direct debit" + } + }, + { + "code": "50", + "name": { + "en": "Payment by postgiro" + } + }, + { + "code": "51", + "name": { + "en": "FR, norme 6 97-Telereglement CFONB (French Organisation for" + } + }, + { + "code": "52", + "name": { + "en": "Urgent commercial payment" + } + }, + { + "code": "53", + "name": { + "en": "Urgent Treasury Payment" + } + }, + { + "code": "54", + "name": { + "en": "Credit card" + } + }, + { + "code": "55", + "name": { + "en": "Debit card" + } + }, + { + "code": "56", + "name": { + "en": "Bankgiro" + } + }, + { + "code": "57", + "name": { + "en": "Standing agreement" + } + }, + { + "code": "58", + "name": { + "en": "SEPA credit transfer" + } + }, + { + "code": "59", + "name": { + "en": "SEPA direct debit" + } + }, + { + "code": "60", + "name": { + "en": "Promissory note" + } + }, + { + "code": "61", + "name": { + "en": "Promissory note signed by the debtor" + } + }, + { + "code": "62", + "name": { + "en": "Promissory note signed by the debtor and endorsed by a bank" + } + }, + { + "code": "63", + "name": { + "en": "Promissory note signed by the debtor and endorsed by a" + } + }, + { + "code": "64", + "name": { + "en": "Promissory note signed by a bank" + } + }, + { + "code": "65", + "name": { + "en": "Promissory note signed by a bank and endorsed by another" + } + }, + { + "code": "66", + "name": { + "en": "Promissory note signed by a third party" + } + }, + { + "code": "67", + "name": { + "en": "Promissory note signed by a third party and endorsed by a" + } + }, + { + "code": "68", + "name": { + "en": "Online payment service" + } + }, + { + "code": "69", + "name": { + "en": "Transfer Advice" + } + }, + { + "code": "70", + "name": { + "en": "Bill drawn by the creditor on the debtor" + } + }, + { + "code": "74", + "name": { + "en": "Bill drawn by the creditor on a bank" + } + }, + { + "code": "75", + "name": { + "en": "Bill drawn by the creditor, endorsed by another bank" + } + }, + { + "code": "76", + "name": { + "en": "Bill drawn by the creditor on a bank and endorsed by a" + } + }, + { + "code": "77", + "name": { + "en": "Bill drawn by the creditor on a third party" + } + }, + { + "code": "78", + "name": { + "en": "Bill drawn by creditor on third party, accepted and" + } + }, + { + "code": "91", + "name": { + "en": "Not transferable banker's draft" + } + }, + { + "code": "92", + "name": { + "en": "Not transferable local cheque" + } + }, + { + "code": "93", + "name": { + "en": "Reference giro" + } + }, + { + "code": "94", + "name": { + "en": "Urgent giro" + } + }, + { + "code": "95", + "name": { + "en": "Free format giro" + } + }, + { + "code": "96", + "name": { + "en": "Requested method for payment was not used" + } + }, + { + "code": "97", + "name": { + "en": "Clearing between partners" + } + }, + { + "code": "98", + "name": { + "en": "JP, Electronically Recorded Monetary Claims" + } + }, + { + "code": "ZZZ", + "name": { + "en": "Mutually defined" + } + } + ] + }, + { + "key": "untdid-allowance", + "name": { + "en": "UNTDID 5189 Allowance" + }, + "desc": { + "en": "UNTDID 5189 code used to describe the allowance type. This list is based on the\n[EN16931 code list](https://ec.europa.eu/digital-building-blocks/sites/display/DIGITAL/Registry+of+supporting+artefacts+to+implement+EN16931#RegistryofsupportingartefactstoimplementEN16931-Codelists)\nvalues table which focusses on invoices and payments." + }, + "values": [ + { + "code": "41", + "name": { + "en": "Bonus for works ahead of schedule" + } + }, + { + "code": "42", + "name": { + "en": "Other bonus" + } + }, + { + "code": "60", + "name": { + "en": "Manufacturer’s consumer discount" + } + }, + { + "code": "62", + "name": { + "en": "Due to military status" + } + }, + { + "code": "63", + "name": { + "en": "Due to work accident" + } + }, + { + "code": "64", + "name": { + "en": "Special agreement" + } + }, + { + "code": "65", + "name": { + "en": "Production error discount" + } + }, + { + "code": "66", + "name": { + "en": "New outlet discount" + } + }, + { + "code": "67", + "name": { + "en": "Sample discount" + } + }, + { + "code": "68", + "name": { + "en": "End-of-range discount" + } + }, + { + "code": "70", + "name": { + "en": "Incoterm discount" + } + }, + { + "code": "71", + "name": { + "en": "Point of sales threshold allowance" + } + }, + { + "code": "88", + "name": { + "en": "Material surcharge/deduction" + } + }, + { + "code": "95", + "name": { + "en": "Discount" + } + }, + { + "code": "100", + "name": { + "en": "Special rebate" + } + }, + { + "code": "102", + "name": { + "en": "Fixed long term" + } + }, + { + "code": "103", + "name": { + "en": "Temporary" + } + }, + { + "code": "104", + "name": { + "en": "Standard" + } + }, + { + "code": "105", + "name": { + "en": "Yearly turnover" + } + } + ] + }, + { + "key": "untdid-tax-category", + "name": { + "en": "UNTDID 3505 Tax Category" + }, + "desc": { + "en": "UNTDID 5305 code used to describe the applicable duty/tax/fee category. There are\nmultiple versions and subsets of this table so regimes and addons may need to filter\noptions for a specific subset of values.\n\nData from https://unece.org/fileadmin/DAM/trade/untdid/d16b/tred/tred5305.htm." + }, + "values": [ + { + "code": "A", + "name": { + "en": "Mixed tax rate" + } + }, + { + "code": "AA", + "name": { + "en": "Lower rate" + } + }, + { + "code": "AB", + "name": { + "en": "Exempt for resale" + } + }, + { + "code": "AC", + "name": { + "en": "Exempt for resale" + } + }, + { + "code": "AD", + "name": { + "en": "Value Added Tax (VAT) due from a previous invoice" + } + }, + { + "code": "AE", + "name": { + "en": "VAT Reverse Charge" + } + }, + { + "code": "B", + "name": { + "en": "Transferred (VAT)" + } + }, + { + "code": "C", + "name": { + "en": "Duty paid by supplier" + } + }, + { + "code": "D", + "name": { + "en": "Value Added Tax (VAT) margin scheme - travel agents" + } + }, + { + "code": "E", + "name": { + "en": "Exempt from tax" + } + }, + { + "code": "F", + "name": { + "en": "Value Added Tax (VAT) margin scheme - second-hand goods" + } + }, + { + "code": "G", + "name": { + "en": "Free export item, tax not charged" + } + }, + { + "code": "H", + "name": { + "en": "Higher rate" + } + }, + { + "code": "I", + "name": { + "en": "Value Added Tax (VAT) margin scheme - works of art" + } + }, + { + "code": "J", + "name": { + "en": "Value Added Tax (VAT) margin scheme - collector's items and antiques" + } + }, + { + "code": "K", + "name": { + "en": "VAT exempt for EEA intra-community supply of goods and services" + } + }, + { + "code": "L", + "name": { + "en": "Canary Islands general indirect tax" + } + }, + { + "code": "M", + "name": { + "en": "Tax for production, services and importation in Ceuta and Melilla" + } + }, + { + "code": "O", + "name": { + "en": "Services outside scope of tax" + } + }, + { + "code": "S", + "name": { + "en": "Standard Rate" + } + }, + { + "code": "Z", + "name": { + "en": "Zero rated goods" + } + } + ] + }, + { + "key": "untdid-item-type", + "name": { + "en": "UNTDID 7143 Item Type Identification Code" + }, + "desc": { + "en": "" + }, + "values": [ + { + "code": "AA", + "name": { + "en": "Product version number" + } + }, + { + "code": "AB", + "name": { + "en": "Assembly" + } + }, + { + "code": "AC", + "name": { + "en": "HIBC (Health Industry Bar Code)" + } + }, + { + "code": "AD", + "name": { + "en": "Cold roll number" + } + }, + { + "code": "AE", + "name": { + "en": "Hot roll number" + } + }, + { + "code": "AF", + "name": { + "en": "Slab number" + } + }, + { + "code": "AG", + "name": { + "en": "Software revision number" + } + }, + { + "code": "AH", + "name": { + "en": "UPC (Universal Product Code) Consumer package code (1-5-5)" + } + }, + { + "code": "AI", + "name": { + "en": "UPC (Universal Product Code) Consumer package code (1-5-5-1)" + } + }, + { + "code": "AJ", + "name": { + "en": "Sample number" + } + }, + { + "code": "AK", + "name": { + "en": "Pack number" + } + }, + { + "code": "AL", + "name": { + "en": "UPC (Universal Product Code) Shipping container code (1-2-5-5)" + } + }, + { + "code": "AM", + "name": { + "en": "UPC (Universal Product Code)/EAN (European article number) Shipping container code (1-2-5-5-1)" + } + }, + { + "code": "AN", + "name": { + "en": "UPC (Universal Product Code) suffix" + } + }, + { + "code": "AO", + "name": { + "en": "State label code" + } + }, + { + "code": "AP", + "name": { + "en": "Heat number" + } + }, + { + "code": "AQ", + "name": { + "en": "Coupon number" + } + }, + { + "code": "AR", + "name": { + "en": "Resource number" + } + }, + { + "code": "AS", + "name": { + "en": "Work task number" + } + }, + { + "code": "AT", + "name": { + "en": "Price look up number" + } + }, + { + "code": "AU", + "name": { + "en": "NSN (North Atlantic Treaty Organization Stock Number)" + } + }, + { + "code": "AV", + "name": { + "en": "Refined product code" + } + }, + { + "code": "AW", + "name": { + "en": "Exhibit" + } + }, + { + "code": "AX", + "name": { + "en": "End item" + } + }, + { + "code": "AY", + "name": { + "en": "Federal supply classification" + } + }, + { + "code": "AZ", + "name": { + "en": "Engineering data list" + } + }, + { + "code": "BA", + "name": { + "en": "Milestone event number" + } + }, + { + "code": "BB", + "name": { + "en": "Lot number" + } + }, + { + "code": "BC", + "name": { + "en": "National drug code 4-4-2 format" + } + }, + { + "code": "BD", + "name": { + "en": "National drug code 5-3-2 format" + } + }, + { + "code": "BE", + "name": { + "en": "National drug code 5-4-1 format" + } + }, + { + "code": "BF", + "name": { + "en": "National drug code 5-4-2 format" + } + }, + { + "code": "BG", + "name": { + "en": "National drug code" + } + }, + { + "code": "BH", + "name": { + "en": "Part number" + } + }, + { + "code": "BI", + "name": { + "en": "Local Stock Number (LSN)" + } + }, + { + "code": "BJ", + "name": { + "en": "Next higher assembly number" + } + }, + { + "code": "BK", + "name": { + "en": "Data category" + } + }, + { + "code": "BL", + "name": { + "en": "Control number" + } + }, + { + "code": "BM", + "name": { + "en": "Special material identification code" + } + }, + { + "code": "BN", + "name": { + "en": "Locally assigned control number" + } + }, + { + "code": "BO", + "name": { + "en": "Buyer's colour" + } + }, + { + "code": "BP", + "name": { + "en": "Buyer's part number" + } + }, + { + "code": "BQ", + "name": { + "en": "Variable measure product code" + } + }, + { + "code": "BR", + "name": { + "en": "Financial phase" + } + }, + { + "code": "BS", + "name": { + "en": "Contract breakdown" + } + }, + { + "code": "BT", + "name": { + "en": "Technical phase" + } + }, + { + "code": "BU", + "name": { + "en": "Dye lot number" + } + }, + { + "code": "BV", + "name": { + "en": "Daily statement of activities" + } + }, + { + "code": "BW", + "name": { + "en": "Periodical statement of activities within a bilaterally agreed time period" + } + }, + { + "code": "BX", + "name": { + "en": "Calendar week statement of activities" + } + }, + { + "code": "BY", + "name": { + "en": "Calendar month statement of activities" + } + }, + { + "code": "BZ", + "name": { + "en": "Original equipment number" + } + }, + { + "code": "CC", + "name": { + "en": "Industry commodity code" + } + }, + { + "code": "CG", + "name": { + "en": "Commodity grouping" + } + }, + { + "code": "CL", + "name": { + "en": "Colour number" + } + }, + { + "code": "CR", + "name": { + "en": "Contract number" + } + }, + { + "code": "CV", + "name": { + "en": "Customs article number" + } + }, + { + "code": "DR", + "name": { + "en": "Drawing revision number" + } + }, + { + "code": "DW", + "name": { + "en": "Drawing" + } + }, + { + "code": "EC", + "name": { + "en": "Engineering change level" + } + }, + { + "code": "EF", + "name": { + "en": "Material code" + } + }, + { + "code": "EMD", + "name": { + "en": "EMDN (European Medical Device Nomenclature)" + } + }, + { + "code": "EN", + "name": { + "en": "International Article Numbering Association (EAN)" + } + }, + { + "code": "FS", + "name": { + "en": "Fish species" + } + }, + { + "code": "GB", + "name": { + "en": "Buyer's internal product group code" + } + }, + { + "code": "GMN", + "name": { + "en": "Global model number" + } + }, + { + "code": "GN", + "name": { + "en": "National product group code" + } + }, + { + "code": "GS", + "name": { + "en": "General specification number" + } + }, + { + "code": "HS", + "name": { + "en": "Harmonised system" + } + }, + { + "code": "IB", + "name": { + "en": "ISBN (International Standard Book Number)" + } + }, + { + "code": "IN", + "name": { + "en": "Buyer's item number" + } + }, + { + "code": "IS", + "name": { + "en": "ISSN (International Standard Serial Number)" + } + }, + { + "code": "IT", + "name": { + "en": "Buyer's style number" + } + }, + { + "code": "IZ", + "name": { + "en": "Buyer's size code" + } + }, + { + "code": "MA", + "name": { + "en": "Machine number" + } + }, + { + "code": "MF", + "name": { + "en": "Manufacturer's (producer's) article number" + } + }, + { + "code": "MN", + "name": { + "en": "Model number" + } + }, + { + "code": "MP", + "name": { + "en": "Product/service identification number" + } + }, + { + "code": "NB", + "name": { + "en": "Batch number" + } + }, + { + "code": "ON", + "name": { + "en": "Customer order number" + } + }, + { + "code": "PD", + "name": { + "en": "Part number description" + } + }, + { + "code": "PL", + "name": { + "en": "Purchaser's order line number" + } + }, + { + "code": "PO", + "name": { + "en": "Purchase order number" + } + }, + { + "code": "PV", + "name": { + "en": "Promotional variant number" + } + }, + { + "code": "QS", + "name": { + "en": "Buyer's qualifier for size" + } + }, + { + "code": "RC", + "name": { + "en": "Returnable container number" + } + }, + { + "code": "RN", + "name": { + "en": "Release number" + } + }, + { + "code": "RU", + "name": { + "en": "Run number" + } + }, + { + "code": "RY", + "name": { + "en": "Record keeping of model year" + } + }, + { + "code": "SA", + "name": { + "en": "Supplier's article number" + } + }, + { + "code": "SG", + "name": { + "en": "Standard group of products (mixed assortment)" + } + }, + { + "code": "SK", + "name": { + "en": "SKU (Stock keeping unit)" + } + }, + { + "code": "SN", + "name": { + "en": "Serial number" + } + }, + { + "code": "SRS", + "name": { + "en": "RSK number" + } + }, + { + "code": "SRT", + "name": { + "en": "IFLS (Institut Francais du Libre Service) 5 digit product" + } + }, + { + "code": "SRU", + "name": { + "en": "IFLS (Institut Francais du Libre Service) 9 digit product" + } + }, + { + "code": "SRV", + "name": { + "en": "GS1 Global Trade Item Number" + } + }, + { + "code": "SRW", + "name": { + "en": "EDIS (Energy Data Identification System)" + } + }, + { + "code": "SRX", + "name": { + "en": "Slaughter number" + } + }, + { + "code": "SRY", + "name": { + "en": "Official animal number" + } + }, + { + "code": "SRZ", + "name": { + "en": "Harmonized tariff schedule" + } + }, + { + "code": "SS", + "name": { + "en": "Supplier's supplier article number" + } + }, + { + "code": "SSA", + "name": { + "en": "46 Level DOT Code" + } + }, + { + "code": "SSB", + "name": { + "en": "Airline Tariff 6D" + } + }, + { + "code": "SSC", + "name": { + "en": "Title 49 Code of Federal Regulations" + } + }, + { + "code": "SSD", + "name": { + "en": "International Civil Aviation Administration code" + } + }, + { + "code": "SSE", + "name": { + "en": "Hazardous Materials ID DOT" + } + }, + { + "code": "SSF", + "name": { + "en": "Endorsement" + } + }, + { + "code": "SSG", + "name": { + "en": "Air Force Regulation 71-4" + } + }, + { + "code": "SSH", + "name": { + "en": "Breed" + } + }, + { + "code": "SSI", + "name": { + "en": "Chemical Abstract Service (CAS) registry number" + } + }, + { + "code": "SSJ", + "name": { + "en": "Engine model designation" + } + }, + { + "code": "SSK", + "name": { + "en": "Institutional Meat Purchase Specifications (IMPS) Number" + } + }, + { + "code": "SSL", + "name": { + "en": "Price Look-Up code (PLU)" + } + }, + { + "code": "SSM", + "name": { + "en": "International Maritime Organization (IMO) Code" + } + }, + { + "code": "SSN", + "name": { + "en": "Bureau of Explosives 600-A (rail)" + } + }, + { + "code": "SSO", + "name": { + "en": "United Nations Dangerous Goods List" + } + }, + { + "code": "SSP", + "name": { + "en": "International Code of Botanical Nomenclature (ICBN)" + } + }, + { + "code": "SSQ", + "name": { + "en": "International Code of Zoological Nomenclature (ICZN)" + } + }, + { + "code": "SSR", + "name": { + "en": "International Code of Nomenclature for Cultivated Plants" + } + }, + { + "code": "SSS", + "name": { + "en": "Distributor’s article identifier" + } + }, + { + "code": "SST", + "name": { + "en": "Norwegian Classification system ENVA" + } + }, + { + "code": "SSU", + "name": { + "en": "Supplier assigned classification" + } + }, + { + "code": "SSV", + "name": { + "en": "Mexican classification system AMECE" + } + }, + { + "code": "SSW", + "name": { + "en": "German classification system CCG" + } + }, + { + "code": "SSX", + "name": { + "en": "Finnish classification system EANFIN" + } + }, + { + "code": "SSY", + "name": { + "en": "Canadian classification system ICC" + } + }, + { + "code": "SSZ", + "name": { + "en": "French classification system IFLS5" + } + }, + { + "code": "ST", + "name": { + "en": "Style number" + } + }, + { + "code": "STA", + "name": { + "en": "Dutch classification system CBL" + } + }, + { + "code": "STB", + "name": { + "en": "Japanese classification system JICFS" + } + }, + { + "code": "STC", + "name": { + "en": "European Union dairy subsidy eligibility classification" + } + }, + { + "code": "STD", + "name": { + "en": "GS1 Spain classification system" + } + }, + { + "code": "STE", + "name": { + "en": "GS1 Poland classification system" + } + }, + { + "code": "STF", + "name": { + "en": "Federal Agency on Technical Regulating and Metrology of the" + } + }, + { + "code": "STG", + "name": { + "en": "Efficient Consumer Response (ECR) Austria classification" + } + }, + { + "code": "STH", + "name": { + "en": "GS1 Italy classification system" + } + }, + { + "code": "STI", + "name": { + "en": "CPV (Common Procurement Vocabulary)" + } + }, + { + "code": "STJ", + "name": { + "en": "IFDA (International Foodservice Distributors Association)" + } + }, + { + "code": "STK", + "name": { + "en": "AHFS (American Hospital Formulary Service) pharmacologic -" + } + }, + { + "code": "STL", + "name": { + "en": "ATC (Anatomical Therapeutic Chemical) classification system" + } + }, + { + "code": "STM", + "name": { + "en": "CLADIMED (Classification des Dispositifs Médicaux)" + } + }, + { + "code": "STN", + "name": { + "en": "CMDR (Canadian Medical Device Regulations) classification" + } + }, + { + "code": "STO", + "name": { + "en": "CNDM (Classificazione Nazionale dei Dispositivi Medici)" + } + }, + { + "code": "STP", + "name": { + "en": "UK DM\u0026D (Dictionary of Medicines \u0026 Devices) standard coding" + } + }, + { + "code": "STQ", + "name": { + "en": "eCl@ss" + } + }, + { + "code": "STR", + "name": { + "en": "EDMA (European Diagnostic Manufacturers Association)" + } + }, + { + "code": "STS", + "name": { + "en": "EGAR (European Generic Article Register)" + } + }, + { + "code": "STT", + "name": { + "en": "GMDN (Global Medical Devices Nomenclature)" + } + }, + { + "code": "STU", + "name": { + "en": "GPI (Generic Product Identifier)" + } + }, + { + "code": "STV", + "name": { + "en": "HCPCS (Healthcare Common Procedure Coding System)" + } + }, + { + "code": "STW", + "name": { + "en": "ICPS (International Classification for Patient Safety)" + } + }, + { + "code": "STX", + "name": { + "en": "MedDRA (Medical Dictionary for Regulatory Activities)" + } + }, + { + "code": "STY", + "name": { + "en": "Medical Columbus" + } + }, + { + "code": "STZ", + "name": { + "en": "NAPCS (North American Product Classification System)" + } + }, + { + "code": "SUA", + "name": { + "en": "NHS (National Health Services) eClass" + } + }, + { + "code": "SUB", + "name": { + "en": "US FDA (Food and Drug Administration) Product Code" + } + }, + { + "code": "SUC", + "name": { + "en": "SNOMED CT (Systematized Nomenclature of Medicine-Clinical" + } + }, + { + "code": "SUD", + "name": { + "en": "UMDNS (Universal Medical Device Nomenclature System)" + } + }, + { + "code": "SUE", + "name": { + "en": "GS1 Global Returnable Asset Identifier, non-serialised" + } + }, + { + "code": "SUF", + "name": { + "en": "IMEI" + } + }, + { + "code": "SUG", + "name": { + "en": "Waste Type (EMSA)" + } + }, + { + "code": "SUH", + "name": { + "en": "Ship's store classification type" + } + }, + { + "code": "SUI", + "name": { + "en": "Emergency fire code" + } + }, + { + "code": "SUJ", + "name": { + "en": "Emergency spillage code" + } + }, + { + "code": "SUK", + "name": { + "en": "IMDG packing group" + } + }, + { + "code": "SUL", + "name": { + "en": "MARPOL Code IBC" + } + }, + { + "code": "SUM", + "name": { + "en": "IMDG subsidiary risk class" + } + }, + { + "code": "TG", + "name": { + "en": "Transport group number" + } + }, + { + "code": "TSN", + "name": { + "en": "Taxonomic Serial Number" + } + }, + { + "code": "TSO", + "name": { + "en": "IMDG main hazard class" + } + }, + { + "code": "TSP", + "name": { + "en": "EU Combined Nomenclature" + } + }, + { + "code": "TSQ", + "name": { + "en": "Therapeutic classification number" + } + }, + { + "code": "TSR", + "name": { + "en": "European Waste Catalogue" + } + }, + { + "code": "TSS", + "name": { + "en": "Price grouping code" + } + }, + { + "code": "TST", + "name": { + "en": "UNSPSC" + } + }, + { + "code": "TSU", + "name": { + "en": "EU RoHS Directive" + } + }, + { + "code": "UA", + "name": { + "en": "Ultimate customer's article number" + } + }, + { + "code": "UP", + "name": { + "en": "UPC (Universal product code)" + } + }, + { + "code": "VN", + "name": { + "en": "Vendor item number" + } + }, + { + "code": "VP", + "name": { + "en": "Vendor's (seller's) part number" + } + }, + { + "code": "VS", + "name": { + "en": "Vendor's supplemental item number" + } + }, + { + "code": "VX", + "name": { + "en": "Vendor specification number" + } + }, + { + "code": "ZZZ", + "name": { + "en": "Mutually defined" } } ] @@ -1128,1093 +7155,1093 @@ }, "values": [ { - "value": "AA", + "code": "AA", "name": { "en": "Advertising" } }, { - "value": "AAA", + "code": "AAA", "name": { "en": "Telecommunication" } }, { - "value": "AAC", + "code": "AAC", "name": { "en": "Technical modification" } }, { - "value": "AAD", + "code": "AAD", "name": { "en": "Job-order production" } }, { - "value": "AAE", + "code": "AAE", "name": { "en": "Outlays" } }, { - "value": "AAF", + "code": "AAF", "name": { "en": "Off-premises" } }, { - "value": "AAH", + "code": "AAH", "name": { "en": "Additional processing" } }, { - "value": "AAI", + "code": "AAI", "name": { "en": "Attesting" } }, { - "value": "AAS", + "code": "AAS", "name": { "en": "Acceptance" } }, { - "value": "AAT", + "code": "AAT", "name": { "en": "Rush delivery" } }, { - "value": "AAV", + "code": "AAV", "name": { "en": "Special construction" } }, { - "value": "AAY", + "code": "AAY", "name": { "en": "Airport facilities" } }, { - "value": "AAZ", + "code": "AAZ", "name": { "en": "Concession" } }, { - "value": "ABA", + "code": "ABA", "name": { "en": "Compulsory storage" } }, { - "value": "ABB", + "code": "ABB", "name": { "en": "Fuel removal" } }, { - "value": "ABC", + "code": "ABC", "name": { "en": "Into plane" } }, { - "value": "ABD", + "code": "ABD", "name": { "en": "Overtime" } }, { - "value": "ABF", + "code": "ABF", "name": { "en": "Tooling" } }, { - "value": "ABK", + "code": "ABK", "name": { "en": "Miscellaneous" } }, { - "value": "ABL", + "code": "ABL", "name": { "en": "Additional packaging" } }, { - "value": "ABN", + "code": "ABN", "name": { "en": "Dunnage" } }, { - "value": "ABR", + "code": "ABR", "name": { "en": "Containerisation" } }, { - "value": "ABS", + "code": "ABS", "name": { "en": "Carton packing" } }, { - "value": "ABT", + "code": "ABT", "name": { "en": "Hessian wrapped" } }, { - "value": "ABU", + "code": "ABU", "name": { "en": "Polyethylene wrap packing" } }, { - "value": "ABW", + "code": "ABW", "name": { "en": "Customs duty charge" } }, { - "value": "ACF", + "code": "ACF", "name": { "en": "Miscellaneous treatment" } }, { - "value": "ACG", + "code": "ACG", "name": { "en": "Enamelling treatment" } }, { - "value": "ACH", + "code": "ACH", "name": { "en": "Heat treatment" } }, { - "value": "ACI", + "code": "ACI", "name": { "en": "Plating treatment" } }, { - "value": "ACJ", + "code": "ACJ", "name": { "en": "Painting" } }, { - "value": "ACK", + "code": "ACK", "name": { "en": "Polishing" } }, { - "value": "ACL", + "code": "ACL", "name": { "en": "Priming" } }, { - "value": "ACM", + "code": "ACM", "name": { "en": "Preservation treatment" } }, { - "value": "ACS", + "code": "ACS", "name": { "en": "Fitting" } }, { - "value": "ADC", + "code": "ADC", "name": { "en": "Consolidation" } }, { - "value": "ADE", + "code": "ADE", "name": { "en": "Bill of lading" } }, { - "value": "ADJ", + "code": "ADJ", "name": { "en": "Airbag" } }, { - "value": "ADK", + "code": "ADK", "name": { "en": "Transfer" } }, { - "value": "ADL", + "code": "ADL", "name": { "en": "Slipsheet" } }, { - "value": "ADM", + "code": "ADM", "name": { "en": "Binding" } }, { - "value": "ADN", + "code": "ADN", "name": { "en": "Repair or replacement of broken returnable package" } }, { - "value": "ADO", + "code": "ADO", "name": { "en": "Efficient logistics" } }, { - "value": "ADP", + "code": "ADP", "name": { "en": "Merchandising" } }, { - "value": "ADQ", + "code": "ADQ", "name": { "en": "Product mix" } }, { - "value": "ADR", + "code": "ADR", "name": { "en": "Other services" } }, { - "value": "ADT", + "code": "ADT", "name": { "en": "Pick-up" } }, { - "value": "ADW", + "code": "ADW", "name": { "en": "Chronic illness" } }, { - "value": "ADY", + "code": "ADY", "name": { "en": "New product introduction" } }, { - "value": "ADZ", + "code": "ADZ", "name": { "en": "Direct delivery" } }, { - "value": "AEA", + "code": "AEA", "name": { "en": "Diversion" } }, { - "value": "AEB", + "code": "AEB", "name": { "en": "Disconnect" } }, { - "value": "AEC", + "code": "AEC", "name": { "en": "Distribution" } }, { - "value": "AED", + "code": "AED", "name": { "en": "Handling of hazardous cargo" } }, { - "value": "AEF", + "code": "AEF", "name": { "en": "Rents and leases" } }, { - "value": "AEH", + "code": "AEH", "name": { "en": "Location differential" } }, { - "value": "AEI", + "code": "AEI", "name": { "en": "Aircraft refueling" } }, { - "value": "AEJ", + "code": "AEJ", "name": { "en": "Fuel shipped into storage" } }, { - "value": "AEK", + "code": "AEK", "name": { "en": "Cash on delivery" } }, { - "value": "AEL", + "code": "AEL", "name": { "en": "Small order processing service" } }, { - "value": "AEM", + "code": "AEM", "name": { "en": "Clerical or administrative services" } }, { - "value": "AEN", + "code": "AEN", "name": { "en": "Guarantee" } }, { - "value": "AEO", + "code": "AEO", "name": { "en": "Collection and recycling" } }, { - "value": "AEP", + "code": "AEP", "name": { "en": "Copyright fee collection" } }, { - "value": "AES", + "code": "AES", "name": { "en": "Veterinary inspection service" } }, { - "value": "AET", + "code": "AET", "name": { "en": "Pensioner service" } }, { - "value": "AEU", + "code": "AEU", "name": { "en": "Medicine free pass holder" } }, { - "value": "AEV", + "code": "AEV", "name": { "en": "Environmental protection service" } }, { - "value": "AEW", + "code": "AEW", "name": { "en": "Environmental clean-up service" } }, { - "value": "AEX", + "code": "AEX", "name": { "en": "National cheque processing service outside account area" } }, { - "value": "AEY", + "code": "AEY", "name": { "en": "National payment service outside account area" } }, { - "value": "AEZ", + "code": "AEZ", "name": { "en": "National payment service within account area" } }, { - "value": "AJ", + "code": "AJ", "name": { "en": "Adjustments" } }, { - "value": "AU", + "code": "AU", "name": { "en": "Authentication" } }, { - "value": "CA", + "code": "CA", "name": { "en": "Cataloguing" } }, { - "value": "CAB", + "code": "CAB", "name": { "en": "Cartage" } }, { - "value": "CAD", + "code": "CAD", "name": { "en": "Certification" } }, { - "value": "CAE", + "code": "CAE", "name": { "en": "Certificate of conformance" } }, { - "value": "CAF", + "code": "CAF", "name": { "en": "Certificate of origin" } }, { - "value": "CAI", + "code": "CAI", "name": { "en": "Cutting" } }, { - "value": "CAJ", + "code": "CAJ", "name": { "en": "Consular service" } }, { - "value": "CAK", + "code": "CAK", "name": { "en": "Customer collection" } }, { - "value": "CAL", + "code": "CAL", "name": { "en": "Payroll payment service" } }, { - "value": "CAM", + "code": "CAM", "name": { "en": "Cash transportation" } }, { - "value": "CAN", + "code": "CAN", "name": { "en": "Home banking service" } }, { - "value": "CAO", + "code": "CAO", "name": { "en": "Bilateral agreement service" } }, { - "value": "CAP", + "code": "CAP", "name": { "en": "Insurance brokerage service" } }, { - "value": "CAQ", + "code": "CAQ", "name": { "en": "Cheque generation" } }, { - "value": "CAR", + "code": "CAR", "name": { "en": "Preferential merchandising location" } }, { - "value": "CAS", + "code": "CAS", "name": { "en": "Crane" } }, { - "value": "CAT", + "code": "CAT", "name": { "en": "Special colour service" } }, { - "value": "CAU", + "code": "CAU", "name": { "en": "Sorting" } }, { - "value": "CAV", + "code": "CAV", "name": { "en": "Battery collection and recycling" } }, { - "value": "CAW", + "code": "CAW", "name": { "en": "Product take back fee" } }, { - "value": "CAX", + "code": "CAX", "name": { "en": "Quality control released" } }, { - "value": "CAY", + "code": "CAY", "name": { "en": "Quality control held" } }, { - "value": "CAZ", + "code": "CAZ", "name": { "en": "Quality control embargo" } }, { - "value": "CD", + "code": "CD", "name": { "en": "Car loading" } }, { - "value": "CG", + "code": "CG", "name": { "en": "Cleaning" } }, { - "value": "CS", + "code": "CS", "name": { "en": "Cigarette stamping" } }, { - "value": "CT", + "code": "CT", "name": { "en": "Count and recount" } }, { - "value": "DAB", + "code": "DAB", "name": { "en": "Layout/design" } }, { - "value": "DAC", + "code": "DAC", "name": { "en": "Assortment allowance" } }, { - "value": "DAD", + "code": "DAD", "name": { "en": "Driver assigned unloading" } }, { - "value": "DAF", + "code": "DAF", "name": { "en": "Debtor bound" } }, { - "value": "DAG", + "code": "DAG", "name": { "en": "Dealer allowance" } }, { - "value": "DAH", + "code": "DAH", "name": { "en": "Allowance transferable to the consumer" } }, { - "value": "DAI", + "code": "DAI", "name": { "en": "Growth of business" } }, { - "value": "DAJ", + "code": "DAJ", "name": { "en": "Introduction allowance" } }, { - "value": "DAK", + "code": "DAK", "name": { "en": "Multi-buy promotion" } }, { - "value": "DAL", + "code": "DAL", "name": { "en": "Partnership" } }, { - "value": "DAM", + "code": "DAM", "name": { "en": "Return handling" } }, { - "value": "DAN", + "code": "DAN", "name": { "en": "Minimum order not fulfilled charge" } }, { - "value": "DAO", + "code": "DAO", "name": { "en": "Point of sales threshold allowance" } }, { - "value": "DAP", + "code": "DAP", "name": { "en": "Wholesaling discount" } }, { - "value": "DAQ", + "code": "DAQ", "name": { "en": "Documentary credits transfer commission" } }, { - "value": "DL", + "code": "DL", "name": { "en": "Delivery" } }, { - "value": "EG", + "code": "EG", "name": { "en": "Engraving" } }, { - "value": "EP", + "code": "EP", "name": { "en": "Expediting" } }, { - "value": "ER", + "code": "ER", "name": { "en": "Exchange rate guarantee" } }, { - "value": "FAA", + "code": "FAA", "name": { "en": "Fabrication" } }, { - "value": "FAB", + "code": "FAB", "name": { "en": "Freight equalization" } }, { - "value": "FAC", + "code": "FAC", "name": { "en": "Freight extraordinary handling" } }, { - "value": "FC", + "code": "FC", "name": { "en": "Freight service" } }, { - "value": "FH", + "code": "FH", "name": { "en": "Filling/handling" } }, { - "value": "FI", + "code": "FI", "name": { "en": "Financing" } }, { - "value": "GAA", + "code": "GAA", "name": { "en": "Grinding" } }, { - "value": "HAA", + "code": "HAA", "name": { "en": "Hose" } }, { - "value": "HD", + "code": "HD", "name": { "en": "Handling" } }, { - "value": "HH", + "code": "HH", "name": { "en": "Hoisting and hauling" } }, { - "value": "IAA", + "code": "IAA", "name": { "en": "Installation" } }, { - "value": "IAB", + "code": "IAB", "name": { "en": "Installation and warranty" } }, { - "value": "ID", + "code": "ID", "name": { "en": "Inside delivery" } }, { - "value": "IF", + "code": "IF", "name": { "en": "Inspection" } }, { - "value": "IN", + "code": "IN", "name": { "en": "Insurance" } }, { - "value": "IR", + "code": "IR", "name": { "en": "Installation and training" } }, { - "value": "IS", + "code": "IS", "name": { "en": "Invoicing" } }, { - "value": "KO", + "code": "KO", "name": { "en": "Koshering" } }, { - "value": "L1", + "code": "L1", "name": { "en": "Carrier count" } }, { - "value": "LA", + "code": "LA", "name": { "en": "Labelling" } }, { - "value": "LAA", + "code": "LAA", "name": { "en": "Labour" } }, { - "value": "LAB", + "code": "LAB", "name": { "en": "Repair and return" } }, { - "value": "LF", + "code": "LF", "name": { "en": "Legalisation" } }, { - "value": "MAE", + "code": "MAE", "name": { "en": "Mounting" } }, { - "value": "MI", + "code": "MI", "name": { "en": "Mail invoice" } }, { - "value": "ML", + "code": "ML", "name": { "en": "Mail invoice to each location" } }, { - "value": "NAA", + "code": "NAA", "name": { "en": "Non-returnable containers" } }, { - "value": "OA", + "code": "OA", "name": { "en": "Outside cable connectors" } }, { - "value": "PA", + "code": "PA", "name": { "en": "Invoice with shipment" } }, { - "value": "PAA", + "code": "PAA", "name": { "en": "Phosphatizing (steel treatment)" } }, { - "value": "PC", + "code": "PC", "name": { "en": "Packing" } }, { - "value": "PL", + "code": "PL", "name": { "en": "Palletizing" } }, { - "value": "PRV", + "code": "PRV", "name": { "en": "Price variation" } }, { - "value": "RAB", + "code": "RAB", "name": { "en": "Repacking" } }, { - "value": "RAC", + "code": "RAC", "name": { "en": "Repair" } }, { - "value": "RAD", + "code": "RAD", "name": { "en": "Returnable container" } }, { - "value": "RAF", + "code": "RAF", "name": { "en": "Restocking" } }, { - "value": "RE", + "code": "RE", "name": { "en": "Re-delivery" } }, { - "value": "RF", + "code": "RF", "name": { "en": "Refurbishing" } }, { - "value": "RH", + "code": "RH", "name": { "en": "Rail wagon hire" } }, { - "value": "RV", + "code": "RV", "name": { "en": "Loading" } }, { - "value": "SA", + "code": "SA", "name": { "en": "Salvaging" } }, { - "value": "SAA", + "code": "SAA", "name": { "en": "Shipping and handling" } }, { - "value": "SAD", + "code": "SAD", "name": { "en": "Special packaging" } }, { - "value": "SAE", + "code": "SAE", "name": { "en": "Stamping" } }, { - "value": "SAI", + "code": "SAI", "name": { "en": "Consignee unload" } }, { - "value": "SG", + "code": "SG", "name": { "en": "Shrink-wrap" } }, { - "value": "SH", + "code": "SH", "name": { "en": "Special handling" } }, { - "value": "SM", + "code": "SM", "name": { "en": "Special finish" } }, { - "value": "ST", + "code": "ST", "name": { "en": "Stamp duties" } }, { - "value": "SU", + "code": "SU", "name": { "en": "Set-up" } }, { - "value": "TAB", + "code": "TAB", "name": { "en": "Tank renting" } }, { - "value": "TAC", + "code": "TAC", "name": { "en": "Testing" } }, { - "value": "TT", + "code": "TT", "name": { "en": "Transportation - third party billing" } }, { - "value": "TV", + "code": "TV", "name": { "en": "Transportation by vendor" } }, { - "value": "TX", + "code": "TX", "name": { "en": "Tax" } }, { - "value": "V1", + "code": "V1", "name": { "en": "Drop yard" } }, { - "value": "V2", + "code": "V2", "name": { "en": "Drop dock" } }, { - "value": "WH", + "code": "WH", "name": { "en": "Warehousing" } }, { - "value": "XAA", + "code": "XAA", "name": { "en": "Combine all same day shipment" } }, { - "value": "YY", + "code": "YY", "name": { "en": "Split pick-up" } }, { - "value": "ZZZ", + "code": "ZZZ", "name": { "en": "Mutually defined" } diff --git a/data/regimes/de.json b/data/regimes/de.json index 1f5867d1..9a6790df 100644 --- a/data/regimes/de.json +++ b/data/regimes/de.json @@ -65,7 +65,7 @@ ] } ], - "identity_keys": [ + "identities": [ { "key": "de-tax-number", "name": { diff --git a/data/regimes/es.json b/data/regimes/es.json index 64487683..bd507542 100644 --- a/data/regimes/es.json +++ b/data/regimes/es.json @@ -121,7 +121,7 @@ ] } ], - "identity_keys": [ + "identities": [ { "key": "passport", "name": { diff --git a/data/regimes/in.json b/data/regimes/in.json index 0e62f423..a5cdb697 100644 --- a/data/regimes/in.json +++ b/data/regimes/in.json @@ -6,100 +6,6 @@ "time_zone": "Asia/Kolkata", "country": "IN", "currency": "INR", - "tags": [ - { - "schema": "bill/invoice", - "list": [ - { - "key": "simplified", - "name": { - "de": "Vereinfachte Rechnung", - "en": "Simplified Invoice", - "es": "Factura Simplificada", - "it": "Fattura Semplificata" - }, - "desc": { - "de": "Wird für B2C-Transaktionen verwendet, wenn die Kundendaten nicht verfügbar sind. Bitte wenden Sie sich an die örtlichen Behörden, um die Grenzwerte zu ermitteln.", - "en": "Used for B2C transactions when the client details are not available, check with local authorities for limits.", - "es": "Usado para transacciones B2C cuando los detalles del cliente no están disponibles, consulte con las autoridades locales para los límites.", - "it": "Utilizzato per le transazioni B2C quando i dettagli del cliente non sono disponibili, controllare con le autorità locali per i limiti." - } - }, - { - "key": "reverse-charge", - "name": { - "de": "Umkehr der Steuerschuld", - "en": "Reverse Charge", - "es": "Inversión del Sujeto Pasivo", - "it": "Inversione del soggetto passivo" - } - }, - { - "key": "self-billed", - "name": { - "de": "Rechnung durch den Leistungsempfänger", - "en": "Self-billed", - "es": "Facturación por el destinatario", - "it": "Autofattura" - } - }, - { - "key": "customer-rates", - "name": { - "de": "Kundensätze", - "en": "Customer rates", - "es": "Tarifas aplicables al destinatario", - "it": "Aliquote applicabili al destinatario" - } - }, - { - "key": "partial", - "name": { - "de": "Teilweise", - "en": "Partial", - "es": "Parcial", - "it": "Parziale" - } - }, - { - "key": "bill-of-supply", - "name": { - "en": "Bill of Supply", - "hi": "आपूर्ति का बिल" - } - }, - { - "key": "invoice-cum-bill-of-supply", - "name": { - "en": "Invoice-cum-bill of supply", - "hi": "चालान-सह-आपूर्ति का बिल" - } - } - ] - } - ], - "extensions": [ - { - "key": "in-supply-place", - "name": { - "en": "Place of Supply", - "hi": "आपूर्ति का स्थान" - }, - "desc": { - "en": "The location to which the goods or services are supplied. In GST, this is referred to as the 'Place of Supply'.", - "hi": "वह स्थान जहां वस्तुएं या सेवाएं प्रदान की जाती हैं। GST में इसे 'आपूर्ति का स्थान' कहा जाता है।" - } - } - ], - "identity_keys": [ - { - "key": "in-pan", - "name": { - "en": "Permanent Account Number", - "hi": "स्थायी खाता संख्या" - } - } - ], "scenarios": [ { "schema": "bill/invoice", @@ -123,26 +29,6 @@ "src": "simplified", "text": "Simplified Tax Invoice" } - }, - { - "tags": [ - "bill-of-supply" - ], - "note": { - "key": "legal", - "src": "bill-of-supply", - "text": "Bill Of Supply" - } - }, - { - "tags": [ - "invoice-cum-bill-of-supply" - ], - "note": { - "key": "legal", - "src": "invoice-cum-bill-of-supply", - "text": "Invoice-cum-bill Of Supply" - } } ] } @@ -236,26 +122,6 @@ "url": "https://gstcouncil.gov.in/utgst" } ] - }, - { - "code": "CESS", - "name": { - "en": "Cess", - "hi": "उपकर" - }, - "title": { - "en": "GST Compensation Cess on Luxury or Specific Goods", - "hi": "विलासिता या विशेष वस्तुओं पर जीएसटी मुआवजा उपकर" - }, - "sources": [ - { - "title": { - "en": "GST Compensation Cess Regulations", - "hi": "जीएसटी मुआवजा उपकर नियमावली" - }, - "url": "https://gstcouncil.gov.in" - } - ] } ] } \ No newline at end of file diff --git a/data/regimes/it.json b/data/regimes/it.json index ded4f53d..c6237441 100644 --- a/data/regimes/it.json +++ b/data/regimes/it.json @@ -65,7 +65,7 @@ ] } ], - "identity_keys": [ + "identities": [ { "key": "it-fiscal-code", "name": { diff --git a/data/regimes/pl.json b/data/regimes/pl.json index 4b9ff349..dca7fe09 100644 --- a/data/regimes/pl.json +++ b/data/regimes/pl.json @@ -81,7 +81,7 @@ }, "values": [ { - "value": "taxi", + "code": "taxi", "name": { "en": "Taxi Rate", "pl": "Ryczałt dla taksówek" @@ -100,21 +100,21 @@ }, "values": [ { - "value": "wdt", + "code": "wdt", "name": { "en": "WDT", "pl": "WDT" } }, { - "value": "domestic", + "code": "domestic", "name": { "en": "Domestic", "pl": "Krajowy" } }, { - "value": "export", + "code": "export", "name": { "en": "Export", "pl": "Eksport" @@ -130,7 +130,7 @@ }, "values": [ { - "value": "1", + "code": "1", "name": { "en": "Original", "pl": "Pierwotna" @@ -141,7 +141,7 @@ } }, { - "value": "2", + "code": "2", "name": { "en": "Correction", "pl": "Korygująca" @@ -152,7 +152,7 @@ } }, { - "value": "3", + "code": "3", "name": { "en": "Other", "pl": "Inna" diff --git a/data/regimes/pt.json b/data/regimes/pt.json index 9ff85ef2..f0a93dde 100644 --- a/data/regimes/pt.json +++ b/data/regimes/pt.json @@ -81,21 +81,21 @@ }, "values": [ { - "value": "PT", + "code": "PT", "name": { "en": "Mainland Portugal", "pt": "Portugal Continental" } }, { - "value": "PT-AC", + "code": "PT-AC", "name": { "en": "Azores", "pt": "Açores" } }, { - "value": "PT-MA", + "code": "PT-MA", "name": { "en": "Madeira", "pt": "Madeira" diff --git a/data/schemas/bill/invoice.json b/data/schemas/bill/invoice.json index 87508bb6..593d09b6 100644 --- a/data/schemas/bill/invoice.json +++ b/data/schemas/bill/invoice.json @@ -1075,11 +1075,6 @@ "title": "Rounding", "description": "Rounding amount to apply to the invoice in case the total and payable\namounts don't quite match." }, - "outlays": { - "$ref": "https://gobl.org/draft-0/num/amount", - "title": "Outlay Totals", - "description": "Total paid in outlays that need to be reimbursed" - }, "payable": { "$ref": "https://gobl.org/draft-0/num/amount", "title": "Payable", diff --git a/data/schemas/cbc/key-definition.json b/data/schemas/cbc/definition.json similarity index 72% rename from data/schemas/cbc/key-definition.json rename to data/schemas/cbc/definition.json index 7b01b600..3129f10e 100644 --- a/data/schemas/cbc/key-definition.json +++ b/data/schemas/cbc/definition.json @@ -1,14 +1,19 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://gobl.org/draft-0/cbc/key-definition", - "$ref": "#/$defs/KeyDefinition", + "$id": "https://gobl.org/draft-0/cbc/definition", + "$ref": "#/$defs/Definition", "$defs": { - "KeyDefinition": { + "Definition": { "properties": { "key": { "$ref": "https://gobl.org/draft-0/cbc/key", "title": "Key", - "description": "Actual key value." + "description": "Key being defined." + }, + "code": { + "$ref": "https://gobl.org/draft-0/cbc/code", + "title": "Code", + "description": "Code this definition represents." }, "name": { "$ref": "https://gobl.org/draft-0/i18n/string", @@ -27,11 +32,11 @@ }, "values": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/value-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", "title": "Values", - "description": "Values defines the possible values associated with the key." + "description": "Values defines the possible values associated with the key, which themselves will\neither be keys or codes depending on the context." }, "pattern": { "type": "string", @@ -46,10 +51,9 @@ }, "type": "object", "required": [ - "key", "name" ], - "description": "KeyDefinition defines properties of a key that is specific for a regime." + "description": "Definition defines properties of a key, code, or other value that has a specific meaning or utility." } } } \ No newline at end of file diff --git a/data/schemas/cbc/note.json b/data/schemas/cbc/note.json index beea2aab..c8ac8665 100644 --- a/data/schemas/cbc/note.json +++ b/data/schemas/cbc/note.json @@ -138,7 +138,7 @@ "description": "Key specifying subject of the text" }, "code": { - "type": "string", + "$ref": "https://gobl.org/draft-0/cbc/code", "title": "Code", "description": "Code used for additional data that may be required to identify the note." }, diff --git a/data/schemas/cbc/value-definition.json b/data/schemas/cbc/value-definition.json deleted file mode 100644 index 70d48ac3..00000000 --- a/data/schemas/cbc/value-definition.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://gobl.org/draft-0/cbc/value-definition", - "$ref": "#/$defs/ValueDefinition", - "$defs": { - "ValueDefinition": { - "properties": { - "value": { - "type": "string", - "title": "Value", - "description": "Value for which the definition is for." - }, - "name": { - "$ref": "https://gobl.org/draft-0/i18n/string", - "title": "Name", - "description": "Short name for the value, if relevant." - }, - "desc": { - "$ref": "https://gobl.org/draft-0/i18n/string", - "title": "Description", - "description": "Description offering more details about when the value should be used." - }, - "meta": { - "$ref": "https://gobl.org/draft-0/cbc/meta", - "title": "Meta", - "description": "Meta defines any additional details that may be useful or associated\nwith the value." - } - }, - "type": "object", - "required": [ - "value" - ], - "description": "ValueDefinition describes a specific value and how it maps to a human name and description if appropriate." - } - } -} \ No newline at end of file diff --git a/data/schemas/org/identity.json b/data/schemas/org/identity.json index 350f43d4..41a33bd5 100644 --- a/data/schemas/org/identity.json +++ b/data/schemas/org/identity.json @@ -24,7 +24,7 @@ "key": { "$ref": "https://gobl.org/draft-0/cbc/key", "title": "Key", - "description": "Uniquely classify this identity using a key instead of a code." + "description": "Uniquely classify this identity using a key instead of a type." }, "type": { "$ref": "https://gobl.org/draft-0/cbc/code", diff --git a/data/schemas/tax/addon-def.json b/data/schemas/tax/addon-def.json index 68f9098d..82e4c389 100644 --- a/data/schemas/tax/addon-def.json +++ b/data/schemas/tax/addon-def.json @@ -30,7 +30,7 @@ }, "extensions": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", "title": "Extensions", @@ -54,7 +54,7 @@ }, "identities": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", "title": "Identities", @@ -62,7 +62,7 @@ }, "inboxes": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", "title": "Inboxes", @@ -162,10 +162,10 @@ "title": "Extension Key", "description": "Extension key that must be present in the document." }, - "ext_value": { - "type": "string", - "title": "Extension Value", - "description": "Extension value that along side the key must be present for a match\nto happen. This cannot be used without an `ExtKey`. The value will\nbe copied to the note code if needed." + "ext_code": { + "$ref": "https://gobl.org/draft-0/cbc/code", + "title": "Extension Code", + "description": "Extension code that along side the key must be present for a match\nto happen. This cannot be used without an `cbc.Code`. The value will\nbe copied to the note code if needed." }, "note": { "$ref": "https://gobl.org/draft-0/cbc/note", @@ -218,7 +218,7 @@ }, "list": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", "title": "List", diff --git a/data/schemas/tax/catalogue-def.json b/data/schemas/tax/catalogue-def.json index b9e70333..ff8d6e62 100644 --- a/data/schemas/tax/catalogue-def.json +++ b/data/schemas/tax/catalogue-def.json @@ -19,7 +19,7 @@ }, "extensions": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", "description": "Extensions defines all the extensions offered by the catalogue." @@ -29,7 +29,6 @@ "required": [ "key", "name", - "description", "extensions" ], "description": "A CatalogueDef contains a set of re-useable extensions, scenarios, and validators that can be used by addons or tax regimes." diff --git a/data/schemas/tax/extensions.json b/data/schemas/tax/extensions.json index 045b2baa..d684b33f 100644 --- a/data/schemas/tax/extensions.json +++ b/data/schemas/tax/extensions.json @@ -6,7 +6,7 @@ "Extensions": { "patternProperties": { "^(?:[a-z]|[a-z0-9][a-z0-9-+]*[a-z0-9])$": { - "type": "string" + "$ref": "https://gobl.org/draft-0/cbc/code" } }, "type": "object", diff --git a/data/schemas/tax/regime-def.json b/data/schemas/tax/regime-def.json index 0f7ba3d0..01061b5d 100644 --- a/data/schemas/tax/regime-def.json +++ b/data/schemas/tax/regime-def.json @@ -272,31 +272,23 @@ }, "extensions": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", "title": "Extensions", "description": "Extensions defines the keys that can be used for extended or extra data inside the regime that\nis specific to the regime and cannot be easily determined from other GOBL structures.\nTypically these are used to define local codes for suppliers, customers, products, or tax rates." }, - "tax_identity_type_keys": { + "identities": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", - "title": "Tax Identity Type Keys", - "description": "Tax Identity types specific for the regime and may be validated\nagainst." - }, - "identity_keys": { - "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" - }, - "type": "array", - "title": "Identity Keys", - "description": "Identity keys used in addition to regular tax identities and specific for the\nregime that may be validated against." + "title": "Identities", + "description": "Identities used in addition to regular tax identities and specific for the\nregime that may be validated against." }, "payment_means_keys": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", "title": "Payment Means Keys", @@ -304,7 +296,7 @@ }, "inbox_keys": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", "title": "Inbox Keys", @@ -369,10 +361,10 @@ "title": "Extension Key", "description": "Extension key that must be present in the document." }, - "ext_value": { - "type": "string", - "title": "Extension Value", - "description": "Extension value that along side the key must be present for a match\nto happen. This cannot be used without an `ExtKey`. The value will\nbe copied to the note code if needed." + "ext_code": { + "$ref": "https://gobl.org/draft-0/cbc/code", + "title": "Extension Code", + "description": "Extension code that along side the key must be present for a match\nto happen. This cannot be used without an `cbc.Code`. The value will\nbe copied to the note code if needed." }, "note": { "$ref": "https://gobl.org/draft-0/cbc/note", @@ -445,7 +437,7 @@ }, "list": { "items": { - "$ref": "https://gobl.org/draft-0/cbc/key-definition" + "$ref": "https://gobl.org/draft-0/cbc/definition" }, "type": "array", "title": "List", diff --git a/num/amount.go b/num/amount.go index 57e730d1..c84d5972 100644 --- a/num/amount.go +++ b/num/amount.go @@ -211,8 +211,8 @@ func (a Amount) RescaleDown(exp uint32) Amount { // RescaleRange will rescale the amount so that it fits within the provided // range of exponents. This is useful for ensuring that amounts are within // a certain range of accuracy. -func (a Amount) RescaleRange(min, max uint32) Amount { - return a.RescaleUp(min).RescaleDown(max) +func (a Amount) RescaleRange(minimum, maximum uint32) Amount { + return a.RescaleUp(minimum).RescaleDown(maximum) } // MatchPrecision will rescale the exponent value of the amount so that it diff --git a/num/validation.go b/num/validation.go index 2aa28b41..b8ca2abe 100644 --- a/num/validation.go +++ b/num/validation.go @@ -38,18 +38,18 @@ var ( ) // Min checks if the value is greater than or equal to the provided amount or percentage -func Min(min interface{}) ThresholdRule { +func Min(value any) ThresholdRule { return ThresholdRule{ - threshold: interfaceToAmount(min), + threshold: interfaceToAmount(value), operator: greaterEqualThan, err: validation.ErrMinGreaterEqualThanRequired, } } // Max checks if the value is less than or equal to the provided amount or percentage -func Max(max interface{}) ThresholdRule { +func Max(value any) ThresholdRule { return ThresholdRule{ - threshold: interfaceToAmount(max), + threshold: interfaceToAmount(value), operator: lessEqualThan, err: validation.ErrMaxLessEqualThanRequired, } diff --git a/org/identity.go b/org/identity.go index 0f9f7c71..5ab04414 100644 --- a/org/identity.go +++ b/org/identity.go @@ -15,7 +15,8 @@ import ( // Common identity keys that may be used to identify something, like an item, document, // person, organisation, or company. Ideally, these will only be used when no other // more structured properties are available inside GOBL. The keys suggested here are -// non-binding and can be used as a reference for other implementations. +// non-binding and can be used as a reference for other implementations or mappings to +// scheme identifiers such as UNTDID 1153. const ( IdentityKeySKU cbc.Key = "sku" // stock code unit ID IdentityKeyItem cbc.Key = "item" // item number @@ -26,17 +27,24 @@ const ( IdentityKeyNational cbc.Key = "national" // National ID card number IdentityKeyForeign cbc.Key = "foreign" // Foreigner ID card number IdentityKeyResident cbc.Key = "resident" // Resident ID card number - IdentityKeyOther cbc.Key = "other" // Other ID card number + IdentityKeyISBN cbc.Key = "isbn" // International Standard Book Number + IdentityKeyHSN cbc.Key = "hsn" // Harmonized System of Nomenclature + IdentityKeyGTIN cbc.Key = "gtin" // GS1 Global Trade Item Number + IdentityKeyEAN cbc.Key = "ean" // European Article Number + IdentityKeyUPC cbc.Key = "upc" // UPC (Universal Product Code) + IdentityKeyIMEI cbc.Key = "imei" // International Mobile Equipment Identity + IdentityKeyOther cbc.Key = "other" ) -// Identity is used to define a code for a specific context. +// Identity is used to define a code for a specific context. Identities can be used for +// a variety of purposes, such as identifying a person, organisation, item, or document. type Identity struct { uuid.Identify // Optional label useful for non-standard identities to give a bit more context. Label string `json:"label,omitempty" jsonschema:"title=Label"` // Country from which the identity was issued. Country l10n.ISOCountryCode `json:"country,omitempty" jsonschema:"title=Country"` - // Uniquely classify this identity using a key instead of a code. + // Uniquely classify this identity using a key instead of a type. Key cbc.Key `json:"key,omitempty" jsonschema:"title=Key"` // The type of Code being represented and usually specific for // a particular context, country, or tax regime, and cannot be used diff --git a/tax/catalogue.go b/tax/catalogue.go index 05393663..8b33df2f 100644 --- a/tax/catalogue.go +++ b/tax/catalogue.go @@ -1,12 +1,19 @@ package tax import ( + "encoding/json" + "path" "sort" "github.com/invopop/gobl/cbc" + "github.com/invopop/gobl/data" "github.com/invopop/gobl/i18n" ) +const ( + cataloguesPath = "catalogues" +) + // A CatalogueDef contains a set of re-useable extensions, scenarios, and validators that // can be used by addons or tax regimes. This structure is useful for serializing the // data into JSON for use in external libraries. @@ -16,14 +23,26 @@ type CatalogueDef struct { // Name is the name of the catalogue. Name i18n.String `json:"name"` // Description is a human readable description of the catalogue. - Description i18n.String `json:"description"` + Description i18n.String `json:"description,omitempty"` // Extensions defines all the extensions offered by the catalogue. Extensions []*cbc.Definition `json:"extensions"` } // RegisterCatalogueDef will register the catalogue in the global list of catalogues // and ensure the extensions it contains are available in GOBL. -func RegisterCatalogueDef(catalogue *CatalogueDef) { +// +// Unlike other sources, catalogues are loaded from JSON files in the `catalogues` +// directory of the embedded data filesystem. +func RegisterCatalogueDef(filename string) { + catalogue := &CatalogueDef{} + out, err := data.Content.ReadFile(path.Join(cataloguesPath, filename)) + if err != nil { + panic(err) + } + if err := json.Unmarshal(out, catalogue); err != nil { + panic(err) + } + for _, ext := range catalogue.Extensions { RegisterExtension(ext) } diff --git a/tax/catalogue_test.go b/tax/catalogue_test.go index 08ae05e5..c75cc5a2 100644 --- a/tax/catalogue_test.go +++ b/tax/catalogue_test.go @@ -20,3 +20,11 @@ func TestAllCatalogueDefs(t *testing.T) { } assert.True(t, match) } + +func TestRegisterCatalogueDef(t *testing.T) { + t.Run("missing source file", func(t *testing.T) { + assert.Panics(t, func() { + tax.RegisterCatalogueDef("missing.json") + }) + }) +}