THPDFEInvoiceValidationReport Record

로드된 전자 인보이스 하나에 대해 Factur-X 컨테이너 판정과 Schematron 비즈니스 규칙 결과를 묶어 보여줍니다

선언

THPDFEInvoiceValidationReport= record
  ContainerReport: THPDFFacturXValidationReport;
  ContainerValid: Boolean;
  BusinessRules: THPDFBusinessRuleResults;
  BusinessSummary: THPDFSchematronSummary;
  BusinessRuleViolations: Integer;   // asserts failed + reports fired
  BusinessRulesEvaluated: Boolean;   // False when engine unavailable
  RuleSets: THPDFEInvoiceRuleSetReports;
  ProfileSupported: Boolean;
  CountryRulesRequired: Boolean;
  CountryRulesEvaluated: Boolean;
  ValidationComplete: Boolean;
  ValidationNote: AnsiString;
end;

유닛

HPDFEInvoiceValidator

필드

필드목적
ContainerReportTHPDFFacturXValidationReport 타입의 전체 컨테이너 구조 보고서
ContainerValid내장된 인보이스 컨테이너에 대해 THotPDF.ValidateFacturXInvoice가 반환한 판정
BusinessRulesSchematron 엔진이 만든 THPDFBusinessRuleResults 타입의 규칙 결과
BusinessSummary엔진 실행을 기술하는 THPDFSchematronSummary
BusinessRuleViolations실패한 assert와 발생한 report의 합계
BusinessRulesEvaluated엔진을 쓸 수 없거나 인보이스 XML을 추출하지 못했을 때 False
RuleSets선택된 각 리소스의 버전, business 또는 country scope, 엔진 요약, 완료 상태
ProfileSupported선택된 registry에 감지된 프로파일용 business-rule 레이어가 들어 있을 때 True
CountryRulesRequiredXRECHNUNG, EXTENDED-CTC-FR, EXTENDED-B2B-FR과 country-rule 레이어로 명시적으로 등록된 프로파일에서 True
CountryRulesEvaluated등록된 country-rule 레이어가 건너뛴 검사나 평가 오류 없이 끝났을 때만 True
ValidationCompletebusiness-rule 위반 발생 여부와 무관하게 필요한 규칙 레이어를 모두 평가했을 때 True
ValidationNote누락된 country 규칙을 포함해 커버리지나 미완료 검증 사유를 명시적으로 설명

사용 참고 사항

관련 API