Crear facturas de cobro (cuentas por cobrar)
curl --request POST \
--url https://api.cresium.app/v3/invoice/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-company-id: <api-key>' \
--header 'x-signature: <api-key>' \
--header 'x-timestamp: <api-key>' \
--data '
[
{
"amount": 15000.5,
"payerNationalIdentifier": "20111111112",
"payerName": "Juana Pérez",
"description": "<string>",
"internalNote": "<string>",
"payerInternalNote": "<string>",
"expiresAt": "2026-12-11T15:00:00.000Z",
"issuedAt": "2026-11-11T15:00:00.000Z",
"payerEmail": "juana@empresa.com",
"externalId": "factura-2026-0001",
"fileKey": "<string>"
}
]
'import requests
url = "https://api.cresium.app/v3/invoice/"
payload = [
{
"amount": 15000.5,
"payerNationalIdentifier": "20111111112",
"payerName": "Juana Pérez",
"description": "<string>",
"internalNote": "<string>",
"payerInternalNote": "<string>",
"expiresAt": "2026-12-11T15:00:00.000Z",
"issuedAt": "2026-11-11T15:00:00.000Z",
"payerEmail": "juana@empresa.com",
"externalId": "factura-2026-0001",
"fileKey": "<string>"
}
]
headers = {
"x-api-key": "<api-key>",
"x-signature": "<api-key>",
"x-timestamp": "<api-key>",
"x-company-id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-api-key': '<api-key>',
'x-signature': '<api-key>',
'x-timestamp': '<api-key>',
'x-company-id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify([
{
amount: 15000.5,
payerNationalIdentifier: '20111111112',
payerName: 'Juana Pérez',
description: '<string>',
internalNote: '<string>',
payerInternalNote: '<string>',
expiresAt: '2026-12-11T15:00:00.000Z',
issuedAt: '2026-11-11T15:00:00.000Z',
payerEmail: 'juana@empresa.com',
externalId: 'factura-2026-0001',
fileKey: '<string>'
}
])
};
fetch('https://api.cresium.app/v3/invoice/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cresium.app/v3/invoice/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'amount' => 15000.5,
'payerNationalIdentifier' => '20111111112',
'payerName' => 'Juana Pérez',
'description' => '<string>',
'internalNote' => '<string>',
'payerInternalNote' => '<string>',
'expiresAt' => '2026-12-11T15:00:00.000Z',
'issuedAt' => '2026-11-11T15:00:00.000Z',
'payerEmail' => 'juana@empresa.com',
'externalId' => 'factura-2026-0001',
'fileKey' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>",
"x-company-id: <api-key>",
"x-signature: <api-key>",
"x-timestamp: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cresium.app/v3/invoice/"
payload := strings.NewReader("[\n {\n \"amount\": 15000.5,\n \"payerNationalIdentifier\": \"20111111112\",\n \"payerName\": \"Juana Pérez\",\n \"description\": \"<string>\",\n \"internalNote\": \"<string>\",\n \"payerInternalNote\": \"<string>\",\n \"expiresAt\": \"2026-12-11T15:00:00.000Z\",\n \"issuedAt\": \"2026-11-11T15:00:00.000Z\",\n \"payerEmail\": \"juana@empresa.com\",\n \"externalId\": \"factura-2026-0001\",\n \"fileKey\": \"<string>\"\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-signature", "<api-key>")
req.Header.Add("x-timestamp", "<api-key>")
req.Header.Add("x-company-id", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cresium.app/v3/invoice/")
.header("x-api-key", "<api-key>")
.header("x-signature", "<api-key>")
.header("x-timestamp", "<api-key>")
.header("x-company-id", "<api-key>")
.header("Content-Type", "application/json")
.body("[\n {\n \"amount\": 15000.5,\n \"payerNationalIdentifier\": \"20111111112\",\n \"payerName\": \"Juana Pérez\",\n \"description\": \"<string>\",\n \"internalNote\": \"<string>\",\n \"payerInternalNote\": \"<string>\",\n \"expiresAt\": \"2026-12-11T15:00:00.000Z\",\n \"issuedAt\": \"2026-11-11T15:00:00.000Z\",\n \"payerEmail\": \"juana@empresa.com\",\n \"externalId\": \"factura-2026-0001\",\n \"fileKey\": \"<string>\"\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cresium.app/v3/invoice/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["x-signature"] = '<api-key>'
request["x-timestamp"] = '<api-key>'
request["x-company-id"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"amount\": 15000.5,\n \"payerNationalIdentifier\": \"20111111112\",\n \"payerName\": \"Juana Pérez\",\n \"description\": \"<string>\",\n \"internalNote\": \"<string>\",\n \"payerInternalNote\": \"<string>\",\n \"expiresAt\": \"2026-12-11T15:00:00.000Z\",\n \"issuedAt\": \"2026-11-11T15:00:00.000Z\",\n \"payerEmail\": \"juana@empresa.com\",\n \"externalId\": \"factura-2026-0001\",\n \"fileKey\": \"<string>\"\n }\n]"
response = http.request(request)
puts response.read_body{
"data": {
"invoices": [
{
"id": 9120,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"uuid": "<string>",
"amount": 15000.5,
"status": "DRAFT",
"isExpired": true,
"createdAt": "2026-11-11T15:00:00.000Z",
"issuedAt": "2026-11-11T15:00:00.000Z",
"companyId": 456,
"sanitizedAmount": 123,
"issuedAmount": 15000.5,
"paidAmount": 0,
"pendingAmount": 15000.5,
"remindersDisabled": true,
"reconciliationStatus": "RECOMMENDED",
"company": {
"id": 456,
"cuit": "30712345678",
"name": "Mi Empresa SA",
"phone": "<string>",
"email": "<string>",
"nationality": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "PENDING_APPROVAL",
"fantasyName": "<string>",
"image": "<string>"
},
"issuedCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"userAddress": {
"id": 5120,
"name": "Proveedor SA",
"uuid": "<string>",
"ranking": 123,
"emails": [
"<string>"
],
"description": "<string>",
"phone": "<string>",
"defaultAddressId": 123,
"displayName": "<string>"
},
"allocations": [
{
"id": 770,
"amount": 15000.5,
"origin": "DIRECT_PAYMENT",
"invoiceId": 123,
"transactionId": 123,
"createdAt": "2026-11-11T15:00:00.000Z",
"transaction": {
"id": 98123,
"type": "DEPOSIT",
"status": "SUCCESS",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"fromId": 123,
"toId": 123,
"companyId": 456,
"walletId": 123,
"createdAt": "2026-11-11T15:00:00.000Z",
"totalAmount": 15000.5,
"netAmount": 14910.5,
"from": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"img": "<string>",
"displayName": "<string>"
},
"to": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"img": "<string>",
"displayName": "<string>"
},
"amounts": [
{
"id": 3511,
"transactionId": 98123,
"type": "FEE",
"amount": 89.5,
"key": "<string>"
}
],
"externalId": "<string>",
"collaboratorId": 123,
"tag": "RENTAL",
"bulkTransactionId": 123,
"reversalOfId": 123,
"internalNote": "<string>",
"addressId": 123,
"address": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"img": "<string>",
"displayName": "<string>"
},
"collaborator": {
"id": 1802,
"email": "juana@empresa.com",
"role": "OWNER",
"status": "CREATED",
"firstName": "Juana",
"lastName": "Pérez",
"image": "<string>",
"phone": "<string>",
"birthDate": "2023-11-07T05:31:56Z",
"nationalIdentifier": "20111111112",
"profession": "<string>",
"signerPowerExpirationDate": "2023-11-07T05:31:56Z",
"requestedRole": "OWNER",
"requestedRoleStatus": "REQUESTED",
"roleRejectionReason": "<string>",
"isPep": true,
"pepMotive": "<string>",
"isObligatedSubject": true,
"obligatedSubjectMotive": "<string>",
"documentType": "CUIT_AR",
"idDocumentType": "CUIT_AR",
"documentNumber": "<string>",
"representationType": "ADMINISTRADOR",
"nationality": "AR",
"birthNationality": "AR",
"gender": "FEMALE",
"civilStatus": "SOLTERO",
"spouseFirstName": "<string>",
"spouseLastName": "<string>",
"spouseDocumentType": "CUIT_AR",
"spouseDocumentNumber": "<string>"
},
"contactId": 123,
"contact": {
"id": 5120,
"name": "Proveedor SA",
"uuid": "<string>",
"ranking": 123,
"emails": [
"<string>"
],
"description": "<string>",
"phone": "<string>",
"defaultAddressId": 123,
"displayName": "<string>"
},
"updatedAt": "2023-11-07T05:31:56Z",
"processedAt": "2023-11-07T05:31:56Z",
"paymentAllocations": [
{
"id": 123,
"amount": 123,
"origin": "DIRECT_PAYMENT",
"paymentId": 123,
"transactionId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"payment": {
"id": 123,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"amount": 123,
"sanitizedAmount": 123,
"issuedCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"issuedAmount": 123,
"status": "PENDING",
"isExpired": true,
"issuedAt": "2023-11-07T05:31:56Z",
"exchangeRate": 123,
"exchangeRateBaseCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"exchangeRateQuoteCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"externalId": "<string>",
"description": "<string>",
"createdAt": "<string>",
"expiresAt": "<string>",
"fileUrl": "<string>"
}
}
],
"invoiceAllocations": [
{
"id": 770,
"amount": 15000.5,
"origin": "DIRECT_PAYMENT",
"invoiceId": 123,
"transactionId": 123,
"createdAt": "2026-11-11T15:00:00.000Z",
"invoice": {
"id": 9120,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"uuid": "<string>",
"amount": 15000.5,
"status": "DRAFT",
"isExpired": true,
"createdAt": "2026-11-11T15:00:00.000Z",
"issuedAt": "2026-11-11T15:00:00.000Z",
"externalId": "<string>",
"processId": 123,
"description": "<string>",
"expiresAt": "2026-12-11T15:00:00.000Z",
"fileUrl": "<string>"
}
}
],
"recipients": [
{
"type": "EMAIL",
"value": "proveedor@empresa.com"
}
],
"billPayment": {
"debtIdentifier": "0123456789",
"companyName": "<string>",
"alias": "<string>",
"expirationDate": "<string>"
},
"bulkTransaction": {
"id": 212,
"name": "Sueldos noviembre",
"type": "TRANSFER"
},
"sendingDate": "2023-11-07T05:31:56Z",
"depositAddress": {
"id": 3021,
"type": "CVU",
"value": "0000253100000000001234",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"bankProvider": {
"name": "BIND",
"img": "<string>"
},
"externalId": "<string>",
"wallet": {
"id": 123,
"balance": 1000000,
"lockedBalance": 50000,
"investedBalance": 200000,
"availableBalance": 750000,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"companyId": 456
},
"hasEcheqs": true,
"currentAccount": {
"contactId": 5120
}
},
"description": "Factura 0001-00001234",
"marivaMetadata": {
"receipt": "<string>",
"code": "<string>",
"internalDescription": "<string>"
},
"walletSnapshots": {
"balance": 123
}
}
}
],
"creditNotes": [
{
"id": 123,
"uuid": "<string>",
"companyId": 123,
"userAddressId": 123,
"amount": 123,
"status": "DRAFT",
"createdAt": "2023-11-07T05:31:56Z",
"userAddress": {
"id": 5120,
"name": "Proveedor SA",
"uuid": "<string>",
"ranking": 123,
"emails": [
"<string>"
],
"description": "<string>",
"phone": "<string>",
"defaultAddressId": 123,
"displayName": "<string>"
},
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"collaboratorId": 123,
"invoiceId": 123,
"processId": 123,
"description": "<string>",
"externalId": "<string>",
"fileUrl": "<string>"
}
],
"debitNotes": [
{
"id": 123,
"uuid": "<string>",
"companyId": 123,
"userAddressId": 123,
"amount": 123,
"status": "DRAFT",
"createdAt": "2023-11-07T05:31:56Z",
"userAddress": {
"id": 5120,
"name": "Proveedor SA",
"uuid": "<string>",
"ranking": 123,
"emails": [
"<string>"
],
"description": "<string>",
"phone": "<string>",
"defaultAddressId": 123,
"displayName": "<string>"
},
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"collaboratorId": 123,
"invoiceId": 123,
"processId": 123,
"description": "<string>",
"externalId": "<string>",
"fileUrl": "<string>"
}
],
"withholdings": [
{
"id": 123,
"invoiceId": 123,
"amount": 123,
"type": "VAT",
"createdAt": "2023-11-07T05:31:56Z",
"fileUrl": "<string>"
}
],
"trackers": [
{
"id": 123,
"companyId": 123,
"invoiceId": 123,
"sequenceId": 123,
"reminderId": 123,
"contactId": 123,
"sendingDate": "2023-11-07T05:31:56Z",
"status": "PENDING",
"sentAt": "2023-11-07T05:31:56Z"
}
],
"externalPayments": [
{
"id": 123,
"invoiceId": 123,
"paymentMethod": "CASH",
"paymentAmount": 123,
"paymentDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>"
}
],
"activity": [
{
"id": 123,
"type": "CREATED",
"invoiceId": 123,
"date": "2023-11-07T05:31:56Z",
"collaboratorId": 123
}
],
"externalId": "<string>",
"processId": 123,
"description": "<string>",
"expiresAt": "2026-12-11T15:00:00.000Z",
"fileUrl": "<string>",
"exchangeRate": 123,
"exchangeRateBaseCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"exchangeRateQuoteCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"collaboratorId": 123,
"paidAt": "2023-11-07T05:31:56Z",
"daysToExpiration": 123,
"internalNote": "<string>",
"payerInternalNote": "<string>",
"collaborator": {
"id": 1802,
"email": "juana@empresa.com",
"role": "OWNER",
"status": "CREATED",
"firstName": "Juana",
"lastName": "Pérez",
"image": "<string>",
"phone": "<string>",
"birthDate": "2023-11-07T05:31:56Z",
"nationalIdentifier": "20111111112",
"profession": "<string>",
"signerPowerExpirationDate": "2023-11-07T05:31:56Z",
"requestedRole": "OWNER",
"requestedRoleStatus": "REQUESTED",
"roleRejectionReason": "<string>",
"isPep": true,
"pepMotive": "<string>",
"isObligatedSubject": true,
"obligatedSubjectMotive": "<string>",
"documentType": "CUIT_AR",
"idDocumentType": "CUIT_AR",
"documentNumber": "<string>",
"representationType": "ADMINISTRADOR",
"nationality": "AR",
"birthNationality": "AR",
"gender": "FEMALE",
"civilStatus": "SOLTERO",
"spouseFirstName": "<string>",
"spouseLastName": "<string>",
"spouseDocumentType": "CUIT_AR",
"spouseDocumentNumber": "<string>"
},
"erpLink": {
"companyIntegrationId": 123,
"erpObject": "ODOO_PARTNER",
"direction": "IMPORTED",
"status": "PENDING",
"erpId": "<string>"
},
"sequence": {
"id": 123,
"companyId": 123,
"name": "<string>",
"status": "ACTIVE",
"excludeNonBusinessDays": true,
"reminders": [
{
"id": 123,
"sequenceId": 123,
"sendingMomentType": "ON_INVOICE_CREATION",
"sendingMomentDays": 123,
"channel": "EMAIL",
"subject": "<string>",
"body": "<string>",
"includeInvoiceFile": true,
"includePaymentLink": true
}
]
}
}
],
"maxItems": 123,
"lastProcess": {
"id": 123,
"uuid": "<string>",
"companyId": 123,
"type": "INVOICE_UPLOAD",
"status": "PENDING",
"createdAt": "2023-11-07T05:31:56Z",
"collaboratorId": 123,
"invoiceProcessMetadata": {
"id": 123,
"filesToProcess": 123,
"invoicesProcessed": 123,
"creditNotesProcessed": 123,
"debitNotesProcessed": 123,
"errors": [
{
"fileName": "<string>",
"error": "INTERNAL_SERVER_ERROR",
"externalId": "<string>",
"fileUrl": "<string>"
}
]
},
"paymentProcessMetadata": {
"id": 123,
"filesToProcess": 123,
"paymentsProcessed": 123,
"withholdingsProcessed": 123,
"errors": [
{
"fileName": "<string>",
"error": "INTERNAL_SERVER_ERROR",
"externalId": "<string>",
"fileUrl": "<string>"
}
]
},
"companyIntegrationSyncProcessMetadata": {
"id": 123,
"processId": 123,
"importedContacts": 123,
"failedImportedContacts": 123,
"importedInvoices": 123,
"failedImportedInvoices": 123,
"updatedInvoices": 123,
"canceledInvoices": 123,
"importedPayments": 123,
"failedImportedPayments": 123,
"importedCreditNotes": 123,
"failedImportedCreditNotes": 123,
"importedDebitNotes": 123,
"failedImportedDebitNotes": 123,
"exportedCreditNotes": 123,
"failedExportedCreditNotes": 123,
"exportedDebitNotes": 123,
"failedExportedDebitNotes": 123,
"exportedTransactions": 123,
"exportedWithholdings": 123,
"failedExportedWithholdings": 123,
"failedExportedTransactions": [
{
"id": 98123,
"type": "DEPOSIT",
"status": "SUCCESS",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"fromId": 123,
"toId": 123,
"companyId": 456,
"walletId": 123,
"createdAt": "2026-11-11T15:00:00.000Z",
"totalAmount": 15000.5,
"netAmount": 14910.5,
"from": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"img": "<string>",
"displayName": "<string>"
},
"to": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"img": "<string>",
"displayName": "<string>"
},
"amounts": [
{
"id": 3511,
"transactionId": 98123,
"type": "FEE",
"amount": 89.5,
"key": "<string>"
}
],
"externalId": "<string>",
"collaboratorId": 123,
"tag": "RENTAL",
"bulkTransactionId": 123,
"reversalOfId": 123,
"internalNote": "<string>",
"addressId": 123,
"address": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"img": "<string>",
"displayName": "<string>"
},
"collaborator": {
"id": 1802,
"email": "juana@empresa.com",
"role": "OWNER",
"status": "CREATED",
"firstName": "Juana",
"lastName": "Pérez",
"image": "<string>",
"phone": "<string>",
"birthDate": "2023-11-07T05:31:56Z",
"nationalIdentifier": "20111111112",
"profession": "<string>",
"signerPowerExpirationDate": "2023-11-07T05:31:56Z",
"requestedRole": "OWNER",
"requestedRoleStatus": "REQUESTED",
"roleRejectionReason": "<string>",
"isPep": true,
"pepMotive": "<string>",
"isObligatedSubject": true,
"obligatedSubjectMotive": "<string>",
"documentType": "CUIT_AR",
"idDocumentType": "CUIT_AR",
"documentNumber": "<string>",
"representationType": "ADMINISTRADOR",
"nationality": "AR",
"birthNationality": "AR",
"gender": "FEMALE",
"civilStatus": "SOLTERO",
"spouseFirstName": "<string>",
"spouseLastName": "<string>",
"spouseDocumentType": "CUIT_AR",
"spouseDocumentNumber": "<string>"
},
"contactId": 123,
"contact": {
"id": 5120,
"name": "Proveedor SA",
"uuid": "<string>",
"ranking": 123,
"emails": [
"<string>"
],
"description": "<string>",
"phone": "<string>",
"defaultAddressId": 123,
"displayName": "<string>"
},
"updatedAt": "2023-11-07T05:31:56Z",
"processedAt": "2023-11-07T05:31:56Z",
"paymentAllocations": [
{
"id": 123,
"amount": 123,
"origin": "DIRECT_PAYMENT",
"paymentId": 123,
"transactionId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"payment": {
"id": 123,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"amount": 123,
"sanitizedAmount": 123,
"issuedCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"issuedAmount": 123,
"status": "PENDING",
"isExpired": true,
"issuedAt": "2023-11-07T05:31:56Z",
"exchangeRate": 123,
"exchangeRateBaseCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"exchangeRateQuoteCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"externalId": "<string>",
"description": "<string>",
"createdAt": "<string>",
"expiresAt": "<string>",
"fileUrl": "<string>"
}
}
],
"invoiceAllocations": [
{
"id": 770,
"amount": 15000.5,
"origin": "DIRECT_PAYMENT",
"invoiceId": 123,
"transactionId": 123,
"createdAt": "2026-11-11T15:00:00.000Z",
"invoice": {
"id": 9120,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"uuid": "<string>",
"amount": 15000.5,
"status": "DRAFT",
"isExpired": true,
"createdAt": "2026-11-11T15:00:00.000Z",
"issuedAt": "2026-11-11T15:00:00.000Z",
"externalId": "<string>",
"processId": 123,
"description": "<string>",
"expiresAt": "2026-12-11T15:00:00.000Z",
"fileUrl": "<string>"
}
}
],
"recipients": [
{
"type": "EMAIL",
"value": "proveedor@empresa.com"
}
],
"billPayment": {
"debtIdentifier": "0123456789",
"companyName": "<string>",
"alias": "<string>",
"expirationDate": "<string>"
},
"bulkTransaction": {
"id": 212,
"name": "Sueldos noviembre",
"type": "TRANSFER"
},
"sendingDate": "2023-11-07T05:31:56Z",
"depositAddress": {
"id": 3021,
"type": "CVU",
"value": "0000253100000000001234",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"bankProvider": {
"name": "BIND",
"img": "<string>"
},
"externalId": "<string>",
"wallet": {
"id": 123,
"balance": 1000000,
"lockedBalance": 50000,
"investedBalance": 200000,
"availableBalance": 750000,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"companyId": 456
},
"hasEcheqs": true,
"currentAccount": {
"contactId": 5120
}
},
"description": "Factura 0001-00001234",
"marivaMetadata": {
"receipt": "<string>",
"code": "<string>",
"internalDescription": "<string>"
},
"walletSnapshots": {
"balance": 123
}
}
],
"failedImportedContactsIds": "<unknown>",
"failedImportedInvoicesIds": "<unknown>",
"failedImportedPaymentsIds": "<unknown>",
"failedImportedCreditNotesIds": "<unknown>",
"failedImportedDebitNotesIds": "<unknown>",
"failedExportedCreditNotesIds": "<unknown>",
"failedExportedDebitNotesIds": "<unknown>",
"failedExportedWithholdingsIds": "<unknown>"
},
"bulkImportProcessMetadata": {
"id": 123,
"processId": 123,
"type": "CONTACTS",
"totalRows": 123,
"importedRows": 123,
"failedRows": 123,
"failedDetail": [
{
"rowNumber": 123,
"error": "<string>"
}
]
},
"dedicatedCvuIssuanceProcessMetadata": {
"id": 123,
"processId": 123,
"aliasPrefix": "<string>",
"totalContacts": 123,
"issuedCount": 123,
"failedCount": 123
},
"bulkTransaction": {
"id": 212,
"name": "Sueldos noviembre",
"type": "TRANSFER",
"status": "PREVIEW",
"executionMode": "EXECUTE"
}
},
"pageSize": 123,
"cursor": 123,
"hasMore": true
}
}{
"code": 400,
"error": "INTERNAL_SERVER_ERROR",
"message": "<unknown>"
}{
"code": 401,
"error": "INTERNAL_SERVER_ERROR",
"message": "<unknown>"
}{
"code": 500,
"error": "INTERNAL_SERVER_ERROR",
"message": "<unknown>"
}Cuentas por Cobrar
Crear facturas de cobro (cuentas por cobrar)
Crea una o más facturas de cobro, que son montos que la empresa espera recibir de sus pagadores. El body es un array, así que se pueden crear varias en un pedido. Devuelve las facturas de la empresa, incluidas las nuevas.
POST
/
v3
/
invoice
/
Crear facturas de cobro (cuentas por cobrar)
curl --request POST \
--url https://api.cresium.app/v3/invoice/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-company-id: <api-key>' \
--header 'x-signature: <api-key>' \
--header 'x-timestamp: <api-key>' \
--data '
[
{
"amount": 15000.5,
"payerNationalIdentifier": "20111111112",
"payerName": "Juana Pérez",
"description": "<string>",
"internalNote": "<string>",
"payerInternalNote": "<string>",
"expiresAt": "2026-12-11T15:00:00.000Z",
"issuedAt": "2026-11-11T15:00:00.000Z",
"payerEmail": "juana@empresa.com",
"externalId": "factura-2026-0001",
"fileKey": "<string>"
}
]
'import requests
url = "https://api.cresium.app/v3/invoice/"
payload = [
{
"amount": 15000.5,
"payerNationalIdentifier": "20111111112",
"payerName": "Juana Pérez",
"description": "<string>",
"internalNote": "<string>",
"payerInternalNote": "<string>",
"expiresAt": "2026-12-11T15:00:00.000Z",
"issuedAt": "2026-11-11T15:00:00.000Z",
"payerEmail": "juana@empresa.com",
"externalId": "factura-2026-0001",
"fileKey": "<string>"
}
]
headers = {
"x-api-key": "<api-key>",
"x-signature": "<api-key>",
"x-timestamp": "<api-key>",
"x-company-id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'x-api-key': '<api-key>',
'x-signature': '<api-key>',
'x-timestamp': '<api-key>',
'x-company-id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify([
{
amount: 15000.5,
payerNationalIdentifier: '20111111112',
payerName: 'Juana Pérez',
description: '<string>',
internalNote: '<string>',
payerInternalNote: '<string>',
expiresAt: '2026-12-11T15:00:00.000Z',
issuedAt: '2026-11-11T15:00:00.000Z',
payerEmail: 'juana@empresa.com',
externalId: 'factura-2026-0001',
fileKey: '<string>'
}
])
};
fetch('https://api.cresium.app/v3/invoice/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cresium.app/v3/invoice/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'amount' => 15000.5,
'payerNationalIdentifier' => '20111111112',
'payerName' => 'Juana Pérez',
'description' => '<string>',
'internalNote' => '<string>',
'payerInternalNote' => '<string>',
'expiresAt' => '2026-12-11T15:00:00.000Z',
'issuedAt' => '2026-11-11T15:00:00.000Z',
'payerEmail' => 'juana@empresa.com',
'externalId' => 'factura-2026-0001',
'fileKey' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>",
"x-company-id: <api-key>",
"x-signature: <api-key>",
"x-timestamp: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.cresium.app/v3/invoice/"
payload := strings.NewReader("[\n {\n \"amount\": 15000.5,\n \"payerNationalIdentifier\": \"20111111112\",\n \"payerName\": \"Juana Pérez\",\n \"description\": \"<string>\",\n \"internalNote\": \"<string>\",\n \"payerInternalNote\": \"<string>\",\n \"expiresAt\": \"2026-12-11T15:00:00.000Z\",\n \"issuedAt\": \"2026-11-11T15:00:00.000Z\",\n \"payerEmail\": \"juana@empresa.com\",\n \"externalId\": \"factura-2026-0001\",\n \"fileKey\": \"<string>\"\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-signature", "<api-key>")
req.Header.Add("x-timestamp", "<api-key>")
req.Header.Add("x-company-id", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.cresium.app/v3/invoice/")
.header("x-api-key", "<api-key>")
.header("x-signature", "<api-key>")
.header("x-timestamp", "<api-key>")
.header("x-company-id", "<api-key>")
.header("Content-Type", "application/json")
.body("[\n {\n \"amount\": 15000.5,\n \"payerNationalIdentifier\": \"20111111112\",\n \"payerName\": \"Juana Pérez\",\n \"description\": \"<string>\",\n \"internalNote\": \"<string>\",\n \"payerInternalNote\": \"<string>\",\n \"expiresAt\": \"2026-12-11T15:00:00.000Z\",\n \"issuedAt\": \"2026-11-11T15:00:00.000Z\",\n \"payerEmail\": \"juana@empresa.com\",\n \"externalId\": \"factura-2026-0001\",\n \"fileKey\": \"<string>\"\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cresium.app/v3/invoice/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["x-signature"] = '<api-key>'
request["x-timestamp"] = '<api-key>'
request["x-company-id"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"amount\": 15000.5,\n \"payerNationalIdentifier\": \"20111111112\",\n \"payerName\": \"Juana Pérez\",\n \"description\": \"<string>\",\n \"internalNote\": \"<string>\",\n \"payerInternalNote\": \"<string>\",\n \"expiresAt\": \"2026-12-11T15:00:00.000Z\",\n \"issuedAt\": \"2026-11-11T15:00:00.000Z\",\n \"payerEmail\": \"juana@empresa.com\",\n \"externalId\": \"factura-2026-0001\",\n \"fileKey\": \"<string>\"\n }\n]"
response = http.request(request)
puts response.read_body{
"data": {
"invoices": [
{
"id": 9120,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"uuid": "<string>",
"amount": 15000.5,
"status": "DRAFT",
"isExpired": true,
"createdAt": "2026-11-11T15:00:00.000Z",
"issuedAt": "2026-11-11T15:00:00.000Z",
"companyId": 456,
"sanitizedAmount": 123,
"issuedAmount": 15000.5,
"paidAmount": 0,
"pendingAmount": 15000.5,
"remindersDisabled": true,
"reconciliationStatus": "RECOMMENDED",
"company": {
"id": 456,
"cuit": "30712345678",
"name": "Mi Empresa SA",
"phone": "<string>",
"email": "<string>",
"nationality": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "PENDING_APPROVAL",
"fantasyName": "<string>",
"image": "<string>"
},
"issuedCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"userAddress": {
"id": 5120,
"name": "Proveedor SA",
"uuid": "<string>",
"ranking": 123,
"emails": [
"<string>"
],
"description": "<string>",
"phone": "<string>",
"defaultAddressId": 123,
"displayName": "<string>"
},
"allocations": [
{
"id": 770,
"amount": 15000.5,
"origin": "DIRECT_PAYMENT",
"invoiceId": 123,
"transactionId": 123,
"createdAt": "2026-11-11T15:00:00.000Z",
"transaction": {
"id": 98123,
"type": "DEPOSIT",
"status": "SUCCESS",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"fromId": 123,
"toId": 123,
"companyId": 456,
"walletId": 123,
"createdAt": "2026-11-11T15:00:00.000Z",
"totalAmount": 15000.5,
"netAmount": 14910.5,
"from": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"img": "<string>",
"displayName": "<string>"
},
"to": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"img": "<string>",
"displayName": "<string>"
},
"amounts": [
{
"id": 3511,
"transactionId": 98123,
"type": "FEE",
"amount": 89.5,
"key": "<string>"
}
],
"externalId": "<string>",
"collaboratorId": 123,
"tag": "RENTAL",
"bulkTransactionId": 123,
"reversalOfId": 123,
"internalNote": "<string>",
"addressId": 123,
"address": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"img": "<string>",
"displayName": "<string>"
},
"collaborator": {
"id": 1802,
"email": "juana@empresa.com",
"role": "OWNER",
"status": "CREATED",
"firstName": "Juana",
"lastName": "Pérez",
"image": "<string>",
"phone": "<string>",
"birthDate": "2023-11-07T05:31:56Z",
"nationalIdentifier": "20111111112",
"profession": "<string>",
"signerPowerExpirationDate": "2023-11-07T05:31:56Z",
"requestedRole": "OWNER",
"requestedRoleStatus": "REQUESTED",
"roleRejectionReason": "<string>",
"isPep": true,
"pepMotive": "<string>",
"isObligatedSubject": true,
"obligatedSubjectMotive": "<string>",
"documentType": "CUIT_AR",
"idDocumentType": "CUIT_AR",
"documentNumber": "<string>",
"representationType": "ADMINISTRADOR",
"nationality": "AR",
"birthNationality": "AR",
"gender": "FEMALE",
"civilStatus": "SOLTERO",
"spouseFirstName": "<string>",
"spouseLastName": "<string>",
"spouseDocumentType": "CUIT_AR",
"spouseDocumentNumber": "<string>"
},
"contactId": 123,
"contact": {
"id": 5120,
"name": "Proveedor SA",
"uuid": "<string>",
"ranking": 123,
"emails": [
"<string>"
],
"description": "<string>",
"phone": "<string>",
"defaultAddressId": 123,
"displayName": "<string>"
},
"updatedAt": "2023-11-07T05:31:56Z",
"processedAt": "2023-11-07T05:31:56Z",
"paymentAllocations": [
{
"id": 123,
"amount": 123,
"origin": "DIRECT_PAYMENT",
"paymentId": 123,
"transactionId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"payment": {
"id": 123,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"amount": 123,
"sanitizedAmount": 123,
"issuedCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"issuedAmount": 123,
"status": "PENDING",
"isExpired": true,
"issuedAt": "2023-11-07T05:31:56Z",
"exchangeRate": 123,
"exchangeRateBaseCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"exchangeRateQuoteCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"externalId": "<string>",
"description": "<string>",
"createdAt": "<string>",
"expiresAt": "<string>",
"fileUrl": "<string>"
}
}
],
"invoiceAllocations": [
{
"id": 770,
"amount": 15000.5,
"origin": "DIRECT_PAYMENT",
"invoiceId": 123,
"transactionId": 123,
"createdAt": "2026-11-11T15:00:00.000Z",
"invoice": {
"id": 9120,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"uuid": "<string>",
"amount": 15000.5,
"status": "DRAFT",
"isExpired": true,
"createdAt": "2026-11-11T15:00:00.000Z",
"issuedAt": "2026-11-11T15:00:00.000Z",
"externalId": "<string>",
"processId": 123,
"description": "<string>",
"expiresAt": "2026-12-11T15:00:00.000Z",
"fileUrl": "<string>"
}
}
],
"recipients": [
{
"type": "EMAIL",
"value": "proveedor@empresa.com"
}
],
"billPayment": {
"debtIdentifier": "0123456789",
"companyName": "<string>",
"alias": "<string>",
"expirationDate": "<string>"
},
"bulkTransaction": {
"id": 212,
"name": "Sueldos noviembre",
"type": "TRANSFER"
},
"sendingDate": "2023-11-07T05:31:56Z",
"depositAddress": {
"id": 3021,
"type": "CVU",
"value": "0000253100000000001234",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"bankProvider": {
"name": "BIND",
"img": "<string>"
},
"externalId": "<string>",
"wallet": {
"id": 123,
"balance": 1000000,
"lockedBalance": 50000,
"investedBalance": 200000,
"availableBalance": 750000,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"companyId": 456
},
"hasEcheqs": true,
"currentAccount": {
"contactId": 5120
}
},
"description": "Factura 0001-00001234",
"marivaMetadata": {
"receipt": "<string>",
"code": "<string>",
"internalDescription": "<string>"
},
"walletSnapshots": {
"balance": 123
}
}
}
],
"creditNotes": [
{
"id": 123,
"uuid": "<string>",
"companyId": 123,
"userAddressId": 123,
"amount": 123,
"status": "DRAFT",
"createdAt": "2023-11-07T05:31:56Z",
"userAddress": {
"id": 5120,
"name": "Proveedor SA",
"uuid": "<string>",
"ranking": 123,
"emails": [
"<string>"
],
"description": "<string>",
"phone": "<string>",
"defaultAddressId": 123,
"displayName": "<string>"
},
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"collaboratorId": 123,
"invoiceId": 123,
"processId": 123,
"description": "<string>",
"externalId": "<string>",
"fileUrl": "<string>"
}
],
"debitNotes": [
{
"id": 123,
"uuid": "<string>",
"companyId": 123,
"userAddressId": 123,
"amount": 123,
"status": "DRAFT",
"createdAt": "2023-11-07T05:31:56Z",
"userAddress": {
"id": 5120,
"name": "Proveedor SA",
"uuid": "<string>",
"ranking": 123,
"emails": [
"<string>"
],
"description": "<string>",
"phone": "<string>",
"defaultAddressId": 123,
"displayName": "<string>"
},
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"collaboratorId": 123,
"invoiceId": 123,
"processId": 123,
"description": "<string>",
"externalId": "<string>",
"fileUrl": "<string>"
}
],
"withholdings": [
{
"id": 123,
"invoiceId": 123,
"amount": 123,
"type": "VAT",
"createdAt": "2023-11-07T05:31:56Z",
"fileUrl": "<string>"
}
],
"trackers": [
{
"id": 123,
"companyId": 123,
"invoiceId": 123,
"sequenceId": 123,
"reminderId": 123,
"contactId": 123,
"sendingDate": "2023-11-07T05:31:56Z",
"status": "PENDING",
"sentAt": "2023-11-07T05:31:56Z"
}
],
"externalPayments": [
{
"id": 123,
"invoiceId": 123,
"paymentMethod": "CASH",
"paymentAmount": 123,
"paymentDate": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"description": "<string>"
}
],
"activity": [
{
"id": 123,
"type": "CREATED",
"invoiceId": 123,
"date": "2023-11-07T05:31:56Z",
"collaboratorId": 123
}
],
"externalId": "<string>",
"processId": 123,
"description": "<string>",
"expiresAt": "2026-12-11T15:00:00.000Z",
"fileUrl": "<string>",
"exchangeRate": 123,
"exchangeRateBaseCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"exchangeRateQuoteCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"collaboratorId": 123,
"paidAt": "2023-11-07T05:31:56Z",
"daysToExpiration": 123,
"internalNote": "<string>",
"payerInternalNote": "<string>",
"collaborator": {
"id": 1802,
"email": "juana@empresa.com",
"role": "OWNER",
"status": "CREATED",
"firstName": "Juana",
"lastName": "Pérez",
"image": "<string>",
"phone": "<string>",
"birthDate": "2023-11-07T05:31:56Z",
"nationalIdentifier": "20111111112",
"profession": "<string>",
"signerPowerExpirationDate": "2023-11-07T05:31:56Z",
"requestedRole": "OWNER",
"requestedRoleStatus": "REQUESTED",
"roleRejectionReason": "<string>",
"isPep": true,
"pepMotive": "<string>",
"isObligatedSubject": true,
"obligatedSubjectMotive": "<string>",
"documentType": "CUIT_AR",
"idDocumentType": "CUIT_AR",
"documentNumber": "<string>",
"representationType": "ADMINISTRADOR",
"nationality": "AR",
"birthNationality": "AR",
"gender": "FEMALE",
"civilStatus": "SOLTERO",
"spouseFirstName": "<string>",
"spouseLastName": "<string>",
"spouseDocumentType": "CUIT_AR",
"spouseDocumentNumber": "<string>"
},
"erpLink": {
"companyIntegrationId": 123,
"erpObject": "ODOO_PARTNER",
"direction": "IMPORTED",
"status": "PENDING",
"erpId": "<string>"
},
"sequence": {
"id": 123,
"companyId": 123,
"name": "<string>",
"status": "ACTIVE",
"excludeNonBusinessDays": true,
"reminders": [
{
"id": 123,
"sequenceId": 123,
"sendingMomentType": "ON_INVOICE_CREATION",
"sendingMomentDays": 123,
"channel": "EMAIL",
"subject": "<string>",
"body": "<string>",
"includeInvoiceFile": true,
"includePaymentLink": true
}
]
}
}
],
"maxItems": 123,
"lastProcess": {
"id": 123,
"uuid": "<string>",
"companyId": 123,
"type": "INVOICE_UPLOAD",
"status": "PENDING",
"createdAt": "2023-11-07T05:31:56Z",
"collaboratorId": 123,
"invoiceProcessMetadata": {
"id": 123,
"filesToProcess": 123,
"invoicesProcessed": 123,
"creditNotesProcessed": 123,
"debitNotesProcessed": 123,
"errors": [
{
"fileName": "<string>",
"error": "INTERNAL_SERVER_ERROR",
"externalId": "<string>",
"fileUrl": "<string>"
}
]
},
"paymentProcessMetadata": {
"id": 123,
"filesToProcess": 123,
"paymentsProcessed": 123,
"withholdingsProcessed": 123,
"errors": [
{
"fileName": "<string>",
"error": "INTERNAL_SERVER_ERROR",
"externalId": "<string>",
"fileUrl": "<string>"
}
]
},
"companyIntegrationSyncProcessMetadata": {
"id": 123,
"processId": 123,
"importedContacts": 123,
"failedImportedContacts": 123,
"importedInvoices": 123,
"failedImportedInvoices": 123,
"updatedInvoices": 123,
"canceledInvoices": 123,
"importedPayments": 123,
"failedImportedPayments": 123,
"importedCreditNotes": 123,
"failedImportedCreditNotes": 123,
"importedDebitNotes": 123,
"failedImportedDebitNotes": 123,
"exportedCreditNotes": 123,
"failedExportedCreditNotes": 123,
"exportedDebitNotes": 123,
"failedExportedDebitNotes": 123,
"exportedTransactions": 123,
"exportedWithholdings": 123,
"failedExportedWithholdings": 123,
"failedExportedTransactions": [
{
"id": 98123,
"type": "DEPOSIT",
"status": "SUCCESS",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"fromId": 123,
"toId": 123,
"companyId": 456,
"walletId": 123,
"createdAt": "2026-11-11T15:00:00.000Z",
"totalAmount": 15000.5,
"netAmount": 14910.5,
"from": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"img": "<string>",
"displayName": "<string>"
},
"to": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"img": "<string>",
"displayName": "<string>"
},
"amounts": [
{
"id": 3511,
"transactionId": 98123,
"type": "FEE",
"amount": 89.5,
"key": "<string>"
}
],
"externalId": "<string>",
"collaboratorId": 123,
"tag": "RENTAL",
"bulkTransactionId": 123,
"reversalOfId": 123,
"internalNote": "<string>",
"addressId": 123,
"address": {
"id": 7741,
"type": "CBU",
"value": "0110599520000001234567",
"bankName": "Banco de la Nación Argentina",
"ownerName": "Proveedor SA",
"uuid": "<string>",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"img": "<string>",
"displayName": "<string>"
},
"collaborator": {
"id": 1802,
"email": "juana@empresa.com",
"role": "OWNER",
"status": "CREATED",
"firstName": "Juana",
"lastName": "Pérez",
"image": "<string>",
"phone": "<string>",
"birthDate": "2023-11-07T05:31:56Z",
"nationalIdentifier": "20111111112",
"profession": "<string>",
"signerPowerExpirationDate": "2023-11-07T05:31:56Z",
"requestedRole": "OWNER",
"requestedRoleStatus": "REQUESTED",
"roleRejectionReason": "<string>",
"isPep": true,
"pepMotive": "<string>",
"isObligatedSubject": true,
"obligatedSubjectMotive": "<string>",
"documentType": "CUIT_AR",
"idDocumentType": "CUIT_AR",
"documentNumber": "<string>",
"representationType": "ADMINISTRADOR",
"nationality": "AR",
"birthNationality": "AR",
"gender": "FEMALE",
"civilStatus": "SOLTERO",
"spouseFirstName": "<string>",
"spouseLastName": "<string>",
"spouseDocumentType": "CUIT_AR",
"spouseDocumentNumber": "<string>"
},
"contactId": 123,
"contact": {
"id": 5120,
"name": "Proveedor SA",
"uuid": "<string>",
"ranking": 123,
"emails": [
"<string>"
],
"description": "<string>",
"phone": "<string>",
"defaultAddressId": 123,
"displayName": "<string>"
},
"updatedAt": "2023-11-07T05:31:56Z",
"processedAt": "2023-11-07T05:31:56Z",
"paymentAllocations": [
{
"id": 123,
"amount": 123,
"origin": "DIRECT_PAYMENT",
"paymentId": 123,
"transactionId": 123,
"createdAt": "2023-11-07T05:31:56Z",
"payment": {
"id": 123,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"amount": 123,
"sanitizedAmount": 123,
"issuedCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"issuedAmount": 123,
"status": "PENDING",
"isExpired": true,
"issuedAt": "2023-11-07T05:31:56Z",
"exchangeRate": 123,
"exchangeRateBaseCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"exchangeRateQuoteCurrency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"externalId": "<string>",
"description": "<string>",
"createdAt": "<string>",
"expiresAt": "<string>",
"fileUrl": "<string>"
}
}
],
"invoiceAllocations": [
{
"id": 770,
"amount": 15000.5,
"origin": "DIRECT_PAYMENT",
"invoiceId": 123,
"transactionId": 123,
"createdAt": "2026-11-11T15:00:00.000Z",
"invoice": {
"id": 9120,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"uuid": "<string>",
"amount": 15000.5,
"status": "DRAFT",
"isExpired": true,
"createdAt": "2026-11-11T15:00:00.000Z",
"issuedAt": "2026-11-11T15:00:00.000Z",
"externalId": "<string>",
"processId": 123,
"description": "<string>",
"expiresAt": "2026-12-11T15:00:00.000Z",
"fileUrl": "<string>"
}
}
],
"recipients": [
{
"type": "EMAIL",
"value": "proveedor@empresa.com"
}
],
"billPayment": {
"debtIdentifier": "0123456789",
"companyName": "<string>",
"alias": "<string>",
"expirationDate": "<string>"
},
"bulkTransaction": {
"id": 212,
"name": "Sueldos noviembre",
"type": "TRANSFER"
},
"sendingDate": "2023-11-07T05:31:56Z",
"depositAddress": {
"id": 3021,
"type": "CVU",
"value": "0000253100000000001234",
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"bankProvider": {
"name": "BIND",
"img": "<string>"
},
"externalId": "<string>",
"wallet": {
"id": 123,
"balance": 1000000,
"lockedBalance": 50000,
"investedBalance": 200000,
"availableBalance": 750000,
"currency": {
"symbol": "$",
"code": "ARS",
"image": "<string>",
"decimals": 2
},
"companyId": 456
},
"hasEcheqs": true,
"currentAccount": {
"contactId": 5120
}
},
"description": "Factura 0001-00001234",
"marivaMetadata": {
"receipt": "<string>",
"code": "<string>",
"internalDescription": "<string>"
},
"walletSnapshots": {
"balance": 123
}
}
],
"failedImportedContactsIds": "<unknown>",
"failedImportedInvoicesIds": "<unknown>",
"failedImportedPaymentsIds": "<unknown>",
"failedImportedCreditNotesIds": "<unknown>",
"failedImportedDebitNotesIds": "<unknown>",
"failedExportedCreditNotesIds": "<unknown>",
"failedExportedDebitNotesIds": "<unknown>",
"failedExportedWithholdingsIds": "<unknown>"
},
"bulkImportProcessMetadata": {
"id": 123,
"processId": 123,
"type": "CONTACTS",
"totalRows": 123,
"importedRows": 123,
"failedRows": 123,
"failedDetail": [
{
"rowNumber": 123,
"error": "<string>"
}
]
},
"dedicatedCvuIssuanceProcessMetadata": {
"id": 123,
"processId": 123,
"aliasPrefix": "<string>",
"totalContacts": 123,
"issuedCount": 123,
"failedCount": 123
},
"bulkTransaction": {
"id": 212,
"name": "Sueldos noviembre",
"type": "TRANSFER",
"status": "PREVIEW",
"executionMode": "EXECUTE"
}
},
"pageSize": 123,
"cursor": 123,
"hasMore": true
}
}{
"code": 400,
"error": "INTERNAL_SERVER_ERROR",
"message": "<unknown>"
}{
"code": 401,
"error": "INTERNAL_SERVER_ERROR",
"message": "<unknown>"
}{
"code": 500,
"error": "INTERNAL_SERVER_ERROR",
"message": "<unknown>"
}Autorizaciones
Cuerpo
application/json