Skip to main content
GET
/
arca-parameters
Obtener parámetros ARCA
curl --request GET \
  --url https://facture.ar/api/arca-parameters \
  --header 'x-api-key: <api-key>'
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://facture.ar/api/arca-parameters', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://facture.ar/api/arca-parameters"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://facture.ar/api/arca-parameters",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
{
  "invoiceTypes": [
    {
      "code": 123,
      "name": "<string>",
      "description": "<string>"
    }
  ],
  "docTypes": [
    {
      "code": 123,
      "name": "<string>"
    }
  ],
  "ivaTypes": [
    {
      "code": 123,
      "name": "<string>",
      "rate": 123
    }
  ]
}

Authorizations

x-api-key
string
header
required

API Key para autenticación. Formato: test_sk_xxx para testing, prod_sk_xxx para producción.

Response

200 - application/json

Parámetros ARCA obtenidos exitosamente

invoiceTypes
object[]
docTypes
object[]
ivaTypes
object[]