Taxnumber-field Check – Php Script / Library Are Ready

Taxnumber-Field check – PHP script / Library are ready

We have to take care about the “Taxnumber”-Field in our form (we are using chronoforms).

We need to check if a tax number is valid or not. Its mainly a script installation, because its “ready to use”.

Steps:

1. Rename TAXNUMBER in form to “USt-IdNr”
2. Under field as “example DE123456789 – only for members of the european union (EU)”
3. Add this to our check script and make it workable for us:

<?php

include(“IXR_Library.inc.php”);

$client = new IXR_Client(‘http://evatr.bff-online.de’);
// ‘…’ bei SSL-Verschlüsselung

$UstId_1 = ‘DE123456789’;
$UstId_2 = ‘AB123456789012’;
$Firmenname = ‘Firmenname einschl. Rechtsform’;
$Ort = ‘Ort’;
$PLZ = ‘1234567’;
$Strasse = ‘Strasse und Hausnummer’;
$Druck = ‘nein’;

if (!$client->query(‘evatrRPC’,
$UstId_1,
$UstId_2,
$Firmenname,
$Ort,
$PLZ,
$Strasse,
$Druck))
{
die(‘Ein Fehler ist aufgetreten –
‘.$client->getErrorCode().”:”.$client->getErrorMessage());
}

$outString=$client->getResponse();

print $outString;

?>

Make sure we can check automaticly/online if the Tax ID is valid and if the name is the company name is the same entered in form.

If tax ID is not valid or name is wrong to tax ID, we have to take 19% tax from EU-Premium users. You have to adjust the existing script for tax calculation.

In case there is something wrong, we need a message, like “Your Tax ID is not valid”

Button > “OK” – “Back”

You find here the libary for that http://scripts.incutio.com/xmlrpc/

To call via HTML this, look here

http://evatr.bff-online.de/eVatR/xmlrpc/http

To play:

http://evatr.bff-online.de/eVatR/index_html

!!! conflict free

!!! Don’t bid if you can’t start immediately.

!!! You are welcome when you have really good knowledge

!!! No payments if the job is not done.

!!! You have to work online on server.

!!! We have a budget of 50$ for this task.

!!! The job has to be done in 1-2 days.

Leave a Reply

Your email address will not be published. Required fields are marked *