THPDFFacturXInvoiceInfo Record

Opisuje fakturę Factur-X albo ZUGFeRD osadzoną w załadowanym dokumencie: nazwę pliku załącznika, wartości metadanych XMP, identyfikatory profilu, typ MIME oraz nazwy plików uzupełniających reprezentacji UBL i EDIFACT

Deklaracja

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;

Jednostka

HPDFDoc

Pola

PolePrzeznaczenie
FileNameNazwa faktycznie znalezionego załącznika osadzonej faktury: XMP-owe DocumentFileName, gdy da się go rozwiązać, w przeciwnym razie jedna z factur-x.xml, xrechnung.xml, zugferd-invoice.xml, ZUGFeRD-invoice.xml
XMPDocumentFileNameTekst fx:DocumentFileName odczytany z metadanych XMP dokumentu
XMPNamespaceURIURI przestrzeni nazw elementu DocumentFileName w metadanych XMP
DocumentTypeWartość XMP DocumentType; dokumenty faktur niosą INVOICE
VersionWartość XMP Version profilu Factur-X
ConformanceLevelWartość XMP ConformanceLevel profilu Factur-X
GuidelineIDIdentyfikator wytycznych (URN) odczytany z osadzonego XML-a CII ExchangedDocumentContext
AFRelationshipWpis /AFRelationship specyfikacji pliku faktury, na przykład Data albo Alternative
AttachmentMimeTypeTyp MIME osadzonego pliku faktury
UBLFileNameStała nazwa factur-xubl.xml, gdy osadzona jest uzupełniająca reprezentacja UBL; puste w przeciwnym razie
EDIFACTFileNameStała nazwa factur-xedifact.edi, gdy osadzona jest uzupełniająca reprezentacja EDIFACT; puste w przeciwnym razie

Uwagi dotyczące użycia

Powiązane API