| Campo | Tipo | Requerido | Descripcion |
|---|---|---|---|
amount | number | Si | Monto de la factura |
payerNationalIdentifier | string | Si | CUIT/CUIL del pagador |
payerName | string | Si | Nombre del pagador |
status | enum | Si | Estado inicial de la factura |
description | string | No | Descripcion/concepto |
internalNote | string | No | Nota interna (no visible al pagador) |
payerInternalNote | string | No | Nota interna del pagador |
payerEmail | string | No | Email del pagador |
expiresAt | string (ISO 8601) | No | Fecha de vencimiento |
createdAt | string (ISO 8601) | No | Fecha de creacion (default: ahora) |
externalId | string | No | ID externo para correlacion con sistema del partner |
fileUrl | string | No | URL del archivo/comprobante adjunto |
curl --location --request POST 'https://api.develop.cresium.app/v3/invoice/' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"amount": 0,
"description": "string",
"internalNote": "string",
"payerInternalNote": "string",
"payerNationalIdentifier": "string",
"payerName": "string",
"expiresAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z",
"payerEmail": "string",
"externalId": "string",
"fileUrl": "string",
"status": "PROCESSING"
}
]'{
"data": {
"invoices": [
{
"id": 0,
"externalId": "string",
"erpReferenceId": "string",
"companyId": 0,
"collaboratorId": 0,
"amount": 0,
"status": "PROCESSING",
"createdAt": "string",
"internalNote": "string",
"payerInternalNote": "string",
"description": "string",
"payerNationalIdentifier": "string",
"payerName": "string",
"payerEmail": "string",
"fileUrl": "string",
"expiresAt": "2019-08-24T14:15:22.123Z",
"paymentMethod": "CASH",
"paymentDate": "2019-08-24T14:15:22.123Z",
"paymentAmount": 0,
"collaborator": {
"id": 0,
"firstName": "string",
"lastName": "string",
"image": "string",
"email": "string",
"role": "OWNER",
"phone": "string",
"birthDate": "2019-08-24T14:15:22.123Z",
"status": "CREATED"
},
"company": {
"id": 0,
"cuit": "string",
"name": "string",
"image": "string",
"phone": "string",
"email": "string",
"nationality": "string"
},
"transactions": [
{
"id": 0,
"type": "DEPOSIT",
"status": "PREVIEW",
"externalId": "string",
"currencyId": 0,
"currency": {
"symbol": "string",
"code": "ARS",
"image": "string",
"decimals": 0
},
"fromId": 0,
"toId": 0,
"from": {
"id": 0,
"type": "CVU",
"value": "string",
"bankName": "string",
"ownerName": "string",
"img": "string",
"uuid": "string"
},
"to": {
"id": 0,
"type": "CVU",
"value": "string",
"bankName": "string",
"ownerName": "string",
"img": "string",
"uuid": "string"
},
"companyId": 0,
"collaboratorId": 0,
"collaborator": {
"id": 0,
"firstName": "string",
"lastName": "string",
"image": "string",
"email": "string",
"role": "OWNER",
"phone": "string",
"birthDate": "2019-08-24T14:15:22.123Z",
"status": "CREATED"
},
"walletId": 0,
"tag": "RENTAL",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z",
"processedAt": "2019-08-24T14:15:22.123Z",
"totalAmount": 0,
"netAmount": 0,
"bulkTransactionId": 0,
"amounts": [
{
"id": 0,
"transactionId": 0,
"type": "FEE",
"amount": 0,
"key": "string"
}
],
"recipients": [
{
"type": "EMAIL",
"value": "string"
}
],
"billPayment": {
"companyName": "string",
"debtIdentifier": "string",
"expirationDate": "string"
},
"sendingDate": "2019-08-24T14:15:22.123Z",
"depositAddress": {
"id": 0,
"type": "CVU",
"value": "string",
"externalId": "string",
"currencyId": 0,
"currency": {
"symbol": "string",
"code": "ARS",
"image": "string",
"decimals": 0
},
"bankProvider": {
"name": "BIND",
"img": "string"
},
"wallet": {
"id": 0,
"balance": 0,
"lockedBalance": 0,
"investedBalance": 0,
"availableBalance": 0,
"currency": {
"symbol": "string",
"code": "ARS",
"image": "string",
"decimals": 0
},
"companyId": 0
},
"hasEcheqs": true
},
"description": "string",
"rawData": null
}
],
"currency": {
"symbol": "string",
"code": "ARS",
"image": "string",
"decimals": 0
},
"companyIntegration": {
"id": 0,
"companyId": 0,
"key": "KONVEX",
"enabled": true,
"url": "string",
"metadata": null,
"img": "string",
"name": "string",
"lastSync": "string"
},
"userAddress": {
"id": 0,
"name": "string",
"uuid": "string",
"description": "string",
"ranking": 0,
"email": "string",
"phone": "string"
},
"uuid": "string",
"userAddressAccumulators": {
"PENDING": {
"amount": 0,
"summedAmounts": 0
},
"EXPIRED": {
"amount": 0,
"summedAmounts": 0
},
"PAID": {
"amount": 0,
"summedAmounts": 0
}
}
}
],
"pageSize": 0,
"cursor": 0,
"hasMore": true
}
}