Instructions for Bolt
Step #1
Readhttps://api.educom.nu/contacts to read all new companies, and create a function to synchronize with existing companies in this system.
Step #2
The Export function for invoices now should call the api athttps://api.educom.nu/invoices with the specifications in the endpoints listed below.
Endpoints
POST /invoices
Creates one invoice from a single object body, or multiple invoices from an invoices array.
Single Invoice Example
{
"contact_id": "485020543278385057",
"prices_are_incl_tax": false,
"details_attributes": [
{
"description": "Uren Maart 2026",
"price": 12000.95
},
{
"description": "Uren April 2026",
"price": 13000.95
}
]
}
Multiple Invoices Example
{
"invoices": [
{
"contact_id": "485020543278385057",
"details_attributes": [
{
"description": "Uren Maart 2026",
"price": 12000.95
}
]
},
{
"contact_id": "485020543278385057",
"details_attributes": [
{
"description": "Uren April 2026",
"price": 13000.95
}
]
}
]
}