DocumentType Validate [GET]
Operation
This operation allow you to validate the tax document
GET
https://{environment}.ulysescloud.com/api/{version}/documentType/{documentTypeId}/validate?number=XXXX&countryISO=ES
Request
Property | Type | Required | Type parameter | Default value | Description |
---|---|---|---|---|---|
documentType | Integer | true | path parameter | Indicates what type of document we are going to validate. At the moment, only types 5, National identity document | |
number | string | true | request parameter | Tax document | |
countryISO | string | true | request parameter | ISO country alfa2 or alfa3. View table ISO Country supported. |
Example request
GET https://prod.ulysescloud.com/api/v1/documentType/5/validate?number=12345678X&countryISO=ES
ISO European countries supported
Austria | |
Belgium | |
Bulgaria ( NOT ) | |
Switzerland | |
Cyprus | |
Czech Republic | |
Germany | |
Denmark | |
Estonia | |
Greece | |
Spain (National juridical entiti | |
Spain (Other juridical entities) | |
Spain (Personal entities type 1) | |
Spain (Personal entities type 2) | |
EU-type (NOT) | |
Finland | |
France | |
UK (Standard) | |
UK (Branches) | |
UK (Government) | |
UK (Health authority) | |
Croatia | |
Hungary | |
Ireland (1) | |
Ireland (2) | |
Ireland (3) | |
Italy | |
Latvia | |
Lithunia | |
Luxembourg | |
Malta | |
Netherlands | |
Norway (not EU) | |
Poland | |
Portugal | |
Romania (NOT) | |
Russia | |
Serbia | |
Sweden | |
Slovenia | |
Slovakia Republic |
Response
Boolean true or false.
Example response
true