Libro IVA Ventas (CSV)
curl --request GET \
--url https://www.facture.ar/api/reports/libro-iva \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://www.facture.ar/api/reports/libro-iva', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.facture.ar/api/reports/libro-iva"
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://www.facture.ar/api/reports/libro-iva",
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;
}<string>Reportes
Libro IVA Ventas (CSV)
Los comprobantes autorizados del período, en CSV separado por punto y coma (para Excel en castellano). Columnas: Fecha, Tipo, Punto de venta, Número, CUIT emisor, Doc. receptor, Moneda, Neto gravado, IVA, Exento, No gravado, Otros tributos, Total. Las notas de crédito van en negativo. Usa el entorno de la API key.
GET
/
reports
/
libro-iva
Libro IVA Ventas (CSV)
curl --request GET \
--url https://www.facture.ar/api/reports/libro-iva \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://www.facture.ar/api/reports/libro-iva', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.facture.ar/api/reports/libro-iva"
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://www.facture.ar/api/reports/libro-iva",
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;
}<string>Authorizations
API Key para autenticación. Formato: test_sk_xxx para testing, prod_sk_xxx para producción.
Query Parameters
Primer día, AAAA-MM-DD. Por defecto, el primero del mes
Último día, AAAA-MM-DD. Por defecto, hoy. El período se corta a 366 días
ID del CUIT en Facturear, para ver uno solo. Sin él, todos
Response
200 - text/csv
Archivo CSV
The response is of type string.