GetFacturXInvoiceInfo
Propriedades do documento
Descrição
Reads e-invoice fields recognized by DetectFacturXInvoice
Sintaxe
Delphi
Function TPDFlib.GetFacturXInvoiceInfo(Tag: Integer): WideString;
Parâmetros
| Tag | O número do campo a ler: 1 para o nome real do arquivo XML, 2 para DocumentFileName do XMP, 3 para DocumentType, 4 para Version, 5 para ConformanceLevel, 6 para o ID do guideline XML, e 7 para /AFRelationship |
|---|
Valores retornados
O campo de texto solicitado, ou uma string vazia quando nenhum e-invoice foi detectado ou o número do campo é desconhecido
Exemplo
// Read the detected invoice profile
begin
if PDF.DetectFacturXInvoice = 1 then
begin
FileName := PDF.GetFacturXInvoiceInfo(1);
Profile := PDF.GetFacturXInvoiceInfo(5);
end;
end;
Veja também
DetectFacturXInvoice, ValidateFacturXInvoice, ExtractFacturXXMLToString