THPDFFacturXInvoiceInfo Record

Descreve a fatura Factur-X ou ZUGFeRD embutida em um documento carregado: nome do arquivo anexo, valores de metadados XMP, identificadores de perfil, tipo MIME e nomes de arquivo das representações suplementares UBL e EDIFACT

Declaração

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;

Unidade

HPDFDoc

Campos

CampoFinalidade
FileNameNome do anexo da fatura embutida realmente encontrado: o DocumentFileName do XMP quando resolvível, caso contrário um entre factur-x.xml, xrechnung.xml, zugferd-invoice.xml e ZUGFeRD-invoice.xml
XMPDocumentFileNameTexto fx:DocumentFileName lido dos metadados XMP do documento
XMPNamespaceURIURI de namespace do elemento DocumentFileName nos metadados XMP
DocumentTypeValor XMP DocumentType; documentos de fatura carregam INVOICE
VersionValor XMP Version do perfil Factur-X
ConformanceLevelValor XMP ConformanceLevel do perfil Factur-X
GuidelineIDIdentificador de guideline (URN) lido do ExchangedDocumentContext do XML CII embutido
AFRelationshipEntrada /AFRelationship da especificação de arquivo da fatura, como Data ou Alternative
AttachmentMimeTypeTipo MIME do arquivo da fatura embutida
UBLFileNameNome fixo factur-xubl.xml quando uma representação UBL suplementar está embutida; vazio caso contrário
EDIFACTFileNameNome fixo factur-xedifact.edi quando uma representação EDIFACT suplementar está embutida; vazio caso contrário

Notas de uso

APIs relacionadas