GetFacturXInvoiceInfo

Vlastnosti dokumentu

Popis

Reads e-invoice fields recognized by DetectFacturXInvoice

Syntaxe

Delphi

Function TPDFlib.GetFacturXInvoiceInfo(Tag: Integer): WideString;

Parametry

TagČíslo pole ke čtení: 1 pro skutečný název XML souboru, 2 pro XMP DocumentFileName, 3 pro DocumentType, 4 pro Version, 5 pro ConformanceLevel, 6 pro ID XML guideline a 7 pro /AFRelationship

Návratové hodnoty

Požadované textové pole, nebo prázdný řetězec, když se nezjistila žádná e-faktura nebo je číslo pole neznámé

Příklad

// Read the detected invoice profile
begin
  if PDF.DetectFacturXInvoice = 1 then
  begin
    FileName := PDF.GetFacturXInvoiceInfo(1);
    Profile := PDF.GetFacturXInvoiceInfo(5);
  end;
end;

Viz také

DetectFacturXInvoice, ValidateFacturXInvoice, ExtractFacturXXMLToString