DocumentType
HTTP | Operation | Type | Object |
---|---|---|---|
Query | documenttypes |
Description
Globally, the API automatically handles the assignment of appropriate document types based on the legislation and the country of the clients or suppliers at the time of their creation.
An exception exists for Spanish legislation ES
, where it may be necessary to specify a particular document type for thirds that are not part of the VIES (VAT Information Exchange System).
Header
Key | Value |
---|---|
Authorization |
Bearer Current access Token How to find? |
X-TenantId |
Current tenant id How to find? |
x-api-key |
Primary or secondary subscription key of your app How to find? |
documenttypes
Fields | Type | Description | |
---|---|---|---|
id | UUID | Id | |
creationDate |
DateTime | Creation Date | |
modificationDate |
DateTime | Modification Date | |
legislationcode |
String | Legislation : FR, ES or DE | |
code |
String | Code |
|
name |
String | Name |
Info
- code, name :
Country Allowed document types (code name) FR 01 SIRET VIES not FR 02 TVA Intracommunautaire Other 06 Autre document justificatif Country Allowed document types (code name) ES 01 NIF/DNI VIES not ES 02 NIF/IVA Other 03 Pasaporte Other 04 Documento oficial emitido en el país de residencia Other 05 Certificado de residencia Other 06 Otro documento probatorio Country Allowed document types (code name) DE 01 Steur-IdN VIES not DE 02 USt-IdNr Other 06 Another supporting document DocumentId generator for your tests in legislation