curl -X POST "https://api.nevatal.com/api/v1/billing/invoices" \
-H "Authorization: Bearer nvtl_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"patientId": "pat_abc123",
"items": [
{
"description": "Consulta General",
"procedureId": "proc_general_consult",
"quantity": 1,
"unitPrice": 150000,
"taxRate": 0.19
}
],
"notes": "Follow-up appointment billing"
}'
{
"id": "inv_002",
"invoiceNumber": "FV-2025-0043",
"patientId": "pat_abc123",
"status": "draft",
"subtotal": 150000,
"tax": 28500,
"total": 178500,
"currency": "COP",
"createdAt": "2025-03-16T09:00:00Z"
}
Billing
Create Invoice
Create a new invoice for a patient
POST
/
api
/
v1
/
billing
/
invoices
curl -X POST "https://api.nevatal.com/api/v1/billing/invoices" \
-H "Authorization: Bearer nvtl_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"patientId": "pat_abc123",
"items": [
{
"description": "Consulta General",
"procedureId": "proc_general_consult",
"quantity": 1,
"unitPrice": 150000,
"taxRate": 0.19
}
],
"notes": "Follow-up appointment billing"
}'
{
"id": "inv_002",
"invoiceNumber": "FV-2025-0043",
"patientId": "pat_abc123",
"status": "draft",
"subtotal": 150000,
"tax": 28500,
"total": 178500,
"currency": "COP",
"createdAt": "2025-03-16T09:00:00Z"
}
Body Parameters
The patient ID
Invoice notes
Discount amount in COP
curl -X POST "https://api.nevatal.com/api/v1/billing/invoices" \
-H "Authorization: Bearer nvtl_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"patientId": "pat_abc123",
"items": [
{
"description": "Consulta General",
"procedureId": "proc_general_consult",
"quantity": 1,
"unitPrice": 150000,
"taxRate": 0.19
}
],
"notes": "Follow-up appointment billing"
}'
{
"id": "inv_002",
"invoiceNumber": "FV-2025-0043",
"patientId": "pat_abc123",
"status": "draft",
"subtotal": 150000,
"tax": 28500,
"total": 178500,
"currency": "COP",
"createdAt": "2025-03-16T09:00:00Z"
}
⌘I

