fixed ksef tests
This commit is contained in:
parent
5491c04da4
commit
97935680bf
13 changed files with 282 additions and 324 deletions
|
|
@ -129,6 +129,9 @@
|
||||||
<testResource>
|
<testResource>
|
||||||
<directory>${basedir}/../reports</directory>
|
<directory>${basedir}/../reports</directory>
|
||||||
</testResource>
|
</testResource>
|
||||||
|
<testResource>
|
||||||
|
<directory>${basedir}/../workflow</directory>
|
||||||
|
</testResource>
|
||||||
<testResource>
|
<testResource>
|
||||||
<directory>${basedir}/src/test/resources</directory>
|
<directory>${basedir}/src/test/resources</directory>
|
||||||
</testResource>
|
</testResource>
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ import org.imixs.workflow.FileData;
|
||||||
import org.imixs.workflow.ItemCollection;
|
import org.imixs.workflow.ItemCollection;
|
||||||
import org.imixs.workflow.exceptions.PluginException;
|
import org.imixs.workflow.exceptions.PluginException;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.DisplayName;
|
import org.junit.jupiter.api.DisplayName;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
|
@ -40,7 +41,8 @@ public class KSeFAPIServiceTest {
|
||||||
// Test config
|
// Test config
|
||||||
manager.setKsefToken(Params.TOKEN);
|
manager.setKsefToken(Params.TOKEN);
|
||||||
manager.setKsefNip(Params.NIP);
|
manager.setKsefNip(Params.NIP);
|
||||||
manager.setKsefEndpoint("https://ksef-test.mf.gov.pl/api/v2");
|
// manager.setKsefEndpoint("https://ksef-test.mf.gov.pl/api/v2");
|
||||||
|
manager.setKsefEndpoint("https://api-test.ksef.mf.gov.pl/v2");
|
||||||
manager.setDebug(false);
|
manager.setDebug(false);
|
||||||
|
|
||||||
// init() ausführen
|
// init() ausführen
|
||||||
|
|
@ -52,6 +54,7 @@ public class KSeFAPIServiceTest {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Disabled
|
||||||
@Test
|
@Test
|
||||||
@DisplayName("Upload Invoice XML (AES-256 + RSA)")
|
@DisplayName("Upload Invoice XML (AES-256 + RSA)")
|
||||||
public void testUploadInvoice() {
|
public void testUploadInvoice() {
|
||||||
|
|
@ -83,7 +86,7 @@ public class KSeFAPIServiceTest {
|
||||||
private ItemCollection createWorkitem() throws IOException {
|
private ItemCollection createWorkitem() throws IOException {
|
||||||
ItemCollection workitem = new ItemCollection();
|
ItemCollection workitem = new ItemCollection();
|
||||||
// ---------- 2) XML laden ----------
|
// ---------- 2) XML laden ----------
|
||||||
Path xmlPath = Paths.get("src/test/resources/ksef/example-invoice-01.xml");
|
Path xmlPath = Paths.get("src/test/resources/ksef/cargosoft-example-01.xml");
|
||||||
byte[] invoiceXml = Files.readAllBytes(xmlPath);
|
byte[] invoiceXml = Files.readAllBytes(xmlPath);
|
||||||
|
|
||||||
FileData fileData = new FileData("example-invoice-01.xml", invoiceXml, null, null);
|
FileData fileData = new FileData("example-invoice-01.xml", invoiceXml, null, null);
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,8 @@ public class KSeFAdapterTest {
|
||||||
|
|
||||||
private static Logger logger = Logger.getLogger(KSeFAdapterTest.class.getName());
|
private static Logger logger = Logger.getLogger(KSeFAdapterTest.class.getName());
|
||||||
|
|
||||||
private static final String TEMPLATE_FILE = "ksef/ksef.xml";
|
// private static final String TEMPLATE_FILE = "ksef/ksef.xml";
|
||||||
|
private static final String TEMPLATE_FILE = "pl/e-invoice/templates/ksef.xml";
|
||||||
|
|
||||||
ItemCollection businessPartner;
|
ItemCollection businessPartner;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ import javax.crypto.spec.SecretKeySpec;
|
||||||
|
|
||||||
import org.imixs.workflow.ItemCollection;
|
import org.imixs.workflow.ItemCollection;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.DisplayName;
|
import org.junit.jupiter.api.DisplayName;
|
||||||
import org.junit.jupiter.api.MethodOrderer;
|
import org.junit.jupiter.api.MethodOrderer;
|
||||||
import org.junit.jupiter.api.Order;
|
import org.junit.jupiter.api.Order;
|
||||||
|
|
@ -75,6 +76,7 @@ public class KSeFAuthManagerTest {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Disabled
|
||||||
@Test
|
@Test
|
||||||
@Order(4)
|
@Order(4)
|
||||||
@DisplayName("Upload Invoice XML (AES-256 + RSA)")
|
@DisplayName("Upload Invoice XML (AES-256 + RSA)")
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,257 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<Invoices>
|
||||||
|
<Message>
|
||||||
|
<SenderID>CARGOSOFT</SenderID>
|
||||||
|
<ReceiverID>CUSTOMER</ReceiverID>
|
||||||
|
<Timezone>UTC</Timezone>
|
||||||
|
<MessageID>1</MessageID>
|
||||||
|
<MessageDate>
|
||||||
|
<DateTime>2024-08-14T11:51:03</DateTime>
|
||||||
|
</MessageDate>
|
||||||
|
</Message>
|
||||||
|
<Invoice>
|
||||||
|
<InvoiceHeader>
|
||||||
|
<Client>
|
||||||
|
<Description>Alexander Global Logistics GmbH</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">001</Code>
|
||||||
|
</Codes>
|
||||||
|
</Client>
|
||||||
|
<Branch>
|
||||||
|
<Description>Alexander Global Logistics GmbH</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">BRE</Code>
|
||||||
|
</Codes>
|
||||||
|
</Branch>
|
||||||
|
<InvoiceNumber>224225</InvoiceNumber>
|
||||||
|
<InvoiceType>
|
||||||
|
<Description>Ausgangsrechnung</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">R</Code>
|
||||||
|
</Codes>
|
||||||
|
</InvoiceType>
|
||||||
|
<InvoiceCurrency>
|
||||||
|
<Description>EURO</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">EUR</Code>
|
||||||
|
</Codes>
|
||||||
|
</InvoiceCurrency>
|
||||||
|
<InvoiceAmount>
|
||||||
|
<NetAmount>
|
||||||
|
<Amount isDomesticCurrency="true">
|
||||||
|
<Currency>
|
||||||
|
<Description>EURO</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">EUR</Code>
|
||||||
|
</Codes>
|
||||||
|
</Currency>
|
||||||
|
<Value>3752.95</Value>
|
||||||
|
</Amount>
|
||||||
|
</NetAmount>
|
||||||
|
<VATInformation>
|
||||||
|
<VAT>
|
||||||
|
<Description>steuerfrei Ausfuhr</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">0</Code>
|
||||||
|
</Codes>
|
||||||
|
<VATRate>0.0</VATRate>
|
||||||
|
</VAT>
|
||||||
|
<VATAmount>
|
||||||
|
<Amount isDomesticCurrency="true">
|
||||||
|
<Currency>
|
||||||
|
<Description>EURO</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">EUR</Code>
|
||||||
|
</Codes>
|
||||||
|
</Currency>
|
||||||
|
<Value>0.0</Value>
|
||||||
|
</Amount>
|
||||||
|
</VATAmount>
|
||||||
|
</VATInformation>
|
||||||
|
</InvoiceAmount>
|
||||||
|
<CollectionInvoice>false</CollectionInvoice>
|
||||||
|
<BookingInformation/>
|
||||||
|
<BookingPeriod>202408</BookingPeriod>
|
||||||
|
<Cancelled>false</Cancelled>
|
||||||
|
<Correction>false</Correction>
|
||||||
|
<CostUnit>
|
||||||
|
<Description>IM-ZEL</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">40</Code>
|
||||||
|
</Codes>
|
||||||
|
</CostUnit>
|
||||||
|
<Barcode/>
|
||||||
|
<InvoiceDate>2024-08-14T00:00:00</InvoiceDate>
|
||||||
|
<InvoiceAddress type="RECEIVER">
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">D15445</Code>
|
||||||
|
</Codes>
|
||||||
|
<Formated>
|
||||||
|
<Name>Wancaster</Name>
|
||||||
|
<Name/>
|
||||||
|
<Name/>
|
||||||
|
<Street>Hochbuchstr. 17</Street>
|
||||||
|
<PostalCode>78253</PostalCode>
|
||||||
|
<City>Eigeltingen</City>
|
||||||
|
<Country/>
|
||||||
|
</Formated>
|
||||||
|
<References>
|
||||||
|
<Reference type="VAT-NO">DE319845483</Reference>
|
||||||
|
<Reference type="GLOBAL-ID"/>
|
||||||
|
</References>
|
||||||
|
</InvoiceAddress>
|
||||||
|
<InvoiceAddress type="BRANCH">
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">A1972</Code>
|
||||||
|
</Codes>
|
||||||
|
<Formated>
|
||||||
|
<Name>Alexander Global Logistics GmbH</Name>
|
||||||
|
<Name>Museumstr. 2-6</Name>
|
||||||
|
<Street>Museumstr. 2-6</Street>
|
||||||
|
<PostalCode>28195</PostalCode>
|
||||||
|
<City>Bremen</City>
|
||||||
|
<Country>
|
||||||
|
<CountryCode>DE</CountryCode>
|
||||||
|
<Name>DEUTSCHLAND</Name>
|
||||||
|
</Country>
|
||||||
|
</Formated>
|
||||||
|
<References>
|
||||||
|
<Reference type="TAX-NO">460/104/05589</Reference>
|
||||||
|
<Reference type="VAT-NO">DE250152875</Reference>
|
||||||
|
<Reference type="GLOBAL-ID"/>
|
||||||
|
<Reference type="Bankverbindung1">Sparkasse Bremen</Reference>
|
||||||
|
<Reference type="Bankverbindung2">Sparkasse Bremen</Reference>
|
||||||
|
<Reference type="Bankverbindung4">USD - Account 555102599</Reference>
|
||||||
|
<Reference type="Bankverbindung5">IBAN: DE98 2905 0101 0555 1025 99</Reference>
|
||||||
|
<Reference type="SwiftCode">SWIFT: SBREDE22XXX</Reference>
|
||||||
|
<Reference type="IBAN Nummer">IBAN : DE97 2905 0101 0081 2163 92</Reference>
|
||||||
|
</References>
|
||||||
|
</InvoiceAddress>
|
||||||
|
<PaymentConditions>
|
||||||
|
<PaymentCondition>
|
||||||
|
<Description>Sofort zahlbar</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">01</Code>
|
||||||
|
</Codes>
|
||||||
|
</PaymentCondition>
|
||||||
|
<DueDate>2024-08-14T00:00:00</DueDate>
|
||||||
|
</PaymentConditions>
|
||||||
|
<LastUpdateInformation>
|
||||||
|
<UpdateDate>2024-08-14T00:00:00</UpdateDate>
|
||||||
|
<UpdateTime>00:00:00</UpdateTime>
|
||||||
|
<User>
|
||||||
|
<Name>Mohamed Kanaan</Name>
|
||||||
|
<Email>mkanaan@alexander-logistics.com</Email>
|
||||||
|
<Telephone>+49 421 56 646-191</Telephone>
|
||||||
|
<Fax>+49 421 56 646-200</Fax>
|
||||||
|
</User>
|
||||||
|
</LastUpdateInformation>
|
||||||
|
<OrderData>
|
||||||
|
<FileNumber>IM-GCA-2408-116</FileNumber>
|
||||||
|
<OrderDirection>IMPORT</OrderDirection>
|
||||||
|
<NumberOfGoods>1</NumberOfGoods>
|
||||||
|
<DescriptionOfGoods>2023.2.6300 Terminals</DescriptionOfGoods>
|
||||||
|
<WeightOfGoods>3265.865</WeightOfGoods>
|
||||||
|
<VolumeOfGoods>0.0</VolumeOfGoods>
|
||||||
|
<NumberOfContainers20>0</NumberOfContainers20>
|
||||||
|
</OrderData>
|
||||||
|
<References>
|
||||||
|
<Reference type="invoice-layout">1004</Reference>
|
||||||
|
</References>
|
||||||
|
<Attachments>
|
||||||
|
<Attachment>
|
||||||
|
<Filename>001_224225_240814_R.pdf</Filename>
|
||||||
|
|
||||||
|
</Attachment>
|
||||||
|
</Attachments>
|
||||||
|
</InvoiceHeader>
|
||||||
|
<InvoiceRows>
|
||||||
|
<InvoiceRow>
|
||||||
|
<Row>5</Row>
|
||||||
|
<FileNumber>IM-GCA-2408-116</FileNumber>
|
||||||
|
<BillingCode>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">EUST</Code>
|
||||||
|
</Codes>
|
||||||
|
</BillingCode>
|
||||||
|
<BillingTexts>
|
||||||
|
<BillingText>Einfuhrumsatzsteuer laut Auslagen</BillingText>
|
||||||
|
<BillingText>ATC400012650820242452</BillingText>
|
||||||
|
</BillingTexts>
|
||||||
|
<InvoiceAmount>
|
||||||
|
<NetAmount>
|
||||||
|
<Amount isDomesticCurrency="false">
|
||||||
|
<Currency>
|
||||||
|
<Description>EURO</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">EUR</Code>
|
||||||
|
</Codes>
|
||||||
|
</Currency>
|
||||||
|
<Value>3591.34</Value>
|
||||||
|
</Amount>
|
||||||
|
</NetAmount>
|
||||||
|
<VATInformation>
|
||||||
|
<VAT>
|
||||||
|
<Description>steuerfrei Ausfuhr</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">0</Code>
|
||||||
|
</Codes>
|
||||||
|
<VATRate>0.0</VATRate>
|
||||||
|
</VAT>
|
||||||
|
</VATInformation>
|
||||||
|
</InvoiceAmount>
|
||||||
|
<ActivityType>
|
||||||
|
<Description>EUSt</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">EUST</Code>
|
||||||
|
</Codes>
|
||||||
|
</ActivityType>
|
||||||
|
<SinglePrice>3591.340</SinglePrice>
|
||||||
|
</InvoiceRow>
|
||||||
|
<InvoiceRow>
|
||||||
|
<Row>10</Row>
|
||||||
|
<FileNumber>IM-GCA-2408-116</FileNumber>
|
||||||
|
<BillingCode>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">VP</Code>
|
||||||
|
</Codes>
|
||||||
|
</BillingCode>
|
||||||
|
<BillingTexts>
|
||||||
|
<BillingText>Vorlageprovision 4,5 %</BillingText>
|
||||||
|
<BillingText>bei einer Einhaltung einer Zahlung</BillingText>
|
||||||
|
<BillingText>binnen 8 Banktagen kann der Betrag</BillingText>
|
||||||
|
<BillingText>in Abzug gebracht werden</BillingText>
|
||||||
|
</BillingTexts>
|
||||||
|
<InvoiceAmount>
|
||||||
|
<NetAmount>
|
||||||
|
<Amount isDomesticCurrency="false">
|
||||||
|
<Currency>
|
||||||
|
<Description>EURO</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">EUR</Code>
|
||||||
|
</Codes>
|
||||||
|
</Currency>
|
||||||
|
<Value>161.61</Value>
|
||||||
|
</Amount>
|
||||||
|
</NetAmount>
|
||||||
|
<VATInformation>
|
||||||
|
<VAT>
|
||||||
|
<Description>steuerfrei Ausfuhr</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">0</Code>
|
||||||
|
</Codes>
|
||||||
|
<VATRate>0.0</VATRate>
|
||||||
|
</VAT>
|
||||||
|
</VATInformation>
|
||||||
|
</InvoiceAmount>
|
||||||
|
<ActivityType>
|
||||||
|
<Description>other charges</Description>
|
||||||
|
<Codes>
|
||||||
|
<Code Type="cs">SONST</Code>
|
||||||
|
</Codes>
|
||||||
|
</ActivityType>
|
||||||
|
<SinglePrice>4.500</SinglePrice>
|
||||||
|
</InvoiceRow>
|
||||||
|
</InvoiceRows>
|
||||||
|
</Invoice>
|
||||||
|
</Invoices>
|
||||||
|
|
@ -1,158 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Faktura xmlns="http://crd.gov.pl/wzor/2025/06/25/13775/"
|
|
||||||
xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/"
|
|
||||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
|
|
||||||
<Naglowek>
|
|
||||||
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
|
||||||
<WariantFormularza>3</WariantFormularza>
|
|
||||||
<DataWytworzeniaFa>2026-06-05T02:45:33.422866Z</DataWytworzeniaFa>
|
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
|
||||||
</Naglowek>
|
|
||||||
|
|
||||||
<!-- Seller (Your Polish Company - Pre-filled) -->
|
|
||||||
<Podmiot1>
|
|
||||||
<PrefiksPodatnika>PL</PrefiksPodatnika>
|
|
||||||
<DaneIdentyfikacyjne>
|
|
||||||
<NIP>9552521552</NIP>
|
|
||||||
<Nazwa>ALEXANDER GLOBAL LOGISTICS POLAND sp. z o.o.</Nazwa>
|
|
||||||
</DaneIdentyfikacyjne>
|
|
||||||
<Adres>
|
|
||||||
<KodKraju>PL</KodKraju>
|
|
||||||
<AdresL1>ul. Gdańska 36, 70-660 Szczecin</AdresL1>
|
|
||||||
</Adres>
|
|
||||||
<DaneKontaktowe>
|
|
||||||
<Email>MBudas@alexander-logistics.com</Email>
|
|
||||||
</DaneKontaktowe>
|
|
||||||
</Podmiot1>
|
|
||||||
|
|
||||||
<!-- Buyer (Customer - Empty, to be filled) -->
|
|
||||||
<Podmiot2>
|
|
||||||
<DaneIdentyfikacyjne>
|
|
||||||
<!-- NIP falls eine PL Ust Vorliegt
|
|
||||||
ansonsten NrID - geht immer -->
|
|
||||||
<!-- <Nazwa>#Customer Name#</Nazwa> -->
|
|
||||||
</DaneIdentyfikacyjne>
|
|
||||||
<Adres>
|
|
||||||
<KodKraju></KodKraju>
|
|
||||||
<AdresL1></AdresL1>
|
|
||||||
<AdresL2></AdresL2>
|
|
||||||
</Adres>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Contact information from buyer can be left
|
|
||||||
<DaneKontaktowe>
|
|
||||||
<Email></Email>
|
|
||||||
<Telefon></Telefon>
|
|
||||||
</DaneKontaktowe>
|
|
||||||
-->
|
|
||||||
<NrKlienta>#CDTR-NUMBER#</NrKlienta>
|
|
||||||
<JST>2</JST> <!-- fixed -->
|
|
||||||
<GV>2</GV> <!-- fixed -->
|
|
||||||
</Podmiot2>
|
|
||||||
|
|
||||||
<!-- Invoice Data -->
|
|
||||||
<Fa>
|
|
||||||
<KodWaluty>#CURRENCY#</KodWaluty>
|
|
||||||
|
|
||||||
<P_1></P_1> <!-- Invoice Date -->
|
|
||||||
<P_1M>Szczecin</P_1M>
|
|
||||||
<P_2></P_2> <!-- Invoice Number -->
|
|
||||||
<P_6></P_6> <!-- Performance Date -->
|
|
||||||
|
|
||||||
<!-- ============================================================
|
|
||||||
VAT summary fields - filled by KSeFInvoiceLineBuilder.
|
|
||||||
Empty placeholders ensure correct XSD sequence. Unused
|
|
||||||
placeholders are removed by the builder before serialization.
|
|
||||||
============================================================ -->
|
|
||||||
<P_13_1></P_13_1>
|
|
||||||
<P_14_1></P_14_1>
|
|
||||||
<P_14_1W></P_14_1W>
|
|
||||||
<P_13_2></P_13_2>
|
|
||||||
<P_14_2></P_14_2>
|
|
||||||
<P_14_2W></P_14_2W>
|
|
||||||
<P_13_6_1></P_13_6_1>
|
|
||||||
<P_13_8></P_13_8>
|
|
||||||
<P_13_9></P_13_9>
|
|
||||||
<P_15></P_15>
|
|
||||||
<KursWalutyZ></KursWalutyZ>
|
|
||||||
|
|
||||||
<Adnotacje>
|
|
||||||
<!-- 1 yes - 2 no -->
|
|
||||||
<P_16>2</P_16>
|
|
||||||
|
|
||||||
<!-- Keine Selbstfakturierung -->
|
|
||||||
<P_17>2</P_17>
|
|
||||||
|
|
||||||
<!-- Kein Reverse Charge
|
|
||||||
11.5.2026 Maciej Budas :
|
|
||||||
Please apply this change to all upcoming invoices to ensure the "Reverse Charge" (Odwrotne
|
|
||||||
obciazenie) flag is correctly set to "True".
|
|
||||||
|
|
||||||
Means we change the value from 2 to 1
|
|
||||||
-->
|
|
||||||
<P_18>2</P_18>
|
|
||||||
|
|
||||||
<!-- Kein Split Payment (Rechnung unter 15.000 PLN/EUR) -->
|
|
||||||
<P_18A>2</P_18A>
|
|
||||||
|
|
||||||
<!-- Keine Steuerbefreiung -->
|
|
||||||
<Zwolnienie>
|
|
||||||
<P_19N>1</P_19N>
|
|
||||||
</Zwolnienie>
|
|
||||||
|
|
||||||
<!-- Keine neuen Verkehrsmittel -->
|
|
||||||
<NoweSrodkiTransportu>
|
|
||||||
<P_22N>1</P_22N>
|
|
||||||
</NoweSrodkiTransportu>
|
|
||||||
|
|
||||||
<!-- Kein vereinfachtes Verfahren nach Art. 135 -->
|
|
||||||
<P_23>2</P_23>
|
|
||||||
|
|
||||||
<!-- Keine Margenregelung -->
|
|
||||||
<PMarzy>
|
|
||||||
<P_PMarzyN>1</P_PMarzyN>
|
|
||||||
</PMarzy>
|
|
||||||
</Adnotacje>
|
|
||||||
<!-- Invoice Type (VAT) -->
|
|
||||||
<RodzajFaktury>VAT</RodzajFaktury>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Invoice Positions: FaWiersz -->
|
|
||||||
|
|
||||||
<Platnosc>
|
|
||||||
|
|
||||||
<!-- Setzen der Zahlungsart (immer 6)
|
|
||||||
* 1 – Barzahlung
|
|
||||||
* 2 – Karte
|
|
||||||
* 3 – Gutschein
|
|
||||||
* 4 – Scheck
|
|
||||||
* 5 – Kredit
|
|
||||||
* 6 – Überweisung
|
|
||||||
* 7 – Mobilzahlung
|
|
||||||
-->
|
|
||||||
<FormaPlatnosci>6</FormaPlatnosci>
|
|
||||||
|
|
||||||
<!-- BANKEN-->
|
|
||||||
<RachunekBankowy>
|
|
||||||
<NrRB>PL79116022020000000654306674</NrRB>
|
|
||||||
<SWIFT>BIGBPLPWXXX</SWIFT>
|
|
||||||
<NazwaBanku>Bank Millennium S.A.</NazwaBanku>
|
|
||||||
<OpisRachunku>Konto PLN</OpisRachunku>
|
|
||||||
</RachunekBankowy>
|
|
||||||
<RachunekBankowy>
|
|
||||||
<NrRB>PL16116022020000000654910469</NrRB>
|
|
||||||
<SWIFT>BIGBPLPWXXX</SWIFT>
|
|
||||||
<NazwaBanku>Bank Millennium S.A.</NazwaBanku>
|
|
||||||
<OpisRachunku>Konto EUR</OpisRachunku>
|
|
||||||
</RachunekBankowy>
|
|
||||||
<RachunekBankowy>
|
|
||||||
<NrRB>PL72116022020000000654911595</NrRB>
|
|
||||||
<SWIFT>BIGBPLPWXXX</SWIFT>
|
|
||||||
<NazwaBanku>Bank Millennium S.A.</NazwaBanku>
|
|
||||||
<OpisRachunku>Konto USD</OpisRachunku>
|
|
||||||
</RachunekBankowy>
|
|
||||||
</Platnosc>
|
|
||||||
</Fa>
|
|
||||||
</Faktura>
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<Naglowek>
|
<Naglowek>
|
||||||
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
<DataWytworzeniaFa>2026-05-13T15:43:22.241612Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-05-14T09:50:45.122365080Z</DataWytworzeniaFa>
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
</Naglowek>
|
</Naglowek>
|
||||||
<Podmiot1>
|
<Podmiot1>
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
<P_1>2025-02-10</P_1>
|
<P_1>2025-02-10</P_1>
|
||||||
<P_1M>Szczecin</P_1M>
|
<P_1M>Szczecin</P_1M>
|
||||||
<P_2>FV/2025/7470</P_2>
|
<P_2>FV/2025/7470</P_2>
|
||||||
<P_6>2026-05-13</P_6>
|
<P_6>2026-05-14</P_6>
|
||||||
<P_13_9>4620.00</P_13_9>
|
<P_13_9>4620.00</P_13_9>
|
||||||
<P_15>4620.00</P_15>
|
<P_15>4620.00</P_15>
|
||||||
<KursWalutyZ>0.2326</KursWalutyZ>
|
<KursWalutyZ>0.2326</KursWalutyZ>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<Naglowek>
|
<Naglowek>
|
||||||
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
<DataWytworzeniaFa>2026-05-13T16:16:33.813835Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-05-14T09:50:45.516800880Z</DataWytworzeniaFa>
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
</Naglowek>
|
</Naglowek>
|
||||||
<Podmiot1>
|
<Podmiot1>
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
<P_1>2025-02-10</P_1>
|
<P_1>2025-02-10</P_1>
|
||||||
<P_1M>Szczecin</P_1M>
|
<P_1M>Szczecin</P_1M>
|
||||||
<P_2>FV/2025/7471</P_2>
|
<P_2>FV/2025/7471</P_2>
|
||||||
<P_6>2026-05-13</P_6>
|
<P_6>2026-05-14</P_6>
|
||||||
<P_13_1>3960.00</P_13_1>
|
<P_13_1>3960.00</P_13_1>
|
||||||
<P_14_1>910.80</P_14_1>
|
<P_14_1>910.80</P_14_1>
|
||||||
<P_13_6_1>14040.00</P_13_6_1>
|
<P_13_6_1>14040.00</P_13_6_1>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<Naglowek>
|
<Naglowek>
|
||||||
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
<DataWytworzeniaFa>2026-05-13T16:21:25.551812Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-05-14T09:50:45.478749958Z</DataWytworzeniaFa>
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
</Naglowek>
|
</Naglowek>
|
||||||
<Podmiot1>
|
<Podmiot1>
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
<P_1>2025-02-10</P_1>
|
<P_1>2025-02-10</P_1>
|
||||||
<P_1M>Szczecin</P_1M>
|
<P_1M>Szczecin</P_1M>
|
||||||
<P_2>FV/2025/001</P_2>
|
<P_2>FV/2025/001</P_2>
|
||||||
<P_6>2026-05-13</P_6>
|
<P_6>2026-05-14</P_6>
|
||||||
<P_13_9>10000.00</P_13_9>
|
<P_13_9>10000.00</P_13_9>
|
||||||
<P_15>10000.00</P_15>
|
<P_15>10000.00</P_15>
|
||||||
<Adnotacje>
|
<Adnotacje>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<Naglowek>
|
<Naglowek>
|
||||||
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
<DataWytworzeniaFa>2026-05-13T16:19:55.031750Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-05-14T09:50:45.408813197Z</DataWytworzeniaFa>
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
</Naglowek>
|
</Naglowek>
|
||||||
<Podmiot1>
|
<Podmiot1>
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
<P_1>2025-02-10</P_1>
|
<P_1>2025-02-10</P_1>
|
||||||
<P_1M>Szczecin</P_1M>
|
<P_1M>Szczecin</P_1M>
|
||||||
<P_2>FV/2025/001</P_2>
|
<P_2>FV/2025/001</P_2>
|
||||||
<P_6>2026-05-13</P_6>
|
<P_6>2026-05-14</P_6>
|
||||||
<P_13_8>10000.00</P_13_8>
|
<P_13_8>10000.00</P_13_8>
|
||||||
<P_15>10000.00</P_15>
|
<P_15>10000.00</P_15>
|
||||||
<Adnotacje>
|
<Adnotacje>
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<Naglowek>
|
<Naglowek>
|
||||||
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
<DataWytworzeniaFa>2026-05-13T16:14:40.127715Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-05-14T09:50:45.613224263Z</DataWytworzeniaFa>
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
</Naglowek>
|
</Naglowek>
|
||||||
<Podmiot1>
|
<Podmiot1>
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
<P_1>2025-02-10</P_1>
|
<P_1>2025-02-10</P_1>
|
||||||
<P_1M>Szczecin</P_1M>
|
<P_1M>Szczecin</P_1M>
|
||||||
<P_2>FV/2025/001</P_2>
|
<P_2>FV/2025/001</P_2>
|
||||||
<P_6>2026-05-13</P_6>
|
<P_6>2026-05-14</P_6>
|
||||||
<P_13_1>10000.00</P_13_1>
|
<P_13_1>10000.00</P_13_1>
|
||||||
<P_14_1>2300.00</P_14_1>
|
<P_14_1>2300.00</P_14_1>
|
||||||
<P_15>12300.00</P_15>
|
<P_15>12300.00</P_15>
|
||||||
|
|
|
||||||
|
|
@ -1,150 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<Faktura xmlns="http://crd.gov.pl/wzor/2025/06/25/13775/"
|
|
||||||
xmlns:etd="http://crd.gov.pl/xml/schematy/dziedzinowe/mf/2022/01/05/eD/DefinicjeTypy/"
|
|
||||||
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<Naglowek>
|
|
||||||
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
|
||||||
<WariantFormularza>3</WariantFormularza>
|
|
||||||
<DataWytworzeniaFa>2026-03-09T10:26:42.182273594Z</DataWytworzeniaFa>
|
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
|
||||||
</Naglowek>
|
|
||||||
<!-- Seller (Your Polish Company - Pre-filled) -->
|
|
||||||
<Podmiot1>
|
|
||||||
<DaneIdentyfikacyjne>
|
|
||||||
<NIP>9552521552</NIP>
|
|
||||||
<Nazwa>Alexander Global Logistics</Nazwa>
|
|
||||||
</DaneIdentyfikacyjne>
|
|
||||||
<Adres>
|
|
||||||
<KodKraju>PL</KodKraju>
|
|
||||||
<AdresL1>Gdanska 36</AdresL1>
|
|
||||||
<AdresL2>70-660 Szczecin</AdresL2>
|
|
||||||
</Adres>
|
|
||||||
<DaneKontaktowe>
|
|
||||||
<Email>MBudas@alexander-logistics.com</Email>
|
|
||||||
</DaneKontaktowe>
|
|
||||||
</Podmiot1>
|
|
||||||
<!-- Buyer (Customer - Empty, to be filled) -->
|
|
||||||
<Podmiot2>
|
|
||||||
<DaneIdentyfikacyjne>
|
|
||||||
<!-- NIP falls eine PL Ust Vorliegt
|
|
||||||
ansonsten NrID - geht immer -->
|
|
||||||
<!-- <Nazwa>#Customer Name#</Nazwa> -->
|
|
||||||
<NIP>8961576426</NIP>
|
|
||||||
<Nazwa>AIRCOM PCC-PL SPÓŁKA Z OGRANICZONĄ</Nazwa>
|
|
||||||
</DaneIdentyfikacyjne>
|
|
||||||
<Adres>
|
|
||||||
<KodKraju>PL</KodKraju>
|
|
||||||
<AdresL1>ul. Fabryczna 20B</AdresL1>
|
|
||||||
<AdresL2>55-080 Pietrzykowice</AdresL2>
|
|
||||||
</Adres>
|
|
||||||
<!---
|
|
||||||
Contact information from buyer can be left
|
|
||||||
<DaneKontaktowe>
|
|
||||||
<Email></Email>
|
|
||||||
<Telefon></Telefon>
|
|
||||||
</DaneKontaktowe>
|
|
||||||
-->
|
|
||||||
<NrKlienta>D21662</NrKlienta>
|
|
||||||
<JST>2</JST>
|
|
||||||
<!-- fixed -->
|
|
||||||
<GV>2</GV>
|
|
||||||
<!-- fixed -->
|
|
||||||
</Podmiot2>
|
|
||||||
<!-- Invoice Data -->
|
|
||||||
<Fa>
|
|
||||||
<KodWaluty>USD</KodWaluty>
|
|
||||||
<P_1>2026-01-23</P_1>
|
|
||||||
<!-- Invoice Date -->
|
|
||||||
<P_2>6816</P_2>
|
|
||||||
<!-- Invoice Number -->
|
|
||||||
<P_6>2026-02-22</P_6>
|
|
||||||
<!-- Due Date -->
|
|
||||||
<!-- Totals will only be computed by the EInvoiceModelKSeF Class-->
|
|
||||||
<!--
|
|
||||||
<P_13_1>0.00</P_13_1>
|
|
||||||
<P_14_1>0.00</P_14_1>
|
|
||||||
<P_15>0.00</P_15>
|
|
||||||
-->
|
|
||||||
<P_13_1>-180.00</P_13_1>
|
|
||||||
<P_14_1>0.00</P_14_1>
|
|
||||||
<P_15>-180.00</P_15>
|
|
||||||
<Adnotacje>
|
|
||||||
<!-- 1 yes - 2 no -->
|
|
||||||
<P_16>2</P_16>
|
|
||||||
<!-- Keine Selbstfakturierung -->
|
|
||||||
<P_17>2</P_17>
|
|
||||||
<!-- Kein Reverse Charge -->
|
|
||||||
<P_18>2</P_18>
|
|
||||||
<!-- Kein Split Payment (Rechnung unter 15.000 PLN/EUR) -->
|
|
||||||
<P_18A>2</P_18A>
|
|
||||||
<!-- Keine Steuerbefreiung -->
|
|
||||||
<Zwolnienie>
|
|
||||||
<P_19N>1</P_19N>
|
|
||||||
</Zwolnienie>
|
|
||||||
<!-- Keine neuen Verkehrsmittel -->
|
|
||||||
<NoweSrodkiTransportu>
|
|
||||||
<P_22N>1</P_22N>
|
|
||||||
</NoweSrodkiTransportu>
|
|
||||||
<!-- Kein vereinfachtes Verfahren nach Art. 135 -->
|
|
||||||
<P_23>2</P_23>
|
|
||||||
<!-- Keine Margenregelung -->
|
|
||||||
<PMarzy>
|
|
||||||
<P_PMarzyN>1</P_PMarzyN>
|
|
||||||
</PMarzy>
|
|
||||||
</Adnotacje>
|
|
||||||
<!-- Invoice Type (VAT) -->
|
|
||||||
<RodzajFaktury>KOR</RodzajFaktury>
|
|
||||||
<!-- Invoice Positions: FaWiersz -->
|
|
||||||
<DaneFaKorygowanej>
|
|
||||||
<DataWystFaKorygowanej>2026-01-23</DataWystFaKorygowanej>
|
|
||||||
<NrFaKorygowanej>6815</NrFaKorygowanej>
|
|
||||||
<NrKSeFN>1</NrKSeFN>
|
|
||||||
</DaneFaKorygowanej>
|
|
||||||
<FaWiersz>
|
|
||||||
<NrWierszaFa>1</NrWierszaFa>
|
|
||||||
<UU_ID>65f28c5b-e090-48e3-8731-a2673afdb433</UU_ID>
|
|
||||||
<P_7>IM-GDY-2601-005</P_7>
|
|
||||||
<P_8A>szt.</P_8A>
|
|
||||||
<P_8B>1</P_8B>
|
|
||||||
<P_9A>0.00</P_9A>
|
|
||||||
<P_11>0.00</P_11>
|
|
||||||
</FaWiersz>
|
|
||||||
<FaWiersz>
|
|
||||||
<NrWierszaFa>2</NrWierszaFa>
|
|
||||||
<UU_ID>759b4417-f34a-4919-9bb1-55ded4f6cf15</UU_ID>
|
|
||||||
<P_7>IM-GDY-2601-005</P_7>
|
|
||||||
<P_8A>szt.</P_8A>
|
|
||||||
<P_8B>1</P_8B>
|
|
||||||
<P_9A>-180.00</P_9A>
|
|
||||||
<P_11>-180.00</P_11>
|
|
||||||
</FaWiersz>
|
|
||||||
<FaWiersz>
|
|
||||||
<NrWierszaFa>3</NrWierszaFa>
|
|
||||||
<UU_ID>8963d345-06d6-41d3-b967-31d08fd51327</UU_ID>
|
|
||||||
<P_7>IM-GDY-2601-005</P_7>
|
|
||||||
<P_8A>szt.</P_8A>
|
|
||||||
<P_8B>1</P_8B>
|
|
||||||
<P_9A>0.00</P_9A>
|
|
||||||
<P_11>0.00</P_11>
|
|
||||||
</FaWiersz>
|
|
||||||
<FaWiersz>
|
|
||||||
<NrWierszaFa>4</NrWierszaFa>
|
|
||||||
<UU_ID>493564ea-db05-40fd-95ad-a28fdbc45200</UU_ID>
|
|
||||||
<P_7>IM-GDY-2601-005</P_7>
|
|
||||||
<P_8A>szt.</P_8A>
|
|
||||||
<P_8B>1</P_8B>
|
|
||||||
<P_9A>0.00</P_9A>
|
|
||||||
<P_11>0.00</P_11>
|
|
||||||
</FaWiersz>
|
|
||||||
<FaWiersz>
|
|
||||||
<NrWierszaFa>5</NrWierszaFa>
|
|
||||||
<UU_ID>6da7bc35-41fe-4072-b897-117edcfac889</UU_ID>
|
|
||||||
<P_7>IM-GDY-2601-005</P_7>
|
|
||||||
<P_8A>szt.</P_8A>
|
|
||||||
<P_8B>1</P_8B>
|
|
||||||
<P_9A>0.00</P_9A>
|
|
||||||
<P_11>0.00</P_11>
|
|
||||||
</FaWiersz>
|
|
||||||
</Fa>
|
|
||||||
</Faktura>
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<Naglowek>
|
<Naglowek>
|
||||||
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
<KodFormularza kodSystemowy="FA (3)" wersjaSchemy="1-0E">FA</KodFormularza>
|
||||||
<WariantFormularza>3</WariantFormularza>
|
<WariantFormularza>3</WariantFormularza>
|
||||||
<DataWytworzeniaFa>2026-05-13T15:41:50.791480Z</DataWytworzeniaFa>
|
<DataWytworzeniaFa>2026-05-14T09:50:45.565082350Z</DataWytworzeniaFa>
|
||||||
<SystemInfo>Imixs eInvoice</SystemInfo>
|
<SystemInfo>Imixs eInvoice</SystemInfo>
|
||||||
</Naglowek>
|
</Naglowek>
|
||||||
<Podmiot1>
|
<Podmiot1>
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
<P_1>2025-02-10</P_1>
|
<P_1>2025-02-10</P_1>
|
||||||
<P_1M>Szczecin</P_1M>
|
<P_1M>Szczecin</P_1M>
|
||||||
<P_2>FV/2025/001</P_2>
|
<P_2>FV/2025/001</P_2>
|
||||||
<P_6>2026-05-13</P_6>
|
<P_6>2026-05-14</P_6>
|
||||||
<P_13_1>-900.00</P_13_1>
|
<P_13_1>-900.00</P_13_1>
|
||||||
<P_14_1>-207.00</P_14_1>
|
<P_14_1>-207.00</P_14_1>
|
||||||
<P_14_1W>-48.15</P_14_1W>
|
<P_14_1W>-48.15</P_14_1W>
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
<Adnotacje>
|
<Adnotacje>
|
||||||
<P_16>2</P_16>
|
<P_16>2</P_16>
|
||||||
<P_17>2</P_17>
|
<P_17>2</P_17>
|
||||||
<P_18>1</P_18>
|
<P_18>2</P_18>
|
||||||
<P_18A>2</P_18A>
|
<P_18A>2</P_18A>
|
||||||
<Zwolnienie>
|
<Zwolnienie>
|
||||||
<P_19N>1</P_19N>
|
<P_19N>1</P_19N>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue