open-nav
    Preparing search index...

    Interface InvoiceValidationIssue

    interface InvoiceValidationIssue {
        code: FaultCode;
        message: string;
        navMessage?: string;
        origin: "local" | "nav";
        path: string;
        severity: Severity;
    }
    Index
    code: FaultCode

    The fault code. Where NAV defines one it is used verbatim, so a local failure names exactly what the service would have said, and the compiler checks it against the generated catalogue.

    message: string

    What is wrong, with the offending values quoted.

    navMessage?: string

    NAV's own description of the fault, in the requested language.

    origin: "local" | "nav"

    nav for a code NAV defines, local for one of ours.

    path: string

    Dotted path to the offending value, e.g. invoiceLines.line.2.quantity.

    severity: Severity