Module: Ksef::FA3::CorrectionChecks
- Includes:
- FieldChecks, SubjectChecks
- Included in:
- ModelValidator
- Defined in:
- lib/ksef/fa3/correction_checks.rb
Overview
Tier 1a's checks on Correction and CorrectedInvoice (docs/REFERENCE.md §8.4).
Split out of ModelValidator for length, and because a correction is a self-contained
subject: it has its own value objects, its own optionality — TypKorekty is
minOccurs="0", so nil is a value and not an omission — and the one cross-field rule
tier 1 carries.
Mixed into ModelValidator, and brings SubjectChecks with it: Podmiot1K and
Podmiot2K are parties like any other.
Constant Summary
Constants included from FieldChecks
FieldChecks::BUYER_ID_TEXT, FieldChecks::COLLAPSE, FieldChecks::FORBIDDEN_IN_XML, FieldChecks::LONG_TEXT, FieldChecks::SHORT_TEXT