C o m m e r c e é l e c t r o n i q u e , comptabilité, archivage et normalisation ebXML un gage de stabilité dans les développements informatiques
Michel LESOURD DirecteurAdjointdesétudestechniquesduCS-OEC Déléguégénérald'EDIFICAS Vice-ChairmanTBG12Accounting&Auditdel'UN/CEFACT
Commerce - comptabilité cest de lhistoire ancienne
en 1494, la comptabilité est née du commerce (Luca Pacioli) aujourdhui, le commerce ne peut vivre sans comptabilité comptabilité et commerce sont un tout indissociable
et toujours une réalité
1
Sommaire
ebXML : de quoi sagit-il ? La facture électronique et ebXML La comptabilité et ebXML Coopération TBG1-TBG12 / UN-Cefact
ebXML : de quoi sagit-il ?
langage sémantique et syntaxique issu de XML repose sur des composants communs à tous les métiers toujours en dehors de tout contexte métier des solutions prêtes à lemploi des solutions adaptables à chaque corps de métier une solution pré documentée grâce à UML
2
ebXML : de quoi sagit-il ?
Représentation ex.: binary, date, decimal, string de base
e ex.: amount, code te/t repTreérsmenetadtion,daime
ebXML : de quoi sagit-il ? La facture électronique et ebXML La comptabilité et ebXML Coopération TBG1-TBG12 / UN-Cefact
3
ebXML : de quoi sagit-il ? cd Inv oice Header +Proforma Invoice +Sell er 0..1 Document Reference. Details 0.. +Documentary Credit Inv oice Header ++SCuupstpolimerer11 Party. Details + Reference Number: Identifier. T ype 0..1+Despatch Advice + Invoice Number: Identi fier. T ype +Consignee 0..1 + Reference Date: Date T i me. T ype [0..1] .1 + Invoice Issue Date: Date T ime. T ype +Consi 0..1 + Reference Status: Code. T ype [0..1] + Invoice T ype Code: Code. T ype [0..1] + Copy Indi cator: Indicator. T ype [0..1] 0. +Way Bill + Copy Indicator: Indicator. T ype [0..1] +Manufganctourrer0..1 + Reference URI: Identifier. T ype [0..1] 0..1 + Invoice Global Unique Identifier: Identifier. T ype [0..1] + ReferenceGlobal Unique Identifer: Identifier. T ype [0..1] +Bill Of Lading Invoice Language: Code. T ype [0..1] +Invoicee 0..1 + + + Reference Item Number: Identifi er. T ype [0..1] 0..1 Invoice Currency: Code. T ype [0..1] ++PVaAyTeeRepresentative00....11 + Reference Item Status: Code. T ype [0..1] +Contract + Price Currency: Code. T ype [0..1] + Payment Currency: Code. T ype [0..1] 0..1+Payment + Alternative Paym ent Currency: Code. Content [0..1] ++CIunsvtooimceerIsAsuccerountant00....11 + T ransport. Mode: Code. T ype [0..1] 0..1+PackingList + T ax Poi nt Date T ime: Date T im e. T ype [0..1] +S+uBpplierAccountant0..10..1 + Number Of Invoice Line: Numeric. T ype [0..1] uyer 0..1 Previous Invoice + T otal Invoice Li ne Amount: Am ount. T ype [0..1] + T otal Invoice Additional Charge Amount : Am ount. T ype [0..1] dit + T axable T ransport Charge Amount: Am ount. T ype [0..1] * Adj ustment Details 0..1LetterOfCre + T otal T axable Amount: Amount. T ype [0..1] 0.. 0..1+ImportLicense +TotalTaxFeeAmount:Amount.Type++AAddjjuussttmmeennttARmeaosuonnt::AComdoeu.nTt.ypTey[p0e..[10]..1] 0..1 + T otal Invoice Am ount: Amount. T ype [1..*] + Adjustment Note: T ext. T ype [0..1] Export License + T ransport Charge Amount: Am ount. T ype [0..1] + T otal Invoice Additional Allowance Am ount: Amount. T ype [0..1] ice Period 0..1 + Insurance Charge Amount: Am ount. T ype [0..1] 0..1 +Invo Goods Decl aration + Invoice Note: T ext. T ype [0..*] 0 Period. Details . +EUR1 Document + Start Date: Date T im e. T ype [0..1] 0..1 + End Date: Date T ime. T ype [0..1] +Delivery T erms Location 0..1 Deliv ery Terms +Invoice Currenc 0..1+AlternativePaymentyCEurxrcehnacnygEexchange Transport Means. Details Location. Details + Delivery T erms Code: Code. T ype [0..1] + Delivery T erms: T ext. T ype [0..1] + T ransport Means T ype Code: Code. T ype [0..1] + Location Identification : Identifi er. T ype [0..1] +PaymentCu0r.re1ncyExchange+Payee0..1 + T ransport Means T ype T ext: T ext. T ype [0..1] + Location Description: T ext. T ype [0..1] 0..1 . 0..1 Financial + T ransport Means Identification: Identifier. T ype [0..1] 0. * . Account Currency Exchange. Details +Payabl e Financial Account. Details P y uctions Account 0..* + IBAN Number: Identi fier. T ype [0..1] a ment Instr + Source Currency: Code. T ype + Payment Condition Code: Code. T ype [0..1] + Unit Base Source Currency: Numeric. T ype [0..1] + Account Holder Number: Identifier. T ype [0..1] + + Payment Guarantee Code: Code. T ype [0..1] T arget Currency: Code. T ype +Receivable + Account. Holder Nam e: T ext. T ype [0..1] + Payment Means Code: Code. T ype [0..1] + Unit Base T arget Currency: Numeric. T ype [0..1] + Institution Branch Name: T ext. T ype [0..1] + Exchange. Rate: Numeric. T ype 0..1Account + Institution Name: T ext. T ype [0..1] 0..1 + Exchange Date T ime: Date T ime. T ype [0..1] +T ax Fee + Bank Identifii cation Swift: Identifier. T ype [0..1] Currency + Alternative Bank Identification: Identifier. T ype [0..1] Payment Terms +Allowance Charge Currency Exchange 0 .1 Exchange . +Invoice IssuerT ax Account + Payment T erms Identification: Code. T ype [0..1] +Invoicee T ax Account 0.. 0..* 0..* 0..* 0..* Payment T erms T i me Reference: Date T i me. T ype [0..1] * + + Payment T erms Number Of Period: Measure. T ype [0..1] Allow ance Charge. Details + Charge Indicator: Indicator. T ype [0..1] Inv oice Header::Tax Fee Totals Accounting Line Account. Details + Allowance Charge Identification: Code. T ype e 0..1 + Calculation Sequence Number: Num eric. T ype [0..1] + T ax Fee Qualifier: Code. T yp + Account Identification: Identifier. T ype + T ax Fee Category: Code. T ype [0..1] + Account Set T rigger Code: Code. T ype [0..1] Payment + Allowance Charge Percent: Numeric. T ype [0..1] + Allowance Charge Amount: Amount. T ype [0..1] + T ax Fee T ype: Code. T ype [0..1] + Account T ype Code: Code. T ype [0..1] + Payment Amount: Am + Allowance Charge Base Quantity: Quantity. T ype [0..1] * ++TTaaxxaFbleeeARmatoeu:ntN:umeric.Type[0..10]..1 ++PPaayymmeennttDDiusceoDunatteP:erDcaoetneutn:Tti.NmTueym.peeTriycp.eType[0..1]+PrepaidChargeLevyIndicator:Indicator.Type[0..1] 0.. +TaxAmount:AmouAnmt.oTuynpt.eT[y0.p.e1][]++AAccccoouunnttCAhmarotuTntypideeCntoifdiec:atiCoond:e.CoTdype.eT[0y.p.1e]
ebXML : de quoi sagit-il ? cd Inv oice Line Document Reference De +Customer Order Inv oice Line +Consignee . etails . Part ++RReeffeerreenncceeDNautem:beDr:atIedTeinmtifiee.r.TTyyppee[0..1] tails 0..1 +Suppli er Order ++ITnvaroiiffceCLoidneeNNuummbbeer:r:IIddeenntitififieer.r.TTyyppee[0..1] +Consi gnor 0..1 y D 0..1 +Consignee Order ++CRoepfeyrIenndciecaSttaotr:usI:ndCiocdateo.r.TTypyepe[0[.0..1.1]]++LOortigNiunCmobuenrt:ryIdCeondtiefi:eIr.deTnytpifeie[r0...T1y]pe[0..1] +End User 0..1 + Delivery Date: Date T ime. T ype [0..1] ++RReeffeerreenncceeUGRlIo:bIadleUnntiifqieure.ITdyepneti[f0..1I]dentifier.Type[0..1] 0..1 +Despatch Advice + Despatch Date: Date T i me. T ype [0..1] 0..1 er: + Expi ry Date: Date Ti me. T ype [0..1] + Reference Item Number: Identifier. T ype [0..1] 0..1 +Packi ng List + Invoice Quantity: Quantity. T ype [0..1] + Reference Item Status: Code. T ype [0..1] + Despatch Quantity: Quanti ty. Type [0..*] 0..1 + Gross Weight: Measure. T ype [0..1] Net Wei ght: Measure. T ype [0..1] + + T heoretical Wei ght: Measure. T ype [0..1] + Number Of Pieces: Numeri c. T ype [0..1] + Number Of Packages: Numeri c. T ype [0..1] + Invoice Line Amount: Am ount. T ype [0..1] + Invoice Line Addi ti onal Charge Amount: Amount. T ype [0..1] + Invoice Line Addi ti onal All owance Amount: Amount. T ype [0..1] + InvoiceLine T axable Am ount: Am ount. T ype [0..1] Transport Means. Details 0..1 + T ax Fee Am ount: Am ount. T ype [0..1] + T ransport Means T ype Code: Code. T ype [0..1] + Invoice Line T otal Amount: Amount. T ype [0..1] + T ransport Means T ype Text: Text. T ype [0..1] + T ransport Mode: Code. T ype + T ransport Means Identi ficati on: Identifi er. T ype [0..1] + Marks And Num bers: T ext. T ype [0..1] + Invoice Line Note: T ext. T ype [0..*] 0..1 0..1 Article Details Period. Details 0 .1 +Vali di ty Peri od Price. Details ++SCuupstpolimererArAtirtcilceleNNuummbebre:r:IdIedentniftiifeire.r.TTyyppee[[00....11]] + Start Date: Date T i me. Type [0..1] . + Net Price Indi cator: Indicator. T ype [0..1] + Manufacturer Article Number: Identifier. T ype [0..1] + End Date: Date T im e. T ype [0..1] + Price T ype Code: Code. + Arti cl e Descri ption: T ext. T ype [0..1] T ype [0..1] + Price Amount: Amount. T ype + Price Base Quantity: Quanti ty. T ype [0..1] Inv oice Line::Additional Article Details e Allowance Charge 0.. +Assets or +Pri c * Expenses Item Details Allow ance Charge. Details Account0..* + Suppli er Item Identifi cation: Identifier. T ype [0..1] + ChargeIndi cator: Indicator. T ype [0..1] + Manufacturer Item Identi fi cati on: Identifier. T ype [0..1] +Al lowance Charge Currency Exchange + Allowance Charge Identifi cation: Code. T ype +Sal es + Cal cul ation Sequence Number: Numeric. T ype [0..1] + Allowance Charge Percent: Numeri c. T ype [0..1] Account Inv oice Line::Additional Item Details + Allowance Charge Amount: Am ount. T ype [0..1] + Allowance Charge Base Quantity: Quantity. T ype [0..1] 0..1 + Prepai d Charge Levy Indicator: Indicator. T ype [0..1] 0..* 0..* Tax Fee 0..* + Calculati on Sequence Number: Numeric. T ype + T ax Fee Category: Code. Type [0..1] Currency Exchange. Details Accounting Line Account. Details + T ax Fee Currency: Code. T ype [0..1] + Source Currency: Code. T ype + T ax Fee Qual ifier: Code. T ype + T ax Fee T ype: Code. T ype ++UTnairtgBetasCeurSroenurccye:CCuordreen.cTy:ypeNumeric.Type[0..1]+++AAAccccccooouuunnntttITSdyeeptnteTifriCicogadgtieeo:rnCC:ooIdddeee:.nTtCifyoipedere..[T0T.yy.p1p]ee[0..1]+TaxFeeRate:Numeric.Type[0..1] + Uni t Base T arget Currency: Numeric. T ype [0..1] + Account Chart T ype Code: Code. T ype [0..1] + T ax Fee Exempti on Reason: T ext. T ype [0..1] +Exchange.Rate:NumericType+AccountAmountidentification:Code.Type+TaxFeeExemptiioonn:RTeeasxtonTCypoede[:0..C1o]de.Type[0..1] +ExchangeDateTime:Da.teTime.Type[0..1]++TTaaxxaFbleeeaJumriosudnitc:tAmount..Type[0..1] + T axabl e Amount All owance Rate: Numeric. T ype [0..1] + T ax Fee Rate All owance Rate: Numeric. T ype [0..1] + T ax Amount: Amount. T ype [0..1]
AVISDE LIVRAISON FOURNISSEURFOURNISSEUR FACTURE DE SERVICES
ECRITURE COMPTABLE COMPTABILITE COMPTABILITE FOURNISSEUR CLIENT on enregistre la facture en comptabilité lorsque le bon de livraison n'a pas déjà été comptabilisé.
5
Chaîne des Approvisionnements Bank Bank customer Customer Supplier supplier Order 1 Order acknowledged 2 Order delivery 3 Invoice delivery 4 Payment order 5 Remittance Advice 5
6 Bank to Bank transfer 7 Debit advice Credit advice 7
TBG1 Supply Chain sequence diagram before TBG12 Accounting Token
6
Chaîne des Approvisionnements Bank Accounting Accounting Bank customer customer Customer Supplier supplier supplier Order 1 2 Purchase Order acknowledged 2 Sales 2 commitment commitment 3 Invoice to Order delivery 3 Invoice to 3 receive deliver 4 Account Invoice delivery 4 Account 4 Payable Receivable Payment 5 Remittance Advice Payment 5 order in progress Payment 5 6 in progress Bank to Bank transfer 6 7 Debit advice Credit advice 7 nk 8 exBpaennksereBcaeipts 8 Supply Chain sequence diagram after TBG12 Accounting Token
6
Facture électronique ebXML, un élément comptable !
La facture est un des éléments de base de la comptabilité. Si on adjoint des renseignements comptables à la facture électronique : on facilite la tenue de la comptabilité en temps réel, on supprime les ressaisies, on économise du temps, on diminue les possibilités de fraude.
La solution, cest le jeton comptable (accounting token)
Chaîne des Approvisionnements Le chaînon manquant
ebXML facture
correspondance
correspondance
Lien ? = jeton comptable
ebXML accounting entry
7
e-Business ÍÎ Compta
Un travail de correspondance a été réalisé entre éléments de données pour chaque événement de la chaîne de traitement Exemple facturation : entête de facture Î compte individuel tiers ligne de facture Î compte achat / vente Î analytique, budget, etc pour que l'application commerciale soit "complète", vérifiable et que la traçabilité soit assurée. Ceci est vrai pour toutes les autres chaînes de traitement informatique.
e-Business ÍÎ Compta Id. Nom de l'information Commentaires/Définition Nom de l'information Commentaires / Définition Compte de tiers et récapitulation des taxes identification et spécification 1catégoriedepiècecomptablecdarauctméerinsttidqeusetisndé'uànêtorbejeutnoeupdi'èucne"Par défaut XML MSG3 oc comptable. identification de la référence de la 17référenciequdeelaressourcerlaesqsuoelulrecseeintrfoorumveatliaqupieè(cUeRcI)odmapntasble ReferenceURITrehfeerUennifcoerdmdRoecsuomuercnte.Identifieroftheinformat dématérialisée ou immatérielle. férence interne de la pièce 2créomptableidddeéelpnataifriptcieèamtcieeonnctodomeulpuatanrbéslfeeérrdveiocnnecn.eéientpearrneuntIrnafiotremmaetniotninfdoornmnaéteiqpuaerlelA'aocurthgoeatmneaiutsisaqteiuoen.Ddéepl'eenntdraenptridseeidentification du numéro figurant sur référence d'origine de la pièce la pièce comptable. En règle 3comptablefgoéunrénriaslsee,unr, ° laattrbiabnuqéupeaoruleleInvoiceNumberiTshseueurnitqouiedennutimfybuerniansvsiogicnee.dbythepartenaire extérieur à l'entité. identification de la date figurant sur 4 date de la pièce comptable la pièce comptable attribuée par le ce Issue Date is fournisseur, la banque ou le InvoiiTshsueeDd.ate/Timewhentheinvoice partenaire extérieur à l'entité. tomatique. Dépendant de date d'entrée ou de réce identification de la date à laquelle la Infl'Aourganisationdel'entreprise 5dansl'entitéptioneérténéceeasptcttidéoeenstpdianeraltl'aaeiprnietiè.tcéeocuolemsptearvbilceeaquitraiotremmaetniotninfdoornmnaéteiqpuaerleacheteuse 8lcoocamlipstaatbiloendelapièceipdieèncteificcoatmiopntadbeleladlaoncsaulinsasteiorvnicdee,laItnrfaoitremmaetinotnindfoornmnaéteiqpuaerlelaA'ocurhtgoeatmenaiutssiaqet/iuvoeen.nDddéeeplu'eesnnetdreanptridseeune archive, etc. Automatique. Dépendant de Information donnée par le l'organisation de l'entreprise 9ccoommpmtaebnlteaireapportéàlapiècepcioèmcemceontmaiprteaebxlep.liciterelatifàlatcroaimteprmeenndtrienflo'irnmfoartimqautieo.nPeutaScihInevteoiucseen/voeten,dtehuesfer.eetextInvoice Note. information related to the complete invoice. identification du service à l'origine de service à l'ori ine de la ièce la éce tion de la ièce com table : InformationdonnéearleA'utomatique.Dép'endantde