Skip to content

Documentation / @einvoice-ts/validator / VatSchemeMatch

Type Alias: VatSchemeMatch ​

VatSchemeMatch = "any" | "vatExact" | "vatNorm"

Defined in: packages/validator/src/engine/view.ts:69

How to match a tax category's scheme when indexing by VAT category: any scheme, exactly VAT (cbc:ID = 'VAT') or VAT after normalize-space(upper-case()).

Example ​

ts
import type { VatSchemeMatch } from '@einvoice-ts/validator';

const match: VatSchemeMatch = 'vatNorm';

MIT licensed. Specification material belongs to OpenPeppol, CEN and OASIS (see NOTICE). Peppol is a trademark of OpenPeppol AISBL; this project is not affiliated with it.