new tax code CARGO_023

This commit is contained in:
Ralph Soika 2026-05-12 23:09:30 +02:00
parent f72ef5cce6
commit a272c8bdb4
2 changed files with 9 additions and 3 deletions

View file

@ -78,7 +78,13 @@ public enum TaxCode {
* (Art. 28b UStG-PL, excluding Art. 100 sec. 1 no. 4). * (Art. 28b UStG-PL, excluding Art. 100 sec. 1 no. 4).
* NOT reportable in VAT-UE. * NOT reportable in VAT-UE.
*/ */
CARGO_NPT("NPT", "np I", "P_13_8", null); CARGO_NPT("NPT", "np I", "P_13_8", null),
/**
* Art. 83 ust. 1 pkt 23 ustawy o VAT usługi transportu międzynarodowego (z
* definicją z ust. 3)
*/
CARGO_023("023", "0 KR", "P_13_6_1", null);
private final String cargosoftCode; private final String cargosoftCode;
private final String p12Value; private final String p12Value;

View file

@ -327,7 +327,7 @@ public class KSeFAdapterTest {
} }
/** /**
* Negative test: an unknown CargoSoft VAT code (here the mixed code "023" * Negative test: an unknown CargoSoft VAT code (here the mixed code "0xx"
* which is intentionally not mapped) must abort processing with a * which is intentionally not mapped) must abort processing with a
* PluginException. This guards against silently producing JPK_V7-invalid * PluginException. This guards against silently producing JPK_V7-invalid
* invoices when CargoSoft is extended with a new code. * invoices when CargoSoft is extended with a new code.
@ -356,7 +356,7 @@ public class KSeFAdapterTest {
.setItemValue("datev.umsatz", 1000.00) .setItemValue("datev.umsatz", 1000.00)
.setItemValue("datev.vatrate", 23.0) .setItemValue("datev.vatrate", 23.0)
// 023 is the CargoSoft mixed code - NOT mapped, expected to fail // 023 is the CargoSoft mixed code - NOT mapped, expected to fail
.setItemValue("cargosoft.vat.code", "023"); .setItemValue("cargosoft.vat.code", "0xx");
childItems.add(lineItem.getAllItems()); childItems.add(lineItem.getAllItems());
workitem.setItemValue("_childitems", childItems); workitem.setItemValue("_childitems", childItems);