open-nav
    Preparing search index...

    Interface DataExportSelection

    The data export an invoicing program must be able to produce.

    Decree 23/2014. (VI. 30.) NGM requires every invoicing program to have a built-in "adóhatósági ellenőrzési adatszolgáltatás" function that exports the invoices issued in a given date range, or in a given invoice number range, as XML.

    Two structures are permitted. Annexes 2 and 3 of the decree define one (szamla.xsd); section 13/A(1) permits the other — the structure published for the online invoice data service, which is invoiceData.xsd. This implementation produces the second, because it is the same schema this project already generates, validates and round-trips against NAV's own sample documents.

    That choice belongs to the taxpayer, not to this library. If your auditor asks for the Annex 3 structure specifically, this export is not it.

    interface DataExportSelection {
        invoiceNumberFrom?: string;
        invoiceNumberTo?: string;
        issueDateFrom?: string;
        issueDateTo?: string;
    }

    Hierarchy (View Summary)

    Index
    invoiceNumberFrom?: string

    First invoice number to include, inclusive.

    invoiceNumberTo?: string

    Last invoice number to include, inclusive.

    issueDateFrom?: string

    First issue date to include, inclusive, as yyyy-mm-dd.

    issueDateTo?: string

    Last issue date to include, inclusive.