curl --request GET \
--url https://api.fint.app/api/v1/invoice/{invoiceId} \
--header 'x-api-key: <api-key>'{
"id": 123,
"totalAmount": "<string>",
"totalPaid": "<string>",
"totalPending": "<string>",
"totalMora": "<string>",
"interestPaid": "<string>",
"interestSnapshot": "<string>",
"interestSnapshotDate": "<string>",
"status": "DRAFT",
"description": "<string>",
"date": "<string>",
"expirationDate": "<string>",
"settlement": {
"id": 123,
"name": "<string>",
"sentDate": "<string>",
"status": "DRAFT"
},
"lastPaymentDate": "<string>",
"uniqueId": "<string>",
"applyInterest": true,
"externalReference": "<string>",
"contact": {
"id": 123,
"name": "<string>",
"lastName": "<string>",
"documentType": "DNI",
"documentNumber": "<string>"
},
"items": [
{
"id": 123,
"name": "<string>",
"amount": "<string>",
"description": "<string>",
"status": "active",
"type": "credit",
"frequencyType": "one_time",
"startDate": "<string>",
"useCase": "subscription",
"isIndefinite": true,
"condition": "all",
"amountType": "fixed",
"conditionItems": [
{
"id": 123,
"name": "<string>",
"amount": "<string>",
"description": "<string>",
"status": "active",
"type": "credit",
"frequencyType": "one_time",
"startDate": "<string>",
"collectionCycles": 1
}
],
"originalAmount": "<string>",
"imageUrl": "<string>",
"quantity": 123,
"teachableCourseId": 123,
"teachableCourseExpiresAt": "<string>",
"collectionCycles": 1,
"generateInterestForLatePayment": false,
"moraDetails": [
{
"fromDay": 123,
"untilDay": 123,
"percentage": "<string>",
"daysToApply": 123,
"interestCalculated": "<string>",
"interestType": "FIXED",
"itemId": 123,
"configId": 123,
"baseAmount": "<string>"
}
]
}
],
"subscriptionId": 123,
"source": "SETTLEMENT",
"serviceCost": {
"amount": "<string>",
"percentage": "<string>",
"description": "<string>"
},
"payments": [
{
"id": 123,
"date": "<string>",
"status": "PAID",
"method": "DEBIT_CARD",
"totalAmount": "<string>",
"isManual": true,
"reference": "<string>"
}
],
"payerContacts": [
{
"id": 123,
"type": "<string>",
"notify": true,
"name": "<string>",
"lastName": "<string>",
"hash": "<string>",
"documentType": "DNI",
"documentNumber": "<string>",
"address": "<string>",
"city": "<string>",
"province": "<string>",
"phoneNumber": "<string>",
"whatsappNumber": "<string>",
"email": "<string>"
}
],
"files": [
{
"id": 123,
"url": "<string>",
"createdAt": "<string>",
"user": {
"id": 123,
"name": "<string>",
"lastName": "<string>"
}
}
],
"activities": [
{
"id": 123,
"activity": "<string>",
"createdAt": "<string>",
"type": "created",
"history": [
{
"id": 123,
"status": "<string>",
"createdAt": "<string>"
}
],
"reminder": {
"id": 123,
"notificationType": "whatsapp",
"type": "days_after",
"days": 123
},
"lastStatus": "<string>"
}
],
"notes": [
{
"id": 123,
"createdAt": "<string>",
"note": "<string>",
"user": {
"id": 123,
"name": "<string>",
"lastName": "<string>"
}
}
]
}Obtener una factura por su ID
curl --request GET \
--url https://api.fint.app/api/v1/invoice/{invoiceId} \
--header 'x-api-key: <api-key>'{
"id": 123,
"totalAmount": "<string>",
"totalPaid": "<string>",
"totalPending": "<string>",
"totalMora": "<string>",
"interestPaid": "<string>",
"interestSnapshot": "<string>",
"interestSnapshotDate": "<string>",
"status": "DRAFT",
"description": "<string>",
"date": "<string>",
"expirationDate": "<string>",
"settlement": {
"id": 123,
"name": "<string>",
"sentDate": "<string>",
"status": "DRAFT"
},
"lastPaymentDate": "<string>",
"uniqueId": "<string>",
"applyInterest": true,
"externalReference": "<string>",
"contact": {
"id": 123,
"name": "<string>",
"lastName": "<string>",
"documentType": "DNI",
"documentNumber": "<string>"
},
"items": [
{
"id": 123,
"name": "<string>",
"amount": "<string>",
"description": "<string>",
"status": "active",
"type": "credit",
"frequencyType": "one_time",
"startDate": "<string>",
"useCase": "subscription",
"isIndefinite": true,
"condition": "all",
"amountType": "fixed",
"conditionItems": [
{
"id": 123,
"name": "<string>",
"amount": "<string>",
"description": "<string>",
"status": "active",
"type": "credit",
"frequencyType": "one_time",
"startDate": "<string>",
"collectionCycles": 1
}
],
"originalAmount": "<string>",
"imageUrl": "<string>",
"quantity": 123,
"teachableCourseId": 123,
"teachableCourseExpiresAt": "<string>",
"collectionCycles": 1,
"generateInterestForLatePayment": false,
"moraDetails": [
{
"fromDay": 123,
"untilDay": 123,
"percentage": "<string>",
"daysToApply": 123,
"interestCalculated": "<string>",
"interestType": "FIXED",
"itemId": 123,
"configId": 123,
"baseAmount": "<string>"
}
]
}
],
"subscriptionId": 123,
"source": "SETTLEMENT",
"serviceCost": {
"amount": "<string>",
"percentage": "<string>",
"description": "<string>"
},
"payments": [
{
"id": 123,
"date": "<string>",
"status": "PAID",
"method": "DEBIT_CARD",
"totalAmount": "<string>",
"isManual": true,
"reference": "<string>"
}
],
"payerContacts": [
{
"id": 123,
"type": "<string>",
"notify": true,
"name": "<string>",
"lastName": "<string>",
"hash": "<string>",
"documentType": "DNI",
"documentNumber": "<string>",
"address": "<string>",
"city": "<string>",
"province": "<string>",
"phoneNumber": "<string>",
"whatsappNumber": "<string>",
"email": "<string>"
}
],
"files": [
{
"id": 123,
"url": "<string>",
"createdAt": "<string>",
"user": {
"id": 123,
"name": "<string>",
"lastName": "<string>"
}
}
],
"activities": [
{
"id": 123,
"activity": "<string>",
"createdAt": "<string>",
"type": "created",
"history": [
{
"id": 123,
"status": "<string>",
"createdAt": "<string>"
}
],
"reminder": {
"id": 123,
"notificationType": "whatsapp",
"type": "days_after",
"days": 123
},
"lastStatus": "<string>"
}
],
"notes": [
{
"id": 123,
"createdAt": "<string>",
"note": "<string>",
"user": {
"id": 123,
"name": "<string>",
"lastName": "<string>"
}
}
]
}Retorna la factura solicitada
DRAFT, PENDING, PAID, CANCELED, PARTIALLY_PAID, BONIFIED Show child attributes
DNI, CUIT, CUIL, CDI, LE, LC, CI Extranjera, Pasaporte, CI Policía Federal, Certificado de Migración, RUT, Otro Show child attributes
active, draft credit, debit, mora one_time, monthly, annually subscription, settlement, event all, some, all_except, none fixed, percentage Show child attributes
active, draft credit, debit, mora one_time, monthly, annually Show child attributes
Days to apply the interest
Interest calculated for the mora
FIXED, PERCENTAGE SETTLEMENT, IMPORT, MANUAL, SUBSCRIPTION, EVENT, POS Show child attributes
PAID, VOIDED, CHARGEBACK DEBIT_CARD, CREDIT_CARD, DIRECT_DEBIT, CARD, PAGO_FACIL, RAPI_PAGO, PAGO_MIS_CUENTAS, LINK_PAGO, TRANSFER, CASH, MERCADO_PAGO, MERCADO_PAGO_POINT, SIRO Show child attributes
DNI, CUIT, CUIL, CDI, LE, LC, CI Extranjera, Pasaporte, CI Policía Federal, Certificado de Migración, RUT, Otro Show child attributes
created, payment, payment_attempt, future_reminder, sent_reminder, settlement_sent Show child attributes