Bisnet XML
A RoolWikiBÓL
(Változatok közti eltérés)
2011. június 16., 12:32 változat (szerkesztés) Rozsahegyil (Vita | szerkesztései) ← Előző változtatások |
2011. június 16., 16:47 változat (szerkesztés) (undo) Rozsahegyil (Vita | szerkesztései) Következő változtatások → |
||
9. sor: | 9. sor: | ||
|- | |- | ||
| INVOIC.S_050.APPLICATION || ROOL Bázis || fix | | INVOIC.S_050.APPLICATION || ROOL Bázis || fix | ||
- | |- style="color:black; background-color:#dddddd;" | + | |- |
| INVOIC.S_050.MESSAGE_TYPE || INVOIC || fix | | INVOIC.S_050.MESSAGE_TYPE || INVOIC || fix | ||
|- | |- | ||
83. sor: | 83. sor: | ||
| INVOIC.S_050.S_100.S_120.EXTERNAL_SUPPLIER_ID.SU || || coalesce(vms.beszallito_kod, coalesce(szla.szll_id.vpc_id.beszallito_kod, szla.vpn_id.beszallito_kod)), illetve ennek az első 5 karaktere a transzfer_feladat.beszallito_kod_kezeles értékétől { E | 5 } függően (vizsgálat: 5 vagy más?) | | INVOIC.S_050.S_100.S_120.EXTERNAL_SUPPLIER_ID.SU || || coalesce(vms.beszallito_kod, coalesce(szla.szll_id.vpc_id.beszallito_kod, szla.vpn_id.beszallito_kod)), illetve ennek az első 5 karaktere a transzfer_feladat.beszallito_kod_kezeles értékétől { E | 5 } függően (vizsgálat: 5 vagy más?) | ||
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.VAT_NUMBER.SU || || | + | | INVOIC.S_050.S_100.S_120.VAT_NUMBER.SU || || vlt.adoszam |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.NAME_1.SU || || | + | | INVOIC.S_050.S_100.S_120.NAME_1.SU || || vlt.nev |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.STREET_1.SU || || | + | | INVOIC.S_050.S_100.S_120.STREET_1.SU || || vlt.szekhely_cim |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.CITY.SU || || | + | | INVOIC.S_050.S_100.S_120.CITY.SU || || vlt.tls_id_szekhely.nev |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.POSTAL_CODE.SU || || | + | | INVOIC.S_050.S_100.S_120.POSTAL_CODE.SU || || vlt.tls_id_szekhely.iranyitoszam |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.COUNTRY.SU || || | + | | INVOIC.S_050.S_100.S_120.COUNTRY.SU || || vlt.tls_id_szekhely.oszg_id.kod |
+ | |- | ||
+ | | INVOIC.S_050.S_100.S_120.ACCOUNT_NUMBER.SU || || szla.vbsz_id.penzforgalmi_jelzoszam | ||
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.ILN.BY || || | + | | INVOIC.S_050.S_100.S_120.ILN.BY || || case lTftRec.vevo_gln_forras when 'P' then pnr.gln_kod else coalesce(pcm_szll.szegmens_gln_kod, pcm_szll.gln_kod) end as vevo_gln |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.EXTERNAL_SUPPLIER_ID.BY || || | + | | INVOIC.S_050.S_100.S_120.NAME_1.BY || || case lTftRec.vevo_gln_forras when 'P' then lSzlaRec.vevo_nev else lSzlaRec.szallitasi_cim_nev end |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.VAT_NUMBER.BY || || | + | | INVOIC.S_050.S_100.S_120.STREET_1.BY || || case lTftRec.vevo_gln_forras when 'P' then lSzlaRec.vevo_cim else lSzlaRec.szallitasi_cim_cim end |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.NAME_1.BY || || | + | | INVOIC.S_050.S_100.S_120.CITY.BY || || case lTftRec.vevo_gln_forras when 'P' then lSzlaRec.vevo_telepules else lSzlaRec.szallitasi_cim_telepules end |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.STREET_1.BY || || | + | | INVOIC.S_050.S_100.S_120.POSTAL_CODE.BY || || case lTftRec.vevo_gln_forras when 'P' then lSzlaRec.vevo_iranyitoszam else lSzlaRec.szallitasi_cim_iranyitoszam end |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.CITY.BY || || | + | | INVOIC.S_050.S_100.S_120.COUNTRY.BY || || case lTftRec.vevo_gln_forras when 'P' then lSzlaRec.vevo_orszag else lSzlaRec.szallitasi_cim_orszag end |
- | |- | + | |
- | | INVOIC.S_050.S_100.S_120.POSTAL_CODE.BY || || | + | |
- | |- | + | |
- | | INVOIC.S_050.S_100.S_120.COUNTRY.BY || || | + | |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.ILN.DP || || | + | | INVOIC.S_050.S_100.S_120.ILN.DP || || lSzlaRec.szallitasi_cim_gln |
- | |- | + | |
- | | INVOIC.S_050.S_100.S_120.EXTERNAL_SUPPLIER_ID.DP || || | + | |
- | |- | + | |
- | | INVOIC.S_050.S_100.S_120.VAT_NUMBER.DP || || | + | |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.NAME_1.DP || || | + | | INVOIC.S_050.S_100.S_120.NAME_1.DP || || lSzlaRec.szallitasi_cim_nev |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.STREET_1.DP || || | + | | INVOIC.S_050.S_100.S_120.STREET_1.DP || || lSzlaRec.szallitasi_cim_cim |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.CITY.DP || || | + | | INVOIC.S_050.S_100.S_120.CITY.DP || || lSzlaRec.szallitasi_cim_telepules |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.POSTAL_CODE.DP || || | + | | INVOIC.S_050.S_100.S_120.POSTAL_CODE.DP || || lSzlaRec.szallitasi_cim_iranyitoszam |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.COUNTRY.DP || || | + | | INVOIC.S_050.S_100.S_120.COUNTRY.DP || || lSzlaRec.szallitasi_cim_orszag |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.ILN.IV || || | + | | INVOIC.S_050.S_100.S_120..IV || || if coalesce(lSzlaRec.fogado_gln_kod_szamlazasi, lSzlaRec.vevo_gln) <> lSzlaRec.vevo_gln then |
- | + | ||
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.EXTERNAL_SUPPLIER_ID.IV || || | + | | INVOIC.S_050.S_100.S_120.ILN.IV || || lSzlaRec.fogado_gln_kod_szamlazasi |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.VAT_NUMBER.IV || || | + | | INVOIC.S_050.S_100.S_120.NAME_1.IV || || lSzlaRec.vevo_nev |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.NAME_1.IV || || | + | | INVOIC.S_050.S_100.S_120.STREET_1.IV || || lSzlaRec.vevo_cim |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.STREET_1.IV || || | + | | INVOIC.S_050.S_100.S_120.CITY.IV || || lSzlaRec.vevo_telepules |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.CITY.IV || || | + | | INVOIC.S_050.S_100.S_120.POSTAL_CODE.IV || || lSzlaRec.vevo_iranyitoszam |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.POSTAL_CODE.IV || || | + | | INVOIC.S_050.S_100.S_120.COUNTRY.IV || || lSzlaRec.vevo_orszag |
+ | |||
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.COUNTRY.IV || || | + | | INVOIC.S_050.S_100.S_170.PAYMENT_DATE || || lSzlaRec.fizetesi_hatarido |
+ | |||
+ | |||
+ | |||
+ | |||
|- | |- | ||
- | | INVOIC.S_050.S_100.S_120.ACCOUNT_NUMBER || || | + | | INVOIC.S_050.S_200.POSITION_NUMBER || || lSztlRec.aru_sorszam |
|- | |- | ||
- | | INVOIC.S_050.S_100.S_170.PAYMENT_DATE || || | + | | INVOIC.S_050.S_200.EAN || || lSztlRec.ean_kod |
|- | |- | ||
- | | INVOIC.S_050.S_200.POSITION_NUMBER || || | + | | INVOIC.S_050.S_200.BUYER_ITEM_NUMBER || || lSztlRec.aru_partner_kod |
|- | |- | ||
- | | INVOIC.S_050.S_200.EAN || || | + | | INVOIC.S_050.S_200.SUPPLIER_ITEM_NUMBER || || lSztlRec.aru_kod |
|- | |- | ||
- | | INVOIC.S_050.S_200.BUYER_ITEM_NUMBER || || | + | | INVOIC.S_050.S_200.ITEM_DESCRIPTION1 || || lSztlRec.aru_nev |
|- | |- | ||
- | | INVOIC.S_050.S_200.SUPPLIER_ITEM_NUMBER || || | + | | INVOIC.S_050.S_200.QUANTITY || || lSztlRec.pak_mennyiseg |
|- | |- | ||
- | | INVOIC.S_050.S_200.ITEM_DESCRIPTION1 || || | + | | INVOIC.S_050.S_200.QUANTITY_UNIT || || lSztlRec.pak_mennyisegi_egyseg |
|- | |- | ||
- | | INVOIC.S_050.S_200.QUANTITY || || | + | | INVOIC.S_050.S_200.QUANTITY_QUALIFIER || { 47 | 58 } || |
+ | * 47 = számlázott mennyiség | ||
+ | * 58 = visszavont (eredeti) mennyiség (helyesbítő számla esetén) | ||
|- | |- | ||
- | | INVOIC.S_050.S_200.QUANTITY_UNIT || || | + | | INVOIC.S_050.S_200.NET_AMOUNT || || lSztlRec.aru_netto_ertek |
|- | |- | ||
- | | INVOIC.S_050.S_200.QUANTITY_QUALIFIER || || | + | | INVOIC.S_050.S_200.GROSS_AMOUNT || || lSztlRec.aru_brutto_ertek |
|- | |- | ||
- | | INVOIC.S_050.S_200.NET_AMOUNT || || | + | | INVOIC.S_050.S_200.VAT_AMOUNT || || lSztlRec.aru_ado_ertek |
|- | |- | ||
- | | INVOIC.S_050.S_200.GROSS_AMOUNT || || | + | | INVOIC.S_050.S_200.S_201 || || PRODUCT_QUALIFIER értéke szerinti jelentések: |
+ | * HS: Harmonised system = vámtarifaszám | ||
+ | * GN: BTO - Nemzetközi termékcsoport kód | ||
+ | * LI: eredeti tétel sorszám helyesbítő számla esetén | ||
|- | |- | ||
- | | INVOIC.S_050.S_200.VAT_AMOUNT || || | + | | INVOIC.S_050.S_200.S_201.PRODUCT_QUALIFIER || { HS | GN | LI } || |
|- | |- | ||
- | | INVOIC.S_050.S_200.S_201.PRODUCT_QUALIFIER || || | + | | INVOIC.S_050.S_200.S_201.PRODUCT_NUMBER.HS || || lSztlRec.aru_vamtarifaszam |
|- | |- | ||
- | | INVOIC.S_050.S_200.S_201.PRODUCT_NUMBER || || | + | | INVOIC.S_050.S_200.S_201.PRODUCT_NUMBER.GN || || lSztlRec.aru_bto_kod |
|- | |- | ||
- | | INVOIC.S_050.S_200.S_215.VAT_RATE || || | + | | INVOIC.S_050.S_200.S_201.PRODUCT_NUMBER.LI || || lSztlRec.aru_helyesbitett_sorszam |
+ | |||
|- | |- | ||
- | | INVOIC.S_050.S_200.S_215.TAX_EXEMPT_INDICATOR || || | + | | INVOIC.S_050.S_200.S_215.VAT_RATE || || lSztlRec.ado_mertek |
|- | |- | ||
- | | INVOIC.S_050.S_200.S_280.PRICE_QUALIFIER || || | + | | INVOIC.S_050.S_200.S_215.TAX_EXEMPT_INDICATOR || S || fix |
+ | |||
|- | |- | ||
- | | INVOIC.S_050.S_200.S_280.PRICE || || | + | | INVOIC.S_050.S_200.S_280.PRICE_QUALIFIER || AAA || fix. Az egységár típusa: AAA = nettó-nettó ár (engedményeket tartalmazó ár), AAB = bruttó listaár (engedmények nélküli ár) |
|- | |- | ||
- | | INVOIC.S_050.S_200.S_280.PRICE_UNIT || || | + | | INVOIC.S_050.S_200.S_280.PRICE || || lSztlRec.pak_egysegar |
|- | |- | ||
- | | INVOIC.S_050.S_200.S_280.PRICE_BASIS || || | + | | INVOIC.S_050.S_200.S_280.PRICE_UNIT || || lSztlRec.pak_mennyisegi_egyseg |
|- | |- | ||
- | | INVOIC.S_050.S_300.TOTAL_GROSS_AMOUNT || || | + | | INVOIC.S_050.S_200.S_280.PRICE_BASIS || 1 || fix |
+ | |||
|- | |- | ||
- | | INVOIC.S_050.S_300.TOTAL_NET_AMOUNT || || | + | | INVOIC.S_050.S_300.TOTAL_GROSS_AMOUNT || || lSzlaRec.szamla_brutto_ertek |
+ | |- | ||
+ | | INVOIC.S_050.S_300.TOTAL_NET_AMOUNT || || lSzlaRec.szamla_netto_ertek | ||
+ | |- | ||
+ | | INVOIC.S_050.S_300.TOTAL_POSITIONS || || számla tételek száma. Készítéskor van kalkulálva. | ||
+ | |||
|- | |- | ||
- | | INVOIC.S_050.S_300.TOTAL_POSITIONS || || | + | | INVOIC.S_050.S_400 || || számlára vonatkozó nettó, adó, bruttó értékek adó kulcsonként összesítve. (külön lekérdezés) |
|- | |- | ||
- | | INVOIC.S_050.S_400.VAT_RATE_1 || || | + | | INVOIC.S_050.S_400.VAT_RATE_1 || || adó mérték (sztl.akcs_id.ado_mertek) |
|- | |- | ||
- | | INVOIC.S_050.S_400.TOTAL_VAT_BASE_AMOUNT_1 || || | + | | INVOIC.S_050.S_400.TOTAL_VAT_BASE_AMOUNT_1 || || nettó (sum(sztl.netto_ertek)) |
|- | |- | ||
- | | INVOIC.S_050.S_400.TOTAL_VAT_AMOUNT_1 || || | + | | INVOIC.S_050.S_400.TOTAL_VAT_AMOUNT_1 || || adó |
|- | |- | ||
- | | INVOIC.S_050.S_400.TOTAL_GROSS_AMOUNT_1 || || | + | | INVOIC.S_050.S_400.TOTAL_GROSS_AMOUNT_1 || || bruttó |
|- | |- | ||
- | | INVOIC.S_050.S_400.TOTAL_VAT_AMOUNT || || | + | | INVOIC.S_050.S_400.TOTAL_VAT_AMOUNT || || szamla.ado_ertek |
|} | |} |