Έγγραφα

Τα ηλεκτρονικά έγγραφα περιέχουν την δομή της επιχειρηματικής πληροφορία. Κάθε έγγραφο συνήθως αποτελείται από δύο διακριτά μέρη: (1) την επικεφαλίδα, η οποία περιέχει στοιχεία για το σύστημα και την διεργασία και (2) τα επιχειρηματικά δεδομένα.

Στα σύγχρονα πρότυπα τα πρότυπα χρησιμοποιούν XML για την αναπαράσταση των δεδομένων, ενώ η πιστοποίηση και η περιγραφή της δομής γίνεται με την χρήση DTD ή X-Schema.

Παράδειγμα εγγράφου xCBL (Τιμολόγιο)

                <Invoice>
                        <InvoiceHeader>
                                <InvoiceNumber>Invoice/InvoiceHeader/InvoiceNumber</InvoiceNumber>
                                <InvoiceIssueDate>2003-01-01T00:00:01</InvoiceIssueDate>
                                <InvoicePurpose>
                                        <InvoicePurposeCoded>Original</InvoicePurposeCoded>
                                </InvoicePurpose>
                                <InvoiceType>
                                        <InvoiceTypeCoded>MeteredServicesInvoice</InvoiceTypeCoded>
                                </InvoiceType>
                        </InvoiceHeader>
                        <InvoiceDetail>
                                <ListOfInvoiceItemDetail>
                                        <InvoiceItemDetail>
                                                <InvoiceBaseItemDetail>
                                                        <LineItemNum>
                                                                <core:BuyerLineItemNum>1001</core:BuyerLineItemNum>
                                                        </LineItemNum>
                                                        <InvoicedQuantity>
                                                                <core:QuantityValue>1002</core:QuantityValue>
                                                                <core:UnitOfMeasurement>
                                                                        <core:UOMCoded>1</core:UOMCoded>
                                                                </core:UnitOfMeasurement>
                                                        </InvoicedQuantity>
                                                </InvoiceBaseItemDetail>
                                                <InvoicePricingDetail>
                                                        <core:ListOfPrice>
                                                                <core:Price>
                                                                        <core:UnitPrice>
                                                                                <core:UnitPriceValue>1003</core:UnitPriceValue>
                                                                        </core:UnitPrice>
                                                                </core:Price>
                                                        </core:ListOfPrice>
                                                </InvoicePricingDetail>
                                        </InvoiceItemDetail>
                                </ListOfInvoiceItemDetail>
                        </InvoiceDetail>
                </Invoice>