@avvyr/storefront-sdk - v0.19.0
    Preparing search index...

    Interface CartVatValidation

    Result of a VAT check. vatValidation on the cart carries the same fields plus the consultation number, which is the merchant's audit evidence and is not returned here.

    interface CartVatValidation {
        checkedAt: string | null;
        countryCode: string | null;
        number: string | null;
        reason: string | null;
        status:
            | "valid"
            | "invalid"
            | "badFormat"
            | "formatOk"
            | "unavailable"
            | "notChecked";
        valid: boolean
        | null;
    }
    Index
    checkedAt: string | null
    countryCode: string | null
    number: string | null
    reason: string | null
    status:
        | "valid"
        | "invalid"
        | "badFormat"
        | "formatOk"
        | "unavailable"
        | "notChecked"

    valid registered, and the sale can be zero-rated if the other conditions hold invalid the service answered and the number is not registered badFormat rejected locally, nothing was asked formatOk structure is fine, but the tenant does not run full lookups unavailable the EU service or that member state could not be reached notChecked validation is switched off for this tenant

    valid: boolean | null

    true, false, or null for unknown. Null is NOT the same as false, and must not be shown as invalid.