THPDFFacturXInvoiceInfo Record

Beskriver den Factur-X- eller ZUGFeRD-faktura som är inbäddad i ett inläst dokument: bilagefilnamn, XMP-metadatavärden, profilidentifierare, MIME-typ samt kompletterande UBL- och EDIFACT-representationsfilnamn

Deklaration

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;

Enhet

HPDFDoc

Fält

FältSyfte
FileNameNamnet på den fakturabilaga som faktiskt hittades: XMP DocumentFileName när den kan lösas upp, annars ett av factur-x.xml, xrechnung.xml, zugferd-invoice.xml, ZUGFeRD-invoice.xml
XMPDocumentFileNamefx:DocumentFileName-texten läst från dokumentets XMP-metadata
XMPNamespaceURINamespace-URI:n för DocumentFileName-elementet i XMP-metadatan
DocumentTypeXMP DocumentType-värdet; fakturadokument bär INVOICE
VersionXMP Version-värdet för Factur-X-profilen
ConformanceLevelXMP ConformanceLevel-värdet för Factur-X-profilen
GuidelineIDRiktlinjeidentifierare (URN) läst från den inbäddade CII-XML:ns ExchangedDocumentContext
AFRelationship/AFRelationship-posten i fakturans fils specification, till exempel Data eller Alternative
AttachmentMimeTypeMIME-typen för den inbäddade fakturafilen
UBLFileNameFasta namnet factur-xubl.xml när en kompletterande UBL-representation är inbäddad; annars tomt
EDIFACTFileNameFasta namnet factur-xedifact.edi när en kompletterande EDIFACT-representation är inbäddad; annars tomt

Användningsanteckningar

Relaterade API:er