Skip to content

ValidatorLV results inconsistent with official EU validation #146

@cheagerty-ledger

Description

@cheagerty-ledger

When I try to validate a VAT code of the form LV 12016******, the code returns the result of invalid.

When I check the same number on the European Commission website (https://ec.europa.eu/taxation_customs/vies/vieshome.do) it is in fact valid.

ValidatorLV.php checks if the first digit is greater than 3, and returns false otherwise (which is the case here). I propose to remove this condition, which seems to be outdated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions