nav-osa-types
v2.0.1
Published
TypeScript type definitions for Hungarian NAV Online Invoice System (OSA) version 3.0
Maintainers
Readme
nav-osa-types
TypeScript type definitions for the Hungarian NAV Online Invoice System (OSA) version 3.0.
Contents
TypeScript interfaces generated from the official NAV XSD schemas:
commonTypes— NTCA Common types (CurrencyType, TaxpayerIdType, VatCodeType, etc.)invoiceBaseTypes— Base invoice types (AddressType, TaxNumberType, etc.)dataTypes— Invoice data types (Invoice, Line, Summary, etc.)invoiceApiTypes— API request/response types (SoftwareType, ManageInvoiceResponse, etc.)
Installation
npm install nav-osa-typesUsage
import { InvoiceData, Line, Summary } from 'nav-osa-types';
const invoice: InvoiceData = { ... };All types are re-exported from the package root. Refer to the source .d.ts files for the complete type catalogue.
License
Apache-2.0
