diff --git a/data/regimes/co.json b/data/regimes/co.json index 89325636..4f272971 100644 --- a/data/regimes/co.json +++ b/data/regimes/co.json @@ -15,11 +15,36 @@ "key": "simplified", "name": { "en": "Simplified Invoice", - "es": "Factura Simplificada" + "es": "Factura Simplificada", + "it": "Fattura Semplificata" }, "desc": { "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." + "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": { + "en": "Reverse Charge", + "es": "Inversión del Sujeto Pasivo", + "it": "Inversione del soggetto passivo" + } + }, + { + "key": "self-billed", + "name": { + "en": "Self-billed", + "es": "Facturación por el destinatario", + "it": "Autofattura" + } + }, + { + "key": "customer-rates", + "name": { + "en": "Customer rates", + "es": "Tarifas aplicables al destinatario" } } ], diff --git a/data/regimes/es.json b/data/regimes/es.json index d1ca7368..79ccdd27 100644 --- a/data/regimes/es.json +++ b/data/regimes/es.json @@ -12,28 +12,36 @@ "key": "simplified", "name": { "en": "Simplified Invoice", - "es": "Factura Simplificada" + "es": "Factura Simplificada", + "it": "Fattura Semplificata" + }, + "desc": { + "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": "customer-rates", + "key": "reverse-charge", "name": { - "en": "Customer rates", - "es": "Tarifas aplicables al destinatario" + "en": "Reverse Charge", + "es": "Inversión del Sujeto Pasivo", + "it": "Inversione del soggetto passivo" } }, { - "key": "reverse-charge", + "key": "self-billed", "name": { - "en": "Reverse Charge", - "es": "Inversión del sujeto pasivo" + "en": "Self-billed", + "es": "Facturación por el destinatario", + "it": "Autofattura" } }, { - "key": "self-billed", + "key": "customer-rates", "name": { - "en": "Customer issued invoice", - "es": "Facturación por el destinatario" + "en": "Customer rates", + "es": "Tarifas aplicables al destinatario" } }, { diff --git a/data/regimes/fr.json b/data/regimes/fr.json index 478fa235..c8f51e5a 100644 --- a/data/regimes/fr.json +++ b/data/regimes/fr.json @@ -11,11 +11,40 @@ "country": "FR", "currency": "EUR", "tags": [ + { + "key": "simplified", + "name": { + "en": "Simplified Invoice", + "es": "Factura Simplificada", + "it": "Fattura Semplificata" + }, + "desc": { + "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": { "en": "Reverse Charge", - "es": "Inversión del sujeto pasivo" + "es": "Inversión del Sujeto Pasivo", + "it": "Inversione del soggetto passivo" + } + }, + { + "key": "self-billed", + "name": { + "en": "Self-billed", + "es": "Facturación por el destinatario", + "it": "Autofattura" + } + }, + { + "key": "customer-rates", + "name": { + "en": "Customer rates", + "es": "Tarifas aplicables al destinatario" } } ], diff --git a/data/regimes/gb.json b/data/regimes/gb.json index b09a695e..28211996 100644 --- a/data/regimes/gb.json +++ b/data/regimes/gb.json @@ -6,6 +6,61 @@ "time_zone": "Europe/London", "country": "GB", "currency": "GBP", + "tags": [ + { + "key": "simplified", + "name": { + "en": "Simplified Invoice", + "es": "Factura Simplificada", + "it": "Fattura Semplificata" + }, + "desc": { + "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": { + "en": "Reverse Charge", + "es": "Inversión del Sujeto Pasivo", + "it": "Inversione del soggetto passivo" + } + }, + { + "key": "self-billed", + "name": { + "en": "Self-billed", + "es": "Facturación por el destinatario", + "it": "Autofattura" + } + }, + { + "key": "customer-rates", + "name": { + "en": "Customer rates", + "es": "Tarifas aplicables al destinatario" + } + } + ], + "scenarios": [ + { + "schema": "bill/invoice", + "list": [ + { + "tags": [ + "reverse-charge" + ], + "note": { + "key": "legal", + "src": "reverse-charge", + "text": "Reverse charge: Customer to account for VAT to the relevant tax authority." + } + } + ] + } + ], "categories": [ { "code": "VAT", diff --git a/data/regimes/it.json b/data/regimes/it.json index 5bc5ca97..bd9e5e3e 100644 --- a/data/regimes/it.json +++ b/data/regimes/it.json @@ -9,16 +9,23 @@ "currency": "EUR", "tags": [ { - "key": "freelance", + "key": "simplified", "name": { - "en": "Freelancer", - "it": "Parcella" + "en": "Simplified Invoice", + "es": "Factura Simplificada", + "it": "Fattura Semplificata" + }, + "desc": { + "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": { "en": "Reverse Charge", + "es": "Inversión del Sujeto Pasivo", "it": "Inversione del soggetto passivo" } }, @@ -26,9 +33,24 @@ "key": "self-billed", "name": { "en": "Self-billed", + "es": "Facturación por el destinatario", "it": "Autofattura" } }, + { + "key": "customer-rates", + "name": { + "en": "Customer rates", + "es": "Tarifas aplicables al destinatario" + } + }, + { + "key": "freelance", + "name": { + "en": "Freelancer", + "it": "Parcella" + } + }, { "key": "ceiling-exceeded", "name": { diff --git a/data/regimes/mx.json b/data/regimes/mx.json index 46429766..c9581c23 100644 --- a/data/regimes/mx.json +++ b/data/regimes/mx.json @@ -7,6 +7,44 @@ "time_zone": "America/Mexico_City", "country": "MX", "currency": "MXN", + "tags": [ + { + "key": "simplified", + "name": { + "en": "Simplified Invoice", + "es": "Factura Simplificada", + "it": "Fattura Semplificata" + }, + "desc": { + "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": { + "en": "Reverse Charge", + "es": "Inversión del Sujeto Pasivo", + "it": "Inversione del soggetto passivo" + } + }, + { + "key": "self-billed", + "name": { + "en": "Self-billed", + "es": "Facturación por el destinatario", + "it": "Autofattura" + } + }, + { + "key": "customer-rates", + "name": { + "en": "Customer rates", + "es": "Tarifas aplicables al destinatario" + } + } + ], "extensions": [ { "key": "mx-cfdi-prod-serv", @@ -641,7 +679,69 @@ }, "exempt": true } - ] + ], + "map": { + "sat-impuesto": "002" + } + }, + { + "code": "RVAT", + "name": { + "en": "Retained VAT", + "es": "IVA Retenido" + }, + "title": { + "en": "Retained Value Added Tax", + "es": "Impuesto al Valor Agregado Retenido" + }, + "retained": true, + "map": { + "sat-impuesto": "002" + } + }, + { + "code": "IEPS", + "name": { + "en": "IEPS", + "es": "IEPS" + }, + "title": { + "en": "Special Tax on Production and Services", + "es": "Impuesto Especial sobre Producción y Servicios" + }, + "map": { + "sat-impuesto": "003" + } + }, + { + "code": "RIEPS", + "name": { + "en": "Retained IEPS", + "es": "IEPS Retenido" + }, + "title": { + "en": "Retained Special Tax on Production and Services", + "es": "Impuesto Especial sobre Producción y Servicios Retenido" + }, + "retained": true, + "map": { + "sat-impuesto": "003" + } + }, + { + "code": "ISR", + "name": { + "en": "ISR", + "es": "ISR" + }, + "title": { + "en": "Income Tax", + "es": "Impuesto Sobre la Renta" + }, + "retained": true, + "map": { + "sat-impuesto": "001" + } } ] } \ No newline at end of file diff --git a/data/regimes/nl.json b/data/regimes/nl.json index 5271a69d..8320bcaf 100644 --- a/data/regimes/nl.json +++ b/data/regimes/nl.json @@ -7,6 +7,61 @@ "time_zone": "Europe/Amsterdam", "country": "NL", "currency": "EUR", + "tags": [ + { + "key": "simplified", + "name": { + "en": "Simplified Invoice", + "es": "Factura Simplificada", + "it": "Fattura Semplificata" + }, + "desc": { + "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": { + "en": "Reverse Charge", + "es": "Inversión del Sujeto Pasivo", + "it": "Inversione del soggetto passivo" + } + }, + { + "key": "self-billed", + "name": { + "en": "Self-billed", + "es": "Facturación por el destinatario", + "it": "Autofattura" + } + }, + { + "key": "customer-rates", + "name": { + "en": "Customer rates", + "es": "Tarifas aplicables al destinatario" + } + } + ], + "scenarios": [ + { + "schema": "bill/invoice", + "list": [ + { + "tags": [ + "reverse-charge" + ], + "note": { + "key": "legal", + "src": "reverse-charge", + "text": "Reverse charge: Customer to account for VAT to the relevant tax authority." + } + } + ] + } + ], "categories": [ { "code": "VAT", diff --git a/data/regimes/pt.json b/data/regimes/pt.json index 43d85cf6..1a8a5ea1 100644 --- a/data/regimes/pt.json +++ b/data/regimes/pt.json @@ -9,17 +9,46 @@ "currency": "EUR", "tags": [ { - "key": "invoice-receipt", + "key": "simplified", "name": { - "en": "Invoice-receipt", - "pt": "Fatura-recibo" + "en": "Simplified Invoice", + "es": "Factura Simplificada", + "it": "Fattura Semplificata" + }, + "desc": { + "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": "simplified", + "key": "reverse-charge", + "name": { + "en": "Reverse Charge", + "es": "Inversión del Sujeto Pasivo", + "it": "Inversione del soggetto passivo" + } + }, + { + "key": "self-billed", + "name": { + "en": "Self-billed", + "es": "Facturación por el destinatario", + "it": "Autofattura" + } + }, + { + "key": "customer-rates", "name": { - "en": "Simplified invoice", - "pt": "Fatura simplificada" + "en": "Customer rates", + "es": "Tarifas aplicables al destinatario" + } + }, + { + "key": "invoice-receipt", + "name": { + "en": "Invoice-receipt", + "pt": "Fatura-recibo" } } ], @@ -272,6 +301,16 @@ "codes": { "at-invoice-type": "NC" } + }, + { + "tags": [ + "reverse-charge" + ], + "note": { + "key": "legal", + "src": "reverse-charge", + "text": "Reverse charge / Autoliquidação - Artigo 2.º n.º 1 alínea j) do Código do IVA" + } } ] } diff --git a/data/regimes/us.json b/data/regimes/us.json index d93c0c35..8ca8689c 100644 --- a/data/regimes/us.json +++ b/data/regimes/us.json @@ -6,6 +6,44 @@ "time_zone": "America/Chicago", "country": "US", "currency": "USD", + "tags": [ + { + "key": "simplified", + "name": { + "en": "Simplified Invoice", + "es": "Factura Simplificada", + "it": "Fattura Semplificata" + }, + "desc": { + "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": { + "en": "Reverse Charge", + "es": "Inversión del Sujeto Pasivo", + "it": "Inversione del soggetto passivo" + } + }, + { + "key": "self-billed", + "name": { + "en": "Self-billed", + "es": "Facturación por el destinatario", + "it": "Autofattura" + } + }, + { + "key": "customer-rates", + "name": { + "en": "Customer rates", + "es": "Tarifas aplicables al destinatario" + } + } + ], "categories": [ { "code": "ST", diff --git a/data/schemas/bill/correction-options.json b/data/schemas/bill/correction-options.json index 2baf8ac6..5f2d7b2d 100644 --- a/data/schemas/bill/correction-options.json +++ b/data/schemas/bill/correction-options.json @@ -51,5 +51,5 @@ "description": "CorrectionOptions defines a structure used to pass configuration options to correct a previous invoice." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/bill/invoice.json b/data/schemas/bill/invoice.json index 66ce04a1..5b8e6330 100644 --- a/data/schemas/bill/invoice.json +++ b/data/schemas/bill/invoice.json @@ -77,6 +77,14 @@ "title": "Receiver", "description": "The party who will receive delivery of the goods defined in the invoice and is not responsible for taxes." }, + "identities": { + "items": { + "$ref": "https://gobl.org/draft-0/org/identity" + }, + "type": "array", + "title": "Identities", + "description": "Identities is used to define specific codes or IDs that may be used to\nidentify the delivery." + }, "date": { "$ref": "https://gobl.org/draft-0/cal/date", "title": "Date", @@ -516,6 +524,14 @@ "title": "Code", "description": "Identifier assigned by the customer or buyer for internal routing purposes." }, + "identities": { + "items": { + "$ref": "https://gobl.org/draft-0/org/identity" + }, + "type": "array", + "title": "Identities", + "description": "Any additional Codes, IDs, SKUs, or other regional or custom\nidentifiers that may be used to identify the order." + }, "period": { "$ref": "https://gobl.org/draft-0/cal/period", "title": "Period", @@ -626,7 +642,7 @@ "properties": { "payee": { "$ref": "https://gobl.org/draft-0/org/party", - "title": "Payer", + "title": "Payee", "description": "The party responsible for receiving payment of the invoice, if not the supplier." }, "terms": { @@ -818,5 +834,5 @@ "description": "Totals contains the summaries of all calculations for the invoice." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/cal/date-time.json b/data/schemas/cal/date-time.json index f6cc1479..db395076 100644 --- a/data/schemas/cal/date-time.json +++ b/data/schemas/cal/date-time.json @@ -10,5 +10,5 @@ "description": "Civil date time in simplified ISO format with no time zone\ninformation, for example: 2021-05-26T13:45:00" } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/cal/date.json b/data/schemas/cal/date.json index d3546de0..bac8d3b0 100644 --- a/data/schemas/cal/date.json +++ b/data/schemas/cal/date.json @@ -10,5 +10,5 @@ "description": "Civil date in simplified ISO format, like 2021-05-26" } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/cal/period.json b/data/schemas/cal/period.json index 63cec391..a358db1d 100644 --- a/data/schemas/cal/period.json +++ b/data/schemas/cal/period.json @@ -29,5 +29,5 @@ "description": "Period represents two dates with a start and finish." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/cbc/code-map.json b/data/schemas/cbc/code-map.json index 44515b69..867f400d 100644 --- a/data/schemas/cbc/code-map.json +++ b/data/schemas/cbc/code-map.json @@ -13,5 +13,5 @@ "description": "CodeMap is a map of keys to specific codes, useful to determine regime specific codes from their key counterparts." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/cbc/code.json b/data/schemas/cbc/code.json index 4f872fa5..2395e364 100644 --- a/data/schemas/cbc/code.json +++ b/data/schemas/cbc/code.json @@ -12,5 +12,5 @@ "description": "Alphanumerical text identifier with upper-case letters, no whitespace, nor symbols." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/cbc/key.json b/data/schemas/cbc/key.json index a7ef93bb..1cdfeb5c 100644 --- a/data/schemas/cbc/key.json +++ b/data/schemas/cbc/key.json @@ -12,5 +12,5 @@ "description": "Text identifier to be used instead of a code for a more verbose but readable identifier." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/cbc/meta.json b/data/schemas/cbc/meta.json index a387543f..14ceb558 100644 --- a/data/schemas/cbc/meta.json +++ b/data/schemas/cbc/meta.json @@ -13,5 +13,5 @@ "description": "Meta defines a structure for data about the data being defined." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/cbc/note.json b/data/schemas/cbc/note.json index 1fc2116b..32e7bbbf 100644 --- a/data/schemas/cbc/note.json +++ b/data/schemas/cbc/note.json @@ -165,5 +165,5 @@ "description": "Note represents a free text of additional information that may be added to a document." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/currency/code.json b/data/schemas/currency/code.json index dea929a5..15cb2103 100644 --- a/data/schemas/currency/code.json +++ b/data/schemas/currency/code.json @@ -675,5 +675,5 @@ "description": "ISO Currency Code" } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/currency/exchange-rate.json b/data/schemas/currency/exchange-rate.json index 6889327b..422808ee 100644 --- a/data/schemas/currency/exchange-rate.json +++ b/data/schemas/currency/exchange-rate.json @@ -24,5 +24,5 @@ "description": "ExchangeRate contains data on the rate to be used when converting amounts from the document's base currency to whatever is defined." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/dsig/digest.json b/data/schemas/dsig/digest.json index 8e3b4223..077fb530 100644 --- a/data/schemas/dsig/digest.json +++ b/data/schemas/dsig/digest.json @@ -24,5 +24,5 @@ "description": "Digest defines a structure to hold a digest value including the algorithm used to generate it." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/dsig/signature.json b/data/schemas/dsig/signature.json index 79bcbf72..4a833155 100644 --- a/data/schemas/dsig/signature.json +++ b/data/schemas/dsig/signature.json @@ -9,5 +9,5 @@ "description": "JSON Web Signature in compact form." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/envelope.json b/data/schemas/envelope.json index baa7aca2..a4d70725 100644 --- a/data/schemas/envelope.json +++ b/data/schemas/envelope.json @@ -38,5 +38,5 @@ "description": "Envelope wraps around a document adding headers and digital signatures." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/head/header.json b/data/schemas/head/header.json index fd2ccbea..fc0e8c5b 100644 --- a/data/schemas/head/header.json +++ b/data/schemas/head/header.json @@ -55,5 +55,5 @@ "description": "Header defines the metadata of the body." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/head/stamp.json b/data/schemas/head/stamp.json index 48817221..95e06d26 100644 --- a/data/schemas/head/stamp.json +++ b/data/schemas/head/stamp.json @@ -24,5 +24,5 @@ "description": "Stamp defines an official seal of approval from a third party like a governmental agency or intermediary and should thus be included in any official envelopes." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/i18n/string.json b/data/schemas/i18n/string.json index ae350f3d..194abc7a 100644 --- a/data/schemas/i18n/string.json +++ b/data/schemas/i18n/string.json @@ -15,5 +15,5 @@ "description": "Map of 2-Letter language codes to their translations." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/l10n/code.json b/data/schemas/l10n/code.json index a258cbc8..f1978d4d 100644 --- a/data/schemas/l10n/code.json +++ b/data/schemas/l10n/code.json @@ -10,5 +10,5 @@ "description": "Code is used for short identifies like country or state codes." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/l10n/country-code.json b/data/schemas/l10n/country-code.json index 1e29fbec..48b42de9 100644 --- a/data/schemas/l10n/country-code.json +++ b/data/schemas/l10n/country-code.json @@ -1007,5 +1007,5 @@ "description": "Defines an ISO 3166-2 country code" } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/note/message.json b/data/schemas/note/message.json index 00c5beef..38e2db6a 100644 --- a/data/schemas/note/message.json +++ b/data/schemas/note/message.json @@ -34,5 +34,5 @@ ] } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/num/amount.json b/data/schemas/num/amount.json index 5e755eef..7ea6c0e3 100644 --- a/data/schemas/num/amount.json +++ b/data/schemas/num/amount.json @@ -10,5 +10,5 @@ "description": "Quantity with optional decimal places that determine accuracy." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/num/percentage.json b/data/schemas/num/percentage.json index 0a47dfee..fc7c9cfc 100644 --- a/data/schemas/num/percentage.json +++ b/data/schemas/num/percentage.json @@ -10,5 +10,5 @@ "description": "Similar to an Amount, but designed for percentages and includes % symbol in JSON output." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/address.json b/data/schemas/org/address.json index 21d88f4c..69e2bc10 100644 --- a/data/schemas/org/address.json +++ b/data/schemas/org/address.json @@ -88,5 +88,5 @@ "description": "Address defines a globally acceptable set of attributes that describes a postal or fiscal address." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/coordinates.json b/data/schemas/org/coordinates.json index 0d118181..c94f2354 100644 --- a/data/schemas/org/coordinates.json +++ b/data/schemas/org/coordinates.json @@ -30,5 +30,5 @@ "description": "Coordinates describes an exact geographical location in the world." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/email.json b/data/schemas/org/email.json index d1c269a1..f01421c6 100644 --- a/data/schemas/org/email.json +++ b/data/schemas/org/email.json @@ -32,5 +32,5 @@ "description": "Email describes the electronic mailing details." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/identity.json b/data/schemas/org/identity.json index ea0debf2..c96d6340 100644 --- a/data/schemas/org/identity.json +++ b/data/schemas/org/identity.json @@ -15,6 +15,11 @@ "title": "Label", "description": "Optional label useful for non-standard identities to give a bit more context." }, + "key": { + "$ref": "https://gobl.org/draft-0/cbc/key", + "title": "Key", + "description": "Uniquely classify this identity using a key instead of a code." + }, "type": { "$ref": "https://gobl.org/draft-0/cbc/code", "title": "Type", @@ -38,5 +43,5 @@ "description": "Identity is used to define a code for a specific context." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/image.json b/data/schemas/org/image.json index f5af7f34..a8025a7c 100644 --- a/data/schemas/org/image.json +++ b/data/schemas/org/image.json @@ -66,5 +66,5 @@ "description": "Image describes a logo or photo that represents an entity." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/inbox.json b/data/schemas/org/inbox.json index 9e089cae..7418fbe2 100644 --- a/data/schemas/org/inbox.json +++ b/data/schemas/org/inbox.json @@ -38,5 +38,5 @@ "description": "Inbox is used to store data about a connection with a service that is responsible for potentially receiving copies of GOBL envelopes or other document formats defined locally." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/item.json b/data/schemas/org/item.json index ef4515f5..bf93baa3 100644 --- a/data/schemas/org/item.json +++ b/data/schemas/org/item.json @@ -75,5 +75,5 @@ "description": "Item is used to describe a single product or service." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/name.json b/data/schemas/org/name.json index 2ee78c2a..b9ce9c2d 100644 --- a/data/schemas/org/name.json +++ b/data/schemas/org/name.json @@ -59,5 +59,5 @@ "description": "Name represents what a human is called." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/party.json b/data/schemas/org/party.json index 69d1e23c..e977aed2 100644 --- a/data/schemas/org/party.json +++ b/data/schemas/org/party.json @@ -112,5 +112,5 @@ "description": "Party represents a person or business entity." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/person.json b/data/schemas/org/person.json index d8294135..ec26ff9a 100644 --- a/data/schemas/org/person.json +++ b/data/schemas/org/person.json @@ -57,5 +57,5 @@ "description": "Person represents a human, and how to contact them electronically." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/registration.json b/data/schemas/org/registration.json index 5bd8d7e8..b3c5f60f 100644 --- a/data/schemas/org/registration.json +++ b/data/schemas/org/registration.json @@ -50,5 +50,5 @@ "description": "Registration is used in countries that require additional information to be associated with a company usually related to a specific registration office." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/telephone.json b/data/schemas/org/telephone.json index 1a256495..15a9649c 100644 --- a/data/schemas/org/telephone.json +++ b/data/schemas/org/telephone.json @@ -28,5 +28,5 @@ "description": "Telephone describes what is expected for a telephone number." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/unit.json b/data/schemas/org/unit.json index 93e8a2cc..879b3957 100644 --- a/data/schemas/org/unit.json +++ b/data/schemas/org/unit.json @@ -219,5 +219,5 @@ "description": "Unit describes how the quantity of the product should be interpreted." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/org/website.json b/data/schemas/org/website.json index fddc1bf4..b483d067 100644 --- a/data/schemas/org/website.json +++ b/data/schemas/org/website.json @@ -34,5 +34,5 @@ "description": "Website describes what is expected for a web address." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/pay/advance.json b/data/schemas/pay/advance.json index 9bc9784d..4a9db9aa 100644 --- a/data/schemas/pay/advance.json +++ b/data/schemas/pay/advance.json @@ -125,5 +125,5 @@ "description": "Advance represents a single payment that has been made already, such as a deposit on an intent to purchase, or as credit from a previous invoice which was later corrected or cancelled." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/pay/instructions.json b/data/schemas/pay/instructions.json index 58e18346..72dbe9c7 100644 --- a/data/schemas/pay/instructions.json +++ b/data/schemas/pay/instructions.json @@ -221,5 +221,5 @@ "description": "Online provides the details required to make a payment online using a website" } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/pay/terms.json b/data/schemas/pay/terms.json index d449f8cf..fa6304aa 100644 --- a/data/schemas/pay/terms.json +++ b/data/schemas/pay/terms.json @@ -120,5 +120,5 @@ "description": "Terms defines when we expect the customer to pay, or have paid, for the contents of the document." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/regimes/mx/food-vouchers.json b/data/schemas/regimes/mx/food-vouchers.json index f5ef7b43..16eaa41b 100644 --- a/data/schemas/regimes/mx/food-vouchers.json +++ b/data/schemas/regimes/mx/food-vouchers.json @@ -101,5 +101,5 @@ "description": "FoodVouchersLine represents a single food voucher issued to the e-wallet of one of the customer's employees." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/regimes/mx/fuel-account-balance.json b/data/schemas/regimes/mx/fuel-account-balance.json index 5ddb8320..63cb63a2 100644 --- a/data/schemas/regimes/mx/fuel-account-balance.json +++ b/data/schemas/regimes/mx/fuel-account-balance.json @@ -163,5 +163,5 @@ "description": "FuelAccountTax represents a single tax applied to a fuel purchase." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/schema/object.json b/data/schemas/schema/object.json index 2126ff4b..01763cac 100644 --- a/data/schemas/schema/object.json +++ b/data/schemas/schema/object.json @@ -9,5 +9,5 @@ "description": "Data object whose type is determined from the \u003ccode\u003e$schema\u003c/code\u003e property." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/tax/identity.json b/data/schemas/tax/identity.json index bd0199c0..b79df471 100644 --- a/data/schemas/tax/identity.json +++ b/data/schemas/tax/identity.json @@ -43,5 +43,5 @@ "description": "Identity stores the details required to identify an entity for tax purposes." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/tax/regime.json b/data/schemas/tax/regime.json index 637b9e02..47c288f5 100644 --- a/data/schemas/tax/regime.json +++ b/data/schemas/tax/regime.json @@ -369,7 +369,7 @@ }, "type": "array", "title": "Inbox Keys", - "description": "InboxKeys specific for a region that can be used to identify where a document\nshould be forwarded too." + "description": "InboxKeys specific to the regime that can be used to identify where a document\nshould be forwarded to." }, "scenarios": { "items": { @@ -538,5 +538,5 @@ "description": "Zone represents an area inside a country, like a province or a state, which shares the basic definitions of the country, but may vary in some validation rules." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/tax/set.json b/data/schemas/tax/set.json index 8fde8544..248cd80c 100644 --- a/data/schemas/tax/set.json +++ b/data/schemas/tax/set.json @@ -47,5 +47,5 @@ "description": "Set defines a list of tax categories and their rates to be used alongside taxable items." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/tax/total.json b/data/schemas/tax/total.json index d8433428..c3051bf3 100644 --- a/data/schemas/tax/total.json +++ b/data/schemas/tax/total.json @@ -118,5 +118,5 @@ "description": "Total contains a set of Category Totals which in turn contain all the accumulated taxes contained in the document." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/data/schemas/uuid/uuid.json b/data/schemas/uuid/uuid.json index 485cb4d4..5a681bd0 100644 --- a/data/schemas/uuid/uuid.json +++ b/data/schemas/uuid/uuid.json @@ -10,5 +10,5 @@ "description": "Universally Unique Identifier. We only recommend using versions 1 and 4 within GOBL." } }, - "$comment": "Generated with GOBL v0.62.1" + "$comment": "Generated with GOBL v0.63.0" } \ No newline at end of file diff --git a/regimes/it/inboxes.go b/regimes/it/inboxes.go index bceac09b..9d6a7723 100644 --- a/regimes/it/inboxes.go +++ b/regimes/it/inboxes.go @@ -16,7 +16,7 @@ var inboxKeyDefinitions = []*tax.KeyDefinition{ { Key: KeyInboxSDICode, Name: i18n.String{ - i18n.EN: "SDI Desination Code", + i18n.EN: "SDI Destination Code", i18n.IT: "Codice Destinatario SDI", }, }, diff --git a/version.go b/version.go index 4e2d9cee..fdca5c74 100644 --- a/version.go +++ b/version.go @@ -8,7 +8,7 @@ import ( type Version string // VERSION is the current version of the GOBL library. -const VERSION Version = "v0.62.1" +const VERSION Version = "v0.63.0" // Semver parses and returns semver func (v Version) Semver() *semver.Version {