Información de la aplicación
Permite la consulta de la configuración establecida y de las opciones disponibles para la empresa solicitada.
Obtener información y configuración
Este endpoint permite la consulta de la configuración establecida y de las opciones disponibles.
Petición HTTP
GET/info
Parámetros GET
Nombre | Tipo | Descripción |
---|---|---|
lang | Cadena / Opcional / Si no se envía será `en´ por defecto | Idioma válido de los disponibles en `data.options.langs´, traducirá la salida de opciones como monedas y países. |
En la respuesta "data.app" contendrá la configuración general y de documentos establecida, "data.options" contendrá opciones de configuración disponibles.
200 Respuesta
{
"data": {
"app": {
"owner": {
"web": "www.acme.com",
"email": "info@acme.com",
"phone_mobile": "987789987",
"phone": "987789987",
"country": "ES",
"state": "Madrid",
"zip": "28080",
"population": "Madrid",
"address": "Gran Via 1",
"vat": "B00000000",
"fiscal_name": "Acme Inc. S.A.",
"comercial_name": "Acme"
},
"documents": {
"lang": "gl",
"currency": "£",
"date_format": "mm\/dd\/yyyy",
"money_format": "symbol_before,none,point"
},
"config": {
"time_zone": "Africa\/Accra"
}
},
"options": {
"contact_types": [
{
"id": 1,
"key": "CUSTOMER"
},
{
"id": 2,
"key": "PROVIDER"
},
{
"id": 3,
"key": "LEAD"
}
],
"invoice_types": [
{
"id": 1,
"key": "ORDINARY_INVOICE"
},
{
"id": 2,
"key": "PROFORMA_INVOICE"
},
{
"id": 3,
"key": "RECTIFYING_INVOICE"
}
],
"invoice_templates": [
{
"id": 1,
"key": "CLASSIC"
},
{
"id": 2,
"key": "MODERN"
},
{
"id": 3,
"key": "ACTUAL"
}
],
"date_formats": [
"dd\/mm\/yyyy",
"mm\/dd\/yyyy",
"yyyy-mm-dd",
"yyyy\/mm\/dd",
"dd.mm.yyyy"
],
"money_formats": {
"symbol_before,none,point": "1234.56 £",
"symbol_before,none,coma": "1234,56 £",
"symbol_before,point,coma": "1.234,56 £",
"symbol_before,coma,point": "1,234.56 £",
"symbol_after,none,point": "£ 1234.56",
"symbol_after,none,coma": "£ 1234,56",
"symbol_after,point,coma": "£ 1.234,56",
"symbol_after,coma,point": "£ 1,234.56"
},
"langs": [
"es",
"en",
"gl"
],
"currencies": [
"€",
"$",
"£",
"CHF",
"ARS",
"A$",
"R$",
"CA$",
"CN¥",
"CZK",
"DKK",
"HK$",
"HUF",
"₹",
"₪",
"MX$",
"NT$",
"NZ$",
"NOK",
"PLN",
"RUB",
"SGD",
"ZAR",
"SEK",
"THB",
"TRY",
"UAH",
"$CLP",
"$COL",
"$b",
"₡",
"RD$",
"₲",
"S\/.",
"$U",
"Q"
],
"currencies_names": {
"€": "Euros",
"$": "Dollars",
"£": "Pounds",
"CHF": "Swiss francs",
"ARS": "Argentine peso",
"A$": "Australian dollar",
"R$": "Brazilian real",
"CA$": "Canadian dollar",
"CN¥": "Chinese yuan",
"CZK": "Czech koruna",
"DKK": "Danish krone",
"HK$": "Hong Kong dollar",
"HUF": "Hungarian forint",
"₹": "Indian rupee",
"₪": "Israeli new shekel",
"MX$": "Mexican peso",
"NT$": "New Taiwan dollar",
"NZ$": "New Zealand dollar",
"NOK": "Norwegian krone",
"PLN": "Polish zloty",
"RUB": "Russian ruble",
"SGD": "Singapore dollar",
"ZAR": "South African rand",
"SEK": "Swedish krona",
"THB": "Thai baht",
"TRY": "Turkish lira",
"UAH": "Ukrainian hryvnia",
"$CLP": "Chilean peso",
"$COL": "Colombian peso",
"$b": "Bolivian boliviano",
"₡": "Costa Rican colon",
"RD$": "Dominican peso",
"₲": "Paraguayan guarani",
"S\/.": "Peruvian sol",
"$U": "Uruguayan peso",
"Q": "Guatemalan quetzal"
},
"countries": {
"AX": "Åland Islands",
"AL": "Albania",
"DZ": "Algeria",
"AS": "American Samoa",
"AD": "Andorra",
"AO": "Angola",
"AI": "Anguilla",
"AG": "Antigua and Barbuda",
"AR": "Argentina",
"AM": "Armenia",
"AW": "Aruba",
"AU": "Australia",
"AT": "Austria",
"AZ": "Azerbaijan",
"BS": "Bahamas",
"BH": "Bahrain",
"BD": "Bangladesh",
"BB": "Barbados",
"BE": "Belgium",
"BZ": "Belize",
"BJ": "Benin",
"BM": "Bermuda",
"BT": "Bhutan",
"BO": "Bolivia",
"BA": "Bosnia and Herzegovina",
"BW": "Botswana",
"BV": "Bouvet Island",
"BR": "Brazil",
"IO": "British Indian Ocean Territory",
"VG": "British Virgin Islands",
"BN": "Brunei",
"BG": "Bulgaria",
"BF": "Burkina Faso",
"BI": "Burundi",
"KH": "Cambodia",
"CM": "Cameroon",
"CA": "Canada",
"CV": "Cape Verde",
"BQ": "Caribbean Netherlands (Bonaire, Sint Eustatius, and Saba)",
"KY": "Cayman Islands",
"TD": "Chad",
"CL": "Chile",
"CN": "China",
"CX": "Christmas Island",
"CC": "Cocos Islands",
"CO": "Colombia",
"KM": "Comoros",
"CK": "Cook Islands",
"CR": "Costa Rica",
"HR": "Croatia",
"CW": "Curaçao",
"CY": "Cyprus",
"CZ": "Czechia (Czech Republic)",
"CI": "Côte d'Ivoire (Ivory Coast)",
"DK": "Denmark",
"DJ": "Djibouti",
"DM": "Dominica",
"DO": "Dominican Republic",
"EC": "Ecuador",
"EG": "Egypt",
"SV": "El Salvador",
"GQ": "Equatorial Guinea",
"ER": "Eritrea",
"EE": "Estonia",
"ET": "Ethiopia",
"FK": "Falkland Islands",
"FO": "Faroe Islands",
"FJ": "Fiji",
"FI": "Finland",
"FR": "France",
"GF": "French Guiana",
"PF": "French Polynesia",
"TF": "French Southern and Antarctic Lands",
"GA": "Gabon",
"GM": "Gambia",
"GE": "Georgia",
"DE": "Germany",
"GH": "Ghana",
"GI": "Gibraltar",
"GR": "Greece",
"GL": "Greenland",
"GD": "Grenada",
"GP": "Guadeloupe",
"GU": "Guam",
"GT": "Guatemala",
"GG": "Guernsey",
"GN": "Guinea",
"GW": "Guinea-Bissau",
"GY": "Guyana",
"HM": "Heard Island and McDonald Islands",
"VA": "Holy See (Vatican City)",
"HN": "Honduras",
"HK": "Hong Kong",
"HU": "Hungary",
"IS": "Iceland",
"IN": "India",
"ID": "Indonesia",
"IQ": "Iraq",
"IE": "Ireland",
"IM": "Isle of Man",
"IL": "Israel",
"IT": "Italy",
"JM": "Jamaica",
"JP": "Japan",
"JE": "Jersey",
"JO": "Jordan",
"KZ": "Kazakhstan",
"KE": "Kenya",
"KI": "Kiribati",
"XK": "Kosovo",
"KW": "Kuwait",
"KG": "Kyrgyzstan",
"LA": "Lao People's Democratic Republic (Laos)",
"LV": "Latvia",
"LB": "Lebanon",
"LS": "Lesotho",
"LR": "Liberia",
"LI": "Liechtenstein",
"LT": "Lithuania",
"LU": "Luxembourg",
"MO": "Macao",
"MK": "Macedonia",
"MG": "Madagascar",
"MW": "Malawi",
"MY": "Malaysia",
"MV": "Maldives",
"MT": "Malta",
"MH": "Marshall Islands",
"MQ": "Martinique",
"MR": "Mauritania",
"MU": "Mauritius",
"YT": "Mayotte",
"MX": "Mexico",
"FM": "Micronesia",
"MD": "Moldova",
"MC": "Monaco",
"MN": "Mongolia",
"ME": "Montenegro",
"MS": "Montserrat",
"MA": "Morocco",
"MZ": "Mozambique",
"NA": "Namibia",
"NR": "Nauru",
"NP": "Nepal",
"NL": "Netherlands",
"NC": "New Caledonia",
"NZ": "New Zealand",
"NE": "Niger",
"NG": "Nigeria",
"NU": "Niue",
"NF": "Norfolk Island",
"MP": "Northern Mariana Islands",
"NO": "Norway",
"OM": "Oman",
"PK": "Pakistan",
"PW": "Palau",
"PS": "Palestinian territories",
"PA": "Panama",
"PG": "Papua New Guinea",
"PY": "Paraguay",
"PE": "Peru",
"PH": "Philippines",
"PN": "Pitcairn",
"PL": "Poland",
"PT": "Portugal",
"PR": "Puerto Rico",
"QA": "Qatar",
"CG": "Republic of Congo",
"RS": "Republic of Serbia",
"RE": "Reunion",
"RO": "Romania",
"RW": "Rwanda",
"BL": "Saint Barthélemy",
"SH": "Saint Helena",
"KN": "Saint Kitts and Nevis",
"LC": "Saint Lucia",
"MF": "Saint Martin",
"PM": "Saint Pierre and Miquelon",
"VC": "Saint Vincent and the Grenadines",
"WS": "Samoa",
"SM": "San Marino",
"SA": "Saudi Arabia",
"SN": "Senegal",
"SC": "Seychelles",
"SL": "Sierra Leone",
"SG": "Singapore",
"SX": "Sint Maarten",
"SK": "Slovakia",
"SI": "Slovenia",
"SB": "Solomon Islands",
"ZA": "South Africa",
"GS": "South Georgia and the South Sandwich Islands",
"KR": "South Korea",
"ES": "Spain",
"LK": "Sri Lanka",
"SR": "Suriname",
"SJ": "Svalbard and Jan Mayen",
"SZ": "Swaziland",
"SE": "Sweden",
"CH": "Switzerland",
"ST": "São Tomé and Príncipe",
"TW": "Taiwan",
"TJ": "Tajikistan",
"TZ": "Tanzania",
"TH": "Thailand",
"TL": "Timor-Leste",
"TG": "Togo",
"TK": "Tokelau",
"TO": "Tonga",
"TT": "Trinidad and Tobago",
"TN": "Tunisia",
"TR": "Turkey",
"TM": "Turkmenistan",
"TC": "Turks and Caicos Islands",
"TV": "Tuvalu",
"VI": "U.S. Virgin Islands",
"UG": "Uganda",
"UA": "Ukraine",
"AE": "United Arab Emirates",
"GB": "United Kingdom",
"US": "United States",
"UM": "United States Minor Outlying Islands",
"UY": "Uruguay",
"UZ": "Uzbekistan",
"VU": "Vanuatu",
"VN": "Vietnam",
"WF": "Wallis and Futuna",
"EH": "Western Sahara",
"ZM": "Zambia",
}
}
}
}