qqilihq / evatr Goto Github PK
View Code? Open in Web Editor NEWValidate foreign VAT numbers via German “Bundeszentralamt für Steuern”
License: MIT License
Validate foreign VAT numbers via German “Bundeszentralamt für Steuern”
License: MIT License
If print: true
is used, it will return the Error 223 => "Die Druckfunktion steht nicht mehr zur Verfügung, da der Nachweis gem. UStAE zu § 18e.1 zu führen ist."
This request
const qualifiedResult = await evatr.checkQualified({
ownVatNumber: 'DE115235681',
validateVatNumber: '',
companyName: 'ŠKODA AUTO a.s.',
city: 'Mlada Boleslav',
zip: '293 01',
street: 'tř. Václava Klementa 869'
});
throws
UnhandledPromiseRejectionWarning: Error: Unexpected result type: getResultType (…/evatr/lib/index.ts:133:11)
Not a biggie (and maybe you already knew), I just saw, that the current version still has the .github
dir included.
BTW: if you changed the .npmignore
to
**/**
!dist/**
it would do the same as the one you have currently :)
Right now, if the request is successful, it returns
…
resultName: 'A',
resultCity: 'A',
resultZip: 'A',
resultStreet: 'A',
Since there is already the possibility to have the raw xml, what would you say to have these values a little more human readable? (Which they already are in the TS interface)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.