THPDFFacturXInvoiceInfo Record
Beschrijft de Factur-X- of ZUGFeRD-factuur die in een geladen document is ingesloten: bijlagebestandsnaam, XMP-metadatawaarden, profielidentificaties, MIME-type en aanvullende UBL- en EDIFACT-representatiebestandsnamen
Declaratie
THPDFFacturXInvoiceInfo= record
FileName: AnsiString;
XMPDocumentFileName: AnsiString;
XMPNamespaceURI: AnsiString;
DocumentType: AnsiString;
Version: AnsiString;
ConformanceLevel: AnsiString;
GuidelineID: AnsiString;
AFRelationship: AnsiString;
AttachmentMimeType: AnsiString;
// Supplementary UBL representation file name ('factur-xubl.xml') when the
// document embeds a UBL view alongside the primary CII invoice per
// Factur-X 1.09 spec 6.4; empty when no UBL attachment is present. UBL is
// a supplementary representation, never the primary invoice XML
UBLFileName: AnsiString;
// Supplementary EDIFACT representation file name ('factur-xedifact.edi')
// when the document embeds an EDIFACT view alongside the primary CII
// invoice per Factur-X 1.09 spec 6.4; empty when no EDIFACT attachment is
// present. Like UBL it is a supplementary representation, never the
// primary invoice XML
EDIFACTFileName: AnsiString;
end;
Eenheid
HPDFDoc
Velden
| Veld | Doel |
|---|---|
FileName | Naam van de daadwerkelijk gevonden ingesloten factuurbijlage: de XMP-DocumentFileName wanneer die oplosbaar is, anders een van factur-x.xml, xrechnung.xml, zugferd-invoice.xml, ZUGFeRD-invoice.xml |
XMPDocumentFileName | fx:DocumentFileName-tekst, gelezen uit de XMP-metadata van het document |
XMPNamespaceURI | Namespace-URI van het DocumentFileName-element in de XMP-metadata |
DocumentType | XMP-DocumentType-waarde; factuurdocumenten dragen INVOICE |
Version | XMP-Version-waarde van het Factur-X-profiel |
ConformanceLevel | XMP-ConformanceLevel-waarde van het Factur-X-profiel |
GuidelineID | Richtlijnidentificatie (URN), gelezen uit de ExchangedDocumentContext van de ingesloten CII-XML |
AFRelationship | /AFRelationship-entry van de factuurbestandsspecificatie, zoals Data of Alternative |
AttachmentMimeType | MIME-type van het ingesloten factuurbestand |
UBLFileName | Vaste naam factur-xubl.xml wanneer een aanvullende UBL-representatie is ingesloten; anders leeg |
EDIFACTFileName | Vaste naam factur-xedifact.edi wanneer een aanvullende EDIFACT-representatie is ingesloten; anders leeg |
Gebruiksopmerkingen
- Gevuld door
THotPDF.DetectFacturXInvoice; lege velden betekenen dat het bijbehorende element ontbrak, en eenfalse-resultaat laat partiƫle metadata achter voor diagnose - Lees
UBLFileNameenEDIFACTFileNamealleen voor rapportage: ze noemen aanvullende representaties, nooit de primaire factuur-XML - Hergebruik het record met
THotPDF.ExtractFacturXXMLof geef het door aanTHotPDF.ValidateFacturXInvoice, dat zijn eigen rapport vult en dit record inInfoinsluit