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
| ivstNotChecked | The stage was not requested or was skipped |
|---|---|
| ivstPassed | The stage executed and found no error or fatal issue |
| ivstFailed | The stage executed and found at least one error or fatal issue |
| ivstError | The stage could not complete because of an input, engine or provider error |
| ivstUnavailable | No 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