Proceso Clientes
Crear un cliente
Endpoint: https://rest.reviso.com/customers
Método: POST
Body Mínimo:
{
"address": "Santa clara, 8",
"city": "Arenys de Mar",
"corporateIdentificationNumber": "B63637953",
"country": "España",
"countryCode": {
"code": "ES"
},
"currency": "EUR",
"customerGroup": {
"customerGroupNumber": 1
},
"email": "admin@setdart.com",
"province": {
"countryCode": {
"code": "ES"
},
"provinceNumber": 8
},
"zip": "08359",
"name": "Setdart online, S.L.",
"vatNumber": "B63637953",
"vatZone": {
"vatZoneNumber": 1
},
"paymentTerms": {
"paymentTermsNumber": 10
}
}
Y se reibe el dato completo si uno hay errores, con un 201
{
"address": "Santa clara, 8",
"balance": 0.00,
"city": "Arenys de Mar",
"corporateIdentificationNumber": "B63637953",
"country": "España",
"countryCode": {
"code": "ES"
},
"currency": "EUR",
"customerGroup": {
"customerGroupNumber": 1
},
"email": "admin@setdart.com",
"province": {
"countryCode": {
"code": "ES"
},
"provinceNumber": 8
},
"zip": "08359",
"name": "Setdart online, S.L.",
"vatNumber": "B63637953",
"vatZone": {
"vatZoneNumber": 1
},
"paymentTerms": {
"paymentTermsNumber": 10
}
}
Sobre los campos especificos
Campos que deben ir
CustomeerGroup
https://rest.reviso.com/customer-groups
Número | Descripcion |
---|---|
1 | Clientes nacionales |
2 | Clientes EU |
3 | Cliente con retenciones. NO se usa |
4 | Clientes moneda extranjera. No se usa |
5 | Clientes fuera EU |
VatZone
https://rest.reviso.com/vat-zones
Plantea serias dudas pednientes de consulta.
Número | Descripción |
---|---|
1 | Domestic |
2 | VAT Zone |
3 | Outside EU |
4 | Domestic Exento |
7 | España Recergo de Equivalencia |
Payment Terms
Dedidido por el 10 creod por mi.