Schema Schemat_JPK_WB(1)_v1-0.xsd schema location: attributeformdefault: elementformdefault: targetnamespace: unqualified qualified http://jpk.mf.gov.pl/wzor/2016/03/09/03092/ Elements Complex types Simple types JPK TNaglowek TCelZlozenia TKodFormularza TKwotowy TNaturalnyJPK TZnakowyJPK element JPK content complex children tns:naglowek tns:podmiot1 tns:numerrachunku tns:salda tns:wyciagwiersz tns:wyciagctrl Jednolity plik kontrolny dla wyciągu bankowego source <xsd:element name="jpk"> <xsd:>jednolity plik kontrolny dla wyciągu bankowego</xsd:>
<xsd:complextype> <xsd:sequence> <xsd:element name="naglowek" type="tns:tnaglowek"> <xsd:>nagłówek JPK_WB</xsd:> <xsd:element name="podmiot1"> <xsd:complextype> <xsd:sequence> <xsd:element name="identyfikatorpodmiotu" type="etd:tidentyfikatorosobyniefizycznej"> <xsd:>dane identyfikujące podmiot</xsd:> <xsd:element name="adrespodmiotu" type="etd:tadrespolski"> <xsd:>adres podmiotu</xsd:> </xsd:sequence> </xsd:complextype> <xsd:element name="numerrachunku"> <xsd:>numer IBAN rachunku, którego dotyczy wyciąg</xsd:> <xsd:simpletype> <xsd:restriction base="xsd:string"> <xsd:pattern value="[a-z]{2}[0-9]{2}[0-9a-z]{10,30}"/> </xsd:restriction> </xsd:simpletype> <xsd:element name="salda"> <xsd:>salda wyciągu</xsd:> <xsd:complextype> <xsd:sequence> <xsd:element name="saldopoczatkowe" type="tns:tkwotowy"> <xsd:>saldo początkowe wyciągu</xsd:> <xsd:element name="saldokoncowe" type="tns:tkwotowy"> <xsd:>saldo końcowe wyciągu</xsd:> </xsd:sequence> </xsd:complextype> <xsd:element name="wyciagwiersz" maxoccurs="unbounded"> <xsd:>szczegółowe wiersze (zapisy) wyciągu bankowego</xsd:>
<xsd:complextype> <xsd:sequence> <xsd:element name="numerwiersza" type="tns:tnaturalnyjpk"> <xsd:>kolejny numer wiersza (zapisu) wyciągu</xsd:> <xsd:element name="dataoperacji" type="etd:tdata"> <xsd:>data operacji</xsd:> <xsd:element name="nazwapodmiotu" type="tns:tznakowyjpk"> <xsd:>nazwa podmiotu będącego stroną operacji</xsd:> <xsd:element name="opisoperacji" type="tns:tznakowyjpk"> <xsd:>opis operacji/transakcji</xsd:> <xsd:element name="kwotaoperacji" type="tns:tkwotowy"> <xsd:>kwota operacji</xsd:> <xsd:element name="saldooperacji" type="tns:tkwotowy"> <xsd:>saldo operacji</xsd:> </xsd:sequence> <xsd:attribute name="typ" use="required" fixed="g"/> </xsd:complextype> <xsd:element name="wyciagctrl"> <xsd:>sumy kontrolne dla wyciągu bankowego</xsd:> <xsd:complextype> <xsd:sequence> <xsd:element name="liczbawierszy" type="tns:tnaturalnyjpk"> <xsd:>liczba wierszy wyciągu bankowego, w okresie którego dotyczy wyciąg</xsd:> <xsd:element name="sumaobciazen" type="tns:tkwotowy"> <xsd:>suma kwot obciążeń rachunku w okresie, którego dotyczy wyciąg</xsd:> <xsd:element name="sumauznan" type="tns:tkwotowy">
<xsd:>suma kwot uznań rachunku w okresie, którego dotyczy wyciąg</xsd:> </xsd:sequence> </xsd:complextype> </xsd:sequence> </xsd:complextype> element JPK/Naglowek type tns:tnaglowek content complex
children tns:kodformularza tns:wariantformularza tns:celzlozenia tns:datawytworzeniajpk tns:dataod tns:datado tns:domyslnykodwaluty tns:kodurzedu Nagłówek JPK_WB source <xsd:element name="naglowek" type="tns:tnaglowek"> <xsd:>nagłówek JPK_WB</xsd:> element JPK/Podmiot1 content complex children tns:identyfikatorpodmiotu tns:adrespodmiotu source <xsd:element name="podmiot1"> <xsd:complextype> <xsd:sequence> <xsd:element name="identyfikatorpodmiotu" type="etd:tidentyfikatorosobyniefizycznej"> <xsd:>dane identyfikujące podmiot</xsd:> <xsd:element name="adrespodmiotu" type="etd:tadrespolski"> <xsd:>adres podmiotu</xsd:> </xsd:sequence> </xsd:complextype>
element JPK/Podmiot1/IdentyfikatorPodmiotu type etd:tidentyfikatorosobyniefizycznej content complex children etd:nip etd:pelnanazwa etd:regon Dane identyfikujące podmiot source <xsd:element name="identyfikatorpodmiotu" type="etd:tidentyfikatorosobyniefizycznej"> <xsd:>dane identyfikujące podmiot</xsd:>
element JPK/Podmiot1/AdresPodmiotu type etd:tadrespolski content complex children etd:kodkraju etd:wojewodztwo etd:powiat etd:gmina etd:ulica etd:nrdomu etd:nrlokalu etd:miejscowosc etd:kodpocztowy etd:poczta Adres podmiotu
source <xsd:element name="adrespodmiotu" type="etd:tadrespolski"> <xsd:>adres podmiotu</xsd:> element JPK/NumerRachunku type restriction of xsd:string pattern [A-Z]{2}[0-9]{2}[0-9A-Z]{10,30} Numer IBAN rachunku, którego dotyczy wyciąg source <xsd:element name="numerrachunku"> <xsd:>numer IBAN rachunku, którego dotyczy wyciąg</xsd:> <xsd:simpletype> <xsd:restriction base="xsd:string"> <xsd:pattern value="[a-z]{2}[0-9]{2}[0-9a-z]{10,30}"/> </xsd:restriction> </xsd:simpletype> element JPK/Salda content complex children tns:saldopoczatkowe tns:saldokoncowe Salda wyciągu source <xsd:element name="salda"> <xsd:>salda wyciągu</xsd:>
<xsd:complextype> <xsd:sequence> <xsd:element name="saldopoczatkowe" type="tns:tkwotowy"> <xsd:>saldo początkowe wyciągu</xsd:> <xsd:element name="saldokoncowe" type="tns:tkwotowy"> <xsd:>saldo końcowe wyciągu</xsd:> </xsd:sequence> </xsd:complextype> element JPK/Salda/SaldoPoczatkowe type tns:tkwotowy totaldigits 18 fractiondigits 2 Saldo początkowe wyciągu source <xsd:element name="saldopoczatkowe" type="tns:tkwotowy"> <xsd:>saldo początkowe wyciągu</xsd:> element JPK/Salda/SaldoKoncowe type tns:tkwotowy totaldigits 18 fractiondigits 2
Saldo końcowe wyciągu source <xsd:element name="saldokoncowe" type="tns:tkwotowy"> <xsd:>saldo końcowe wyciągu</xsd:> element JPK/WyciagWiersz minocc 1 maxocc unbounded content complex children tns:numerwiersza tns:dataoperacji tns:nazwapodmiotu tns:opisoperacji tns:kwotaoperacji tns:saldooperacji attributes Name Type Use Default Fixed Annotation typ required G Szczegółowe wiersze (zapisy) wyciągu bankowego source <xsd:element name="wyciagwiersz" maxoccurs="unbounded"> <xsd:>szczegółowe wiersze (zapisy) wyciągu bankowego</xsd:>
<xsd:complextype> <xsd:sequence> <xsd:element name="numerwiersza" type="tns:tnaturalnyjpk"> <xsd:>kolejny numer wiersza (zapisu) wyciągu</xsd:> <xsd:element name="dataoperacji" type="etd:tdata"> <xsd:>data operacji</xsd:> <xsd:element name="nazwapodmiotu" type="tns:tznakowyjpk"> <xsd:>nazwa podmiotu będącego stroną operacji</xsd:> <xsd:element name="opisoperacji" type="tns:tznakowyjpk"> <xsd:>opis operacji/transakcji</xsd:> <xsd:element name="kwotaoperacji" type="tns:tkwotowy"> <xsd:>kwota operacji</xsd:> <xsd:element name="saldooperacji" type="tns:tkwotowy"> <xsd:>saldo operacji</xsd:> </xsd:sequence> <xsd:attribute name="typ" use="required" fixed="g"/> </xsd:complextype> attribute JPK/WyciagWiersz/@typ use required fixed G source <xsd:attribute name="typ" use="required" fixed="g"/> element JPK/WyciagWiersz/NumerWiersza type tns:tnaturalnyjpk
minexclusive 0 totaldigits 14 whitespace collapse Kolejny numer wiersza (zapisu) wyciągu source <xsd:element name="numerwiersza" type="tns:tnaturalnyjpk"> <xsd:>kolejny numer wiersza (zapisu) wyciągu</xsd:> element JPK/WyciagWiersz/DataOperacji type etd:tdata mininclusive 1900-01-01 maxinclusive 2030-12-31 pattern Data operacji ((\d{4})-(\d{2})-(\d{2})) source <xsd:element name="dataoperacji" type="etd:tdata"> <xsd:>data operacji</xsd:> element JPK/WyciagWiersz/NazwaPodmiotu type tns:tznakowyjpk minlength 1 maxlength 256 Nazwa podmiotu będącego stroną operacji
source <xsd:element name="nazwapodmiotu" type="tns:tznakowyjpk"> <xsd:>nazwa podmiotu będącego stroną operacji</xsd:> element JPK/WyciagWiersz/OpisOperacji type tns:tznakowyjpk minlength 1 maxlength 256 Opis operacji/transakcji source <xsd:element name="opisoperacji" type="tns:tznakowyjpk"> <xsd:>opis operacji/transakcji</xsd:> element JPK/WyciagWiersz/KwotaOperacji type tns:tkwotowy totaldigits 18 fractiondigits 2 Kwota operacji source <xsd:element name="kwotaoperacji" type="tns:tkwotowy"> <xsd:>kwota operacji</xsd:>
element JPK/WyciagWiersz/SaldoOperacji type tns:tkwotowy totaldigits 18 fractiondigits 2 Saldo operacji source <xsd:element name="saldooperacji" type="tns:tkwotowy"> <xsd:>saldo operacji</xsd:> element JPK/WyciagCtrl content complex children tns:liczbawierszy tns:sumaobciazen tns:sumauznan Sumy kontrolne dla wyciągu bankowego source <xsd:element name="wyciagctrl"> <xsd:>sumy kontrolne dla wyciągu bankowego</xsd:> <xsd:complextype> <xsd:sequence> <xsd:element name="liczbawierszy" type="tns:tnaturalnyjpk">
<xsd:>liczba wierszy wyciągu bankowego, w okresie którego dotyczy wyciąg</xsd:> <xsd:element name="sumaobciazen" type="tns:tkwotowy"> <xsd:>suma kwot obciążeń rachunku w okresie, którego dotyczy wyciąg</xsd:> <xsd:element name="sumauznan" type="tns:tkwotowy"> <xsd:>suma kwot uznań rachunku w okresie, którego dotyczy wyciąg</xsd:> </xsd:sequence> </xsd:complextype> element JPK/WyciagCtrl/LiczbaWierszy type tns:tnaturalnyjpk minexclusive 0 totaldigits 14 whitespace collapse Liczba wierszy wyciągu bankowego, w okresie którego dotyczy wyciąg source <xsd:element name="liczbawierszy" type="tns:tnaturalnyjpk"> <xsd:>liczba wierszy wyciągu bankowego, w okresie którego dotyczy wyciąg</xsd:>
element JPK/WyciagCtrl/SumaObciazen type tns:tkwotowy totaldigits 18 fractiondigits 2 Suma kwot obciążeń rachunku w okresie, którego dotyczy wyciąg source <xsd:element name="sumaobciazen" type="tns:tkwotowy"> <xsd:>suma kwot obciążeń rachunku w okresie, którego dotyczy wyciąg</xsd:> element JPK/WyciagCtrl/SumaUznan type tns:tkwotowy totaldigits 18 fractiondigits 2 Suma kwot uznań rachunku w okresie, którego dotyczy wyciąg source <xsd:element name="sumauznan" type="tns:tkwotowy"> <xsd:>suma kwot uznań rachunku w okresie, którego dotyczy wyciąg</xsd:>
complextype TNaglowek children tns:kodformularza tns:wariantformularza tns:celzlozenia tns:datawytworzeniajpk tns:dataod tns:datado tns:domyslnykodwaluty tns:kodurzedu used by element JPK/Naglowek Nagłówek JPK_WB source <xsd:complextype name="tnaglowek"> <xsd:>nagłówek JPK_WB</xsd:> <xsd:sequence> <xsd:element name="kodformularza"> <xsd:complextype> <xsd:simplecontent> <xsd:extension base="tns:tkodformularza"> <xsd:attribute name="kodsystemowy" type="xsd:string" use="required" fixed="jpk_wb (1)"/> <xsd:attribute name="wersjaschemy" type="xsd:string" use="required" fixed="1-0"/> </xsd:extension> </xsd:simplecontent>
</xsd:complextype> <xsd:element name="wariantformularza"> <xsd:simpletype> <xsd:restriction base="xsd:byte"> <xsd:enumeration value="1"/> </xsd:restriction> </xsd:simpletype> <xsd:element name="celzlozenia" type="tns:tcelzlozenia"/> <xsd:element name="datawytworzeniajpk" type="etd:tdataczas"> <xsd:>data i czas wytworzenia JPK_WB</xsd:> <xsd:element name="dataod" type="etd:tdata"> <xsd:>data początkowa okresu, którego dotyczy JPK_WB</xsd:> <xsd:element name="datado" type="etd:tdata"> <xsd:>data końcowa okresu, którego dotyczy JPK_WB</xsd:> <xsd:element name="domyslnykodwaluty" type="kck:currcode_type"> <xsd:>trzyliterowy kod lokalnej waluty (ISO-4217), domyślny dla wytworzonego JPK_WB</xsd:> <xsd:element name="kodurzedu" type="etd:tkodus"/> </xsd:sequence> </xsd:complextype> element TNaglowek/KodFormularza type extension of tns:tkodformularza content complex attributes Name Type Use Default Fixed Annotation kodsystemowy xsd:string required JPK_WB (1) wersjaschemy xsd:string required 1-0 source <xsd:element name="kodformularza"> <xsd:complextype>
<xsd:simplecontent> <xsd:extension base="tns:tkodformularza"> <xsd:attribute name="kodsystemowy" type="xsd:string" use="required" fixed="jpk_wb (1)"/> <xsd:attribute name="wersjaschemy" type="xsd:string" use="required" fixed="1-0"/> </xsd:extension> </xsd:simplecontent> </xsd:complextype> attribute TNaglowek/KodFormularza/@kodSystemowy type xsd:string use required fixed JPK_WB (1) source <xsd:attribute name="kodsystemowy" type="xsd:string" use="required" fixed="jpk_wb (1)"/> attribute TNaglowek/KodFormularza/@wersjaSchemy type xsd:string use required fixed 1-0 source <xsd:attribute name="wersjaschemy" type="xsd:string" use="required" fixed="1-0"/> element TNaglowek/WariantFormularza type restriction of xsd:byte source <xsd:element name="wariantformularza"> <xsd:simpletype> <xsd:restriction base="xsd:byte"> <xsd:enumeration value="1"/> </xsd:restriction> </xsd:simpletype> element TNaglowek/CelZlozenia type tns:tcelzlozenia
source <xsd:element name="celzlozenia" type="tns:tcelzlozenia"/> element TNaglowek/DataWytworzeniaJPK type etd:tdataczas whitespace collapse Data i czas wytworzenia JPK_WB source <xsd:element name="datawytworzeniajpk" type="etd:tdataczas"> <xsd:>data i czas wytworzenia JPK_WB</xsd:> element TNaglowek/DataOd type etd:tdata mininclusive 1900-01-01 maxinclusive 2030-12-31 pattern ((\d{4})-(\d{2})-(\d{2})) Data początkowa okresu, którego dotyczy JPK_WB source <xsd:element name="dataod" type="etd:tdata"> <xsd:>data początkowa okresu, którego dotyczy JPK_WB</xsd:>
element TNaglowek/DataDo type etd:tdata mininclusive 1900-01-01 maxinclusive 2030-12-31 pattern ((\d{4})-(\d{2})-(\d{2})) Data końcowa okresu, którego dotyczy JPK_WB source <xsd:element name="datado" type="etd:tdata"> <xsd:>data końcowa okresu, którego dotyczy JPK_WB</xsd:> element TNaglowek/DomyslnyKodWaluty type kck:currcode_type Trzyliterowy kod lokalnej waluty (ISO-4217), domyślny dla wytworzonego JPK_WB source <xsd:element name="domyslnykodwaluty" type="kck:currcode_type"> <xsd:>trzyliterowy kod lokalnej waluty (ISO-4217), domyślny dla wytworzonego JPK_WB</xsd:> element TNaglowek/KodUrzedu type etd:tkodus
source <xsd:element name="kodurzedu" type="etd:tkodus"/> simpletype TCelZlozenia type restriction of xsd:byte base xsd:byte used by element TNaglowek/CelZlozenia Określenie celu złożenia JPK source <xsd:simpletype name="tcelzlozenia"> <xsd:>określenie celu złożenia JPK</xsd:> <xsd:restriction base="xsd:byte"> <xsd:enumeration value="1"> <xsd:>złożenie JPK po raz pierwszy</xsd:> </xsd:enumeration> </xsd:restriction> </xsd:simpletype> simpletype TKodFormularza type restriction of xsd:string base xsd:string used by element TNaglowek/KodFormularza Symbol wzoru formularza source <xsd:simpletype name="tkodformularza"> <xsd:>symbol wzoru formularza</xsd:> <xsd:restriction base="xsd:string"> <xsd:enumeration value="jpk_wb"/> </xsd:restriction> </xsd:simpletype> simpletype TKwotowy type restriction of xsd:decimal base xsd:decimal used by elements JPK/WyciagWiersz/KwotaOperacji JPK/Salda/SaldoKoncowe JPK/WyciagWiersz/SaldoOperacji JPK/Salda/SaldoPoczatkowe JPK/WyciagCtrl/SumaObciazen JPK/WyciagCtrl/SumaUznan
totaldigits 18 fractiondigits 2 Wartość numeryczna 18 znaków max, w tym 2 znaki po przecinku source <xsd:simpletype name="tkwotowy"> <xsd:>wartość numeryczna 18 znaków max, w tym 2 znaki po przecinku</xsd:> <xsd:restriction base="xsd:decimal"> <xsd:totaldigits value="18"/> <xsd:fractiondigits value="2"/> </xsd:restriction> </xsd:simpletype> simpletype TNaturalnyJPK type restriction of etd:tnaturalny base etd:tnaturalny used by elements JPK/WyciagCtrl/LiczbaWierszy JPK/WyciagWiersz/NumerWiersza minexclusive 0 totaldigits 14 whitespace collapse Liczby naturalne większe od zera source <xsd:simpletype name="tnaturalnyjpk"> <xsd:>liczby naturalne większe od zera</xsd:> <xsd:restriction base="etd:tnaturalny"> <xsd:minexclusive value="0"/> </xsd:restriction> </xsd:simpletype> simpletype TZnakowyJPK type restriction of xsd:token base xsd:token used by elements JPK/WyciagWiersz/NazwaPodmiotu JPK/WyciagWiersz/OpisOperacji minlength 1 maxlength 256 Typ znakowy ograniczony do 256 znaków source <xsd:simpletype name="tznakowyjpk">
<xsd:>typ znakowy ograniczony do 256 znaków</xsd:> <xsd:restriction base="xsd:token"> <xsd:minlength value="1"/> <xsd:maxlength value="256"/> </xsd:restriction> </xsd:simpletype> XML Schema generated by XMLSpy Schema Editor http://www.altova.com/xmlspy