THPDFEInvoiceValidationReport Record

Menggabungkan verdict container Factur-X dengan hasil business-rule Schematron untuk satu faktur elektronik yang dimuat

Deklarasi

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;

Unit

HPDFEInvoiceValidator

Kolom

FieldTujuan
ContainerReportLaporan struktur container lengkap bertipe THPDFFacturXValidationReport
ContainerValidVerdict yang dikembalikan THotPDF.ValidateFacturXInvoice untuk container faktur tersemat
BusinessRulesHasil rule bertipe THPDFBusinessRuleResults yang dihasilkan engine Schematron
BusinessSummaryTHPDFSchematronSummary yang menjelaskan jalannya engine
BusinessRuleViolationsHitungan assert yang gagal ditambah report yang terpicu
BusinessRulesEvaluatedFalse ketika engine tidak tersedia atau XML faktur tidak bisa diekstrak
RuleSetsVersi, scope business atau country, ringkasan engine, dan status penyelesaian milik setiap resource yang dipilih
ProfileSupportedTrue ketika registry yang dipilih memuat lapisan business-rule untuk profil yang terdeteksi
CountryRulesRequiredTrue untuk XRECHNUNG, EXTENDED-CTC-FR, EXTENDED-B2B-FR, dan profil apa pun yang secara eksplisit terdaftar dengan lapisan country-rule
CountryRulesEvaluatedTrue hanya ketika lapisan country-rule yang terdaftar selesai tanpa pemeriksaan yang dilewati maupun error evaluasi
ValidationCompleteSemua lapisan rule yang diwajibkan sudah terevaluasi, terlepas dari apakah menghasilkan pelanggaran business-rule atau tidak
ValidationNotePenjelasan eksplisit soal coverage atau validasi yang belum lengkap, termasuk country rules yang hilang

Catatan penggunaan

API terkait