From 786ed2df60e7d70eb1a587321d7b9381b3f11ba6 Mon Sep 17 00:00:00 2001 From: Sam Lown Date: Tue, 5 Dec 2023 16:03:09 +0000 Subject: [PATCH] Updating regime data --- data/regimes/co.json | 16 ++- data/regimes/de.json | 9 ++ data/regimes/es.json | 32 +++++ data/regimes/fr.json | 9 ++ data/regimes/gb.json | 9 ++ data/regimes/it.json | 9 ++ data/regimes/mx.json | 9 ++ data/regimes/nl.json | 9 ++ data/regimes/pl.json | 294 ++++++++++++++++++++++++++++++++++--------- data/regimes/pt.json | 14 ++- data/regimes/us.json | 9 ++ 11 files changed, 353 insertions(+), 66 deletions(-) diff --git a/data/regimes/co.json b/data/regimes/co.json index cf818583..d9039bc4 100644 --- a/data/regimes/co.json +++ b/data/regimes/co.json @@ -52,6 +52,15 @@ "es": "Tarifas aplicables al destinatario", "it": "Aliquote applicabili al destinatario" } + }, + { + "key": "partial", + "name": { + "de": "Teilweise", + "en": "Partial", + "es": "Parcial", + "it": "Parziale" + } } ], "identity_types": [ @@ -253,10 +262,9 @@ }, { "key": "other", - "name": null, - "desc": { - "en": "Otros.", - "es": "Other." + "name": { + "en": "Other", + "es": "Otros" }, "map": { "dian": "5" diff --git a/data/regimes/de.json b/data/regimes/de.json index fca75c52..d2219eb0 100644 --- a/data/regimes/de.json +++ b/data/regimes/de.json @@ -49,6 +49,15 @@ "es": "Tarifas aplicables al destinatario", "it": "Aliquote applicabili al destinatario" } + }, + { + "key": "partial", + "name": { + "de": "Teilweise", + "en": "Partial", + "es": "Parcial", + "it": "Parziale" + } } ], "scenarios": [ diff --git a/data/regimes/es.json b/data/regimes/es.json index b7aad4c6..b2897afb 100644 --- a/data/regimes/es.json +++ b/data/regimes/es.json @@ -50,6 +50,15 @@ "it": "Aliquote applicabili al destinatario" } }, + { + "key": "partial", + "name": { + "de": "Teilweise", + "en": "Partial", + "es": "Parcial", + "it": "Parziale" + } + }, { "key": "copy", "name": { @@ -160,6 +169,29 @@ } ], "extensions": [ + { + "key": "es-tbai-product", + "name": { + "en": "TicketBAI Product Key", + "es": "Clave de Producto TicketBAI" + }, + "keys": [ + { + "key": "goods", + "name": { + "en": "Delivery of goods", + "es": "Entrega de bienes" + } + }, + { + "key": "services", + "name": { + "en": "Provision of services", + "es": "Prestacion de servicios" + } + } + ] + }, { "key": "es-tbai-exemption", "name": { diff --git a/data/regimes/fr.json b/data/regimes/fr.json index 885eb10b..69d65691 100644 --- a/data/regimes/fr.json +++ b/data/regimes/fr.json @@ -52,6 +52,15 @@ "es": "Tarifas aplicables al destinatario", "it": "Aliquote applicabili al destinatario" } + }, + { + "key": "partial", + "name": { + "de": "Teilweise", + "en": "Partial", + "es": "Parcial", + "it": "Parziale" + } } ], "scenarios": [ diff --git a/data/regimes/gb.json b/data/regimes/gb.json index b21be1b7..f3c963ee 100644 --- a/data/regimes/gb.json +++ b/data/regimes/gb.json @@ -48,6 +48,15 @@ "es": "Tarifas aplicables al destinatario", "it": "Aliquote applicabili al destinatario" } + }, + { + "key": "partial", + "name": { + "de": "Teilweise", + "en": "Partial", + "es": "Parcial", + "it": "Parziale" + } } ], "scenarios": [ diff --git a/data/regimes/it.json b/data/regimes/it.json index bb3ba93b..d9db5ad3 100644 --- a/data/regimes/it.json +++ b/data/regimes/it.json @@ -50,6 +50,15 @@ "it": "Aliquote applicabili al destinatario" } }, + { + "key": "partial", + "name": { + "de": "Teilweise", + "en": "Partial", + "es": "Parcial", + "it": "Parziale" + } + }, { "key": "freelance", "name": { diff --git a/data/regimes/mx.json b/data/regimes/mx.json index 73bad476..f5042a1e 100644 --- a/data/regimes/mx.json +++ b/data/regimes/mx.json @@ -49,6 +49,15 @@ "es": "Tarifas aplicables al destinatario", "it": "Aliquote applicabili al destinatario" } + }, + { + "key": "partial", + "name": { + "de": "Teilweise", + "en": "Partial", + "es": "Parcial", + "it": "Parziale" + } } ], "extensions": [ diff --git a/data/regimes/nl.json b/data/regimes/nl.json index c7b43a5c..d0a8dbfc 100644 --- a/data/regimes/nl.json +++ b/data/regimes/nl.json @@ -49,6 +49,15 @@ "es": "Tarifas aplicables al destinatario", "it": "Aliquote applicabili al destinatario" } + }, + { + "key": "partial", + "name": { + "de": "Teilweise", + "en": "Partial", + "es": "Parcial", + "it": "Parziale" + } } ], "scenarios": [ diff --git a/data/regimes/pl.json b/data/regimes/pl.json index 9c1473d7..64e756e8 100644 --- a/data/regimes/pl.json +++ b/data/regimes/pl.json @@ -7,6 +7,113 @@ "time_zone": "Europe/Warsaw", "country": "PL", "currency": "PLN", + "tags": [ + { + "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": "settlement", + "name": { + "en": "Settlement Invoice", + "pl": "Faktura Rozliczeniowa" + } + } + ], + "extensions": [ + { + "key": "pl-ksef-vat-special", + "name": { + "en": "Special VAT Extensions for KSeF", + "pl": "Rozszerzenia specjalne dla KSeF" + }, + "keys": [ + { + "key": "taxi", + "name": { + "en": "Taxi Rate", + "pl": "Ryczałt dla taksówek" + } + } + ] + }, + { + "key": "pl-ksef-vat-zero", + "name": { + "en": "Zero VAT Extensions for KSeF" + }, + "keys": [ + { + "key": "wdt", + "name": { + "en": "WDT", + "pl": "WDT" + } + }, + { + "key": "domestic", + "name": { + "en": "Domestic", + "pl": "Krajowy" + } + }, + { + "key": "export", + "name": { + "en": "Export", + "pl": "Eksport" + } + } + ] + } + ], "payment_means": [ { "key": "cash", @@ -79,6 +186,112 @@ } } ], + "scenarios": [ + { + "schema": "bill/invoice", + "list": [ + { + "type": [ + "standard" + ], + "name": { + "en": "Regular Invoice", + "pl": "Faktura Podstawowa" + }, + "codes": { + "favat-rodzaj-faktury": "VAT" + } + }, + { + "type": [ + "standard" + ], + "tags": [ + "partial" + ], + "name": { + "en": "Prepayment Invoice", + "pl": "Faktura Zaliczkowa" + }, + "codes": { + "favat-rodzaj-faktury": "ZAL" + } + }, + { + "type": [ + "standard" + ], + "tags": [ + "settlement" + ], + "name": { + "en": "Settlement Invoice", + "pl": "Faktura Rozliczeniowa" + }, + "codes": { + "favat-rodzaj-faktury": "ROZ" + } + }, + { + "type": [ + "standard" + ], + "tags": [ + "simplified" + ], + "name": { + "en": "Simplified Invoice", + "pl": "Faktura Uproszczona" + }, + "codes": { + "favat-rodzaj-faktury": "UPR" + } + }, + { + "type": [ + "corrective" + ], + "name": { + "en": "Corrective Invoice", + "pl": "Faktura Korygująca" + }, + "codes": { + "favat-rodzaj-faktury": "KOR" + } + }, + { + "type": [ + "corrective" + ], + "tags": [ + "partial" + ], + "name": { + "en": "Corrective Prepayment Invoice", + "pl": "Faktura korygująca fakturę zaliczkową" + }, + "codes": { + "favat-rodzaj-faktury": "KOR_ZAL" + } + }, + { + "type": [ + "corrective" + ], + "tags": [ + "settlement" + ], + "name": { + "en": "Corrective Settlement Invoice", + "pl": "Faktura korygująca fakturę rozliczeniową" + }, + "codes": { + "favat-rodzaj-faktury": "KOR_ROZ" + } + } + ] + } + ], "categories": [ { "code": "VAT", @@ -88,7 +301,7 @@ }, "title": { "en": "Value Added Tax", - "pl": "Podatek od wartości dodanej" + "pl": "Podatek od Wartości Dodanej" }, "rates": [ { @@ -99,9 +312,11 @@ }, "values": [ { + "since": "2011-01-01", "percent": "23.0%" }, { + "since": "1993-07-08", "percent": "22.0%" } ] @@ -114,9 +329,11 @@ }, "values": [ { + "since": "2011-01-01", "percent": "8.0%" }, { + "since": "2000-09-04", "percent": "7.0%" } ] @@ -129,92 +346,47 @@ }, "values": [ { + "since": "2011-01-01", "percent": "5.0%" - } - ] - }, - { - "key": "special", - "name": { - "en": "Lump sum taxi rate", - "pl": "Ryczałt dla taksówek" - }, - "values": [ - { - "percent": "4.0%" }, { + "since": "2000-09-04", "percent": "3.0%" } ] }, { - "key": "zero-wdt", + "key": "zero", "name": { - "en": "Zero Rate - WDT", - "pl": "Stawka Zerowa - WDT" - }, - "values": [ - { - "percent": "0.0%" - } - ] - }, - { - "key": "zero-domestic", - "name": { - "en": "Zero Rate - domestic", - "pl": "Stawka Zerowa - krajowe" - }, - "values": [ - { - "percent": "0.0%" - } - ] - }, - { - "key": "zero-export", - "name": { - "en": "Zero Rate - export", - "pl": "Stawka Zerowa - export" + "en": "Zero Rate", + "pl": "Stawka Zerowa" }, "values": [ { "percent": "0.0%" } + ], + "extensions": [ + "pl-ksef-vat-zero" ] }, { "key": "exempt", "name": { "en": "Exempt", - "pl": "Zwolnione z opodatkowania" - }, - "exempt": true - }, - { - "key": "np", - "name": { - "en": "Not pursuant, pursuant to art100 section 1 point4", - "pl": "Niepodlegające opodatkowaniu na postawie wyłączeniem art100 sekcja 1 punkt 4" + "pl": "Zwolnione" }, "exempt": true }, { - "key": "np-art100sec1point4", - "name": { - "en": "Not pursuant excluding art100 section 1 point4", - "pl": "Niepodlegające opodatkowaniu z wyłączeniem art100 sekcja 1 punkt 4" - }, - "exempt": true - }, - { - "key": "reverse-charge", + "key": "special", "name": { - "en": "Reverse Charge", - "pl": "Odwrotne obciążenie" + "en": "Special Rate", + "pl": "Stawka Specjalna" }, - "exempt": true + "extensions": [ + "pl-ksef-vat-special" + ] } ] } diff --git a/data/regimes/pt.json b/data/regimes/pt.json index 84f969f5..07ab3c59 100644 --- a/data/regimes/pt.json +++ b/data/regimes/pt.json @@ -50,6 +50,15 @@ "it": "Aliquote applicabili al destinatario" } }, + { + "key": "partial", + "name": { + "de": "Teilweise", + "en": "Partial", + "es": "Parcial", + "it": "Parziale" + } + }, { "key": "invoice-receipt", "name": { @@ -434,7 +443,10 @@ }, { "key": "exempt", - "name": null, + "name": { + "en": "Exempt", + "pt": "Isento" + }, "exempt": true, "extensions": [ "pt-exemption-code" diff --git a/data/regimes/us.json b/data/regimes/us.json index 3818d389..a4fb30ca 100644 --- a/data/regimes/us.json +++ b/data/regimes/us.json @@ -48,6 +48,15 @@ "es": "Tarifas aplicables al destinatario", "it": "Aliquote applicabili al destinatario" } + }, + { + "key": "partial", + "name": { + "de": "Teilweise", + "en": "Partial", + "es": "Parcial", + "it": "Parziale" + } } ], "categories": [