TPDFInvoiceValidationStatus

Data types, invoices, compliance

Description

TPDFInvoiceValidationStatus is the status field of TPDFInvoiceStageResult. It separates a stage that ran and found violations from one that could not run at all.

A stage that was not requested stays ivstNotChecked and does not contribute to the validity of the report.

Syntax

Delphi

TPDFInvoiceValidationStatus = (ivstNotChecked, ivstPassed, ivstFailed,
  ivstError, ivstUnavailable);

Values

ivstNotCheckedThe stage was not requested or was skipped
ivstPassedThe stage executed and found no error or fatal issue
ivstFailedThe stage executed and found at least one error or fatal issue
ivstErrorThe stage could not complete because of an input, engine or provider error
ivstUnavailableNo engine is available for the requested rule package or stage

Remarks

A provider that reports ivstPassed or ivstFailed must also set Complete; otherwise the validator downgrades the stage to ivstError.

An issue with ivseError or ivseFatal severity downgrades a passed stage to ivstFailed.

See also

TPDFInvoiceStageResult, TPDFInvoiceValidationReport, IPDFInvoiceValidationProvider