Skip to content

DetalleDesglose

DetalleDesglose = DetalleDesgloseCommon & object | DetalleDesgloseCommon & object

Defined in: src/types.ts:104

Exclusive choice, mirroring Encadenamiento above: exactly one of CalificacionOperacion / OperacionExenta, never both, never neither — an XSD xsd:choice in DetalleType. Each branch pins the other field to never rather than just omitting it: a plain two-branch union (each branch naming only its own field) would still let a literal carrying BOTH fields through, because a property name known to one union member is not “excess” when checking a fresh object literal against the other member. The never guard closes that hole so both-present is a type error too.