Skip Menu |

This queue is for tickets about the Algorithm-CheckDigits CPAN distribution.

Report information
The Basics
Id: 132950
Status: resolved
Priority: 0/
Queue: Algorithm-CheckDigits

People
Owner: Nobody in particular
Requestors: jan [...] kivitendo.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: v1.3.3



Subject: Bug: prefixed 0 for ustid_be are ignored
Date: Tue, 7 Jul 2020 12:16:36 +0200
To: bug-Algorithm-CheckDigits [...] rt.cpan.org
From: Jan Büren <jan [...] kivitendo.de>
Hi, take a look at the vat number for S.Oliver Belgium: BE0473700488 The CheckDigits call for is_valid says it is not a valid number: use Algorithm::CheckDigits; $ustid = CheckDigits('ustid_be'); print $ustid->is_valid('0473700488'); By Taking a look at the wiki page for the Belgian vat no convention they are allowing prefixed 0. Thanks Jan -- Blog http://blog.kivitendo.de/ kivitendo GmbH Jan Büren Kölnstr. 311 53117 Bonn USt-IdNr. DE292363254 Telefon: 0228 92 98 2012 persönliche Durchwahl: 0228 92 97 8965
Subject: Re: [rt.cpan.org #132950] AutoReply: Bug: prefixed 0 for ustid_be are ignored
Date: Tue, 7 Jul 2020 13:11:58 +0200
To: bug-Algorithm-CheckDigits [...] rt.cpan.org
From: Jan Büren <jan [...] kivitendo.de>
Hi, see attached patch proposal: Am 07.07.20 um 12:25 schrieb Bugs in Algorithm-CheckDigits via RT: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Bug: prefixed 0 for ustid_be are ignored", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #132950]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=132950 > > Please include the string: > > [rt.cpan.org #132950] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Algorithm-CheckDigits@rt.cpan.org > > ------------------------------------------------------------------------- > Hi, > > take a look at the vat number for S.Oliver Belgium: BE0473700488 > > The CheckDigits call for is_valid says it is not a valid number: > > use Algorithm::CheckDigits; > > $ustid = CheckDigits('ustid_be'); > > print $ustid->is_valid('0473700488'); > > > By Taking a look at the wiki page for the Belgian vat no convention they > are allowing prefixed 0. > > > Thanks > > Jan > >
-- Blog http://blog.kivitendo.de/ kivitendo GmbH Jan Büren Kölnstr. 311 53117 Bonn USt-IdNr. DE292363254 Telefon: 0228 92 98 2012 persönliche Durchwahl: 0228 92 97 8965

Message body is not shown because sender requested not to inline it.

Am Di 07. Jul 2020, 06:25:42, jan@kivitendo.de schrieb: Show quoted text
> Hi, > > take a look at the vat number for S.Oliver Belgium: BE0473700488 > > The CheckDigits call for is_valid says it is not a valid number:
Would you please have a look at v1.3.3 which should be available soon on CPAN.
This should be fixed in v1.3.3