GetFacturXInvoiceInfo
Documenteigenschappen
Beschrijving
Reads e-invoice fields recognized by DetectFacturXInvoice
Syntaxis
Delphi
Function TPDFlib.GetFacturXInvoiceInfo(Tag: Integer): WideString;
Syntaxis
| Tag | Het te lezen veldnummer: 1 voor de werkelijke XML-bestandsnaam, 2 voor XMP DocumentFileName, 3 voor DocumentType, 4 voor Version, 5 voor ConformanceLevel, 6 voor de XML-richtlijn-ID en 7 voor /AFRelationship |
|---|
Retourwaarden
Het gevraagde tekstveld, of een lege string wanneer er geen e-factuur is aangetroffen of het veldnummer onbekend is
Voorbeeld
// Read the detected invoice profile
begin
if PDF.DetectFacturXInvoice = 1 then
begin
FileName := PDF.GetFacturXInvoiceInfo(1);
Profile := PDF.GetFacturXInvoiceInfo(5);
end;
end;
Zie ook
DetectFacturXInvoice, ValidateFacturXInvoice, ExtractFacturXXMLToString