http://www.unece.org/trade/untdid/d96a/trmd/invoic_d.htm Käydään läpi tuon speksin mukaan: Segment group 25 selite: A group of segments providing details of the individual invoiced items. There must be at least one occurrence of Segment group 22 within an invoice, but not necessarily in a credit note or a debit note. This Segment group may be repeated to give sub-line details. Line item selite: e1082 = rivinro 222 e1229 = Code specifying the action to be taken or already taken. koodi 4: No action This line item is not affected by the actual message. // Koodeja huomettava määrä, mutta laskuissa taitaa olla aina no action. // Kannattaa huomata tässä, että nuo ovat EDI-viestejä. Additional product id selite: e4348 = Product id. function qualifier koodi 1 = Additional identification Information which specifies and qualifies product identifications. // koodeja yhteensä 8 kpl. En ole tutkinut onko eroavaisuuksia eC212.1.7140 = Item number Item description selite: e7077 = Code indicating the format of a description. koodi f = Free-form // Mahdolliset vaihtoehdot A, B, C, D, E, F, S ja X. varmaan kaikki free-form // Tai ainaki toivon mukaan eC273.7008.1 = Plain language description of articles or products. Quantity selite: eC186.6063 = Code giving specific meaning to a quantity. koodi 47 = Invoiced quantity // kymmeniä mahdollisuuksia ja taas epäilen, että kaikki on 47. vaatii // hieman tutustumista tähän paskaa eC186.6060 = Numeric value of a quantity. jepjep eli 13 kpl täs paskassa Group 26 A group of segments specifying any monetary amounts relating to the products and when necessary a currency. Monetary amount selite: eC516.5025 = Monetary amount type qualifier koodi 203 = Goods item total minus allowances plus charges for line item. // taidetaan kolmee eri koodia käyttää tästä eC516.5004 = Monetary amount jepjep eli rahaa nyt tässä tapauksessa 55,25 // Katso yltä, mutta tässä tpaauksessa eC516.5025 = Total sum charged in respect of a single Invoice item in accordance with the terms of delivery. // Katso yltä, mutta tässä tapauksessa ec516.5025 = Amount in national currency resulting from the application, at the appropriate rate, of value added tax (or similar tax) to the invoice amount subject to such tax. // Eli enenmpää miettimättä veroton, verolline ja vero eiköjee? Group 28 A group of segments identifying the relevant pricing information for the goods or services invoiced Price details selite: eC509.5125 = Identification of a type of price. koodi AAB = Calculation gross // Tässäkin on muutamia vaihtoehtoja itse spekseissä. Onko itse lakussa? Group 29 A group giving references and where necessary, their dates, relating to the line item. Reference selite: eC506.1153 = Code giving specific meaning to a reference segment or a reference number. koodi CR = Reference number assigned by the customer to a transaction. // Katso yltä, mutta koodille ZVK ei löydy selitystä. Nämä tosin infokoodeja // ja ZVK varmaan vaa sovittu jossakin järjestelmissä et tällä koodilla // olevissa EDI-viesteissä tarkoittaa infokoodia tai jotain muuta kenttää Group 33 A group of segments specifying tax related information for the line item, and when necessary, the location(s) to which that tax information relates. Duty/tax/fee details selite: e5283 = Duty/tax/fee function qualifier koodi 7 = tax eC241.5153 = Identification of the type of duty or tax or fee applicable to commodities or of tax applicable to services. koodi VAT = Value added tax // no shit sherlock! ensimmäinen järkevä koodi? Monetary amount selite(kertaalleen vaikka onjo): eC516.5025 = Monetary amount type qualifier koodi 161 = Amount of duty, tax or fee. eC516.5004 = number of monetary units Tässä siis oli purettuna yksi rivi ja vie koko viesti ilma silppomista: Ja miltä tämä tieto näyttää pdf:ssä: Verolliset palvelut 23% |EU| Määrä | Hinta/kpl | Yhteensä Kirjaaminen, kv Priority-kirje|EU| 13 | 4,2500 | 55,25 Mahdollisia kolumneja voisi olla vielä ale% per hinta/kpl, kg/yht hinta/kg ja ale% per hinta/kg. Näkee siitä pdf-laskusta