public sealed class ElectronicInvoice| Description | The description shown next to the file name in the Attachments panel of PDF viewers. The default names the standard and the type of the document, followed by its number, for example "Factur-X/ZUGFeRD credit note GS-2026-0007" or "Order-X order PO-2026-0101" |
| DocumentType | The type of the document, read from its document type code: an invoice, a credit note, a corrected invoice, an order and the other types of ElectronicDocumentType |
| DocumentTypeCode | The document type code of the document (UNTDID 1001), for example 380 for a commercial invoice, 381 for a credit note or 220 for an order, or an empty string when the XML does not contain one |
| FileName | The name of the embedded XML file prescribed by the standard: factur-x.xml, xrechnung.xml for the XRECHNUNG profile, or order-x.xml for an Order-X document |
| InvoiceNumber | The invoice number, or the order number for an Order-X document (the ID of the exchanged document), or an empty string when the XML does not contain one |
| IsOrder | True for an Order-X order, order change or order response, false for a Factur-X / ZUGFeRD invoice |
| Profile | The profile of the document, read from the guideline identifier in the XML |
| Relationship | The relationship between the embedded XML and the visible document, written as AFRelationship. The default is Alternative: the XML and the page carry the same document. Source and Data can also be used. For the MINIMUM and BASIC WL profiles the XML does not carry the complete invoice and the relationship written is always Data, as the standard requires |
| Equals | (Inherited from Object) |
| FromFile | Creates an electronic invoice or order from an XML file |
| FromXml(Byte) | Creates an electronic invoice or order from the XML data |
| FromXml(String) | Creates an electronic invoice or order from the XML text. The XML is embedded encoded as UTF-8 |
| GetHashCode | (Inherited from Object) |
| GetType | (Inherited from Object) |
| ToString | (Inherited from Object) |