curl --request POST \
--url https://api.klavis.ai/sandbox/moneybird/{sandbox_id}/initialize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ledger_accounts": [
{
"name": "<string>",
"account_type": "<string>",
"rgs_code": "<string>",
"account_id": "<string>"
}
],
"contacts": [
{
"company_name": "<string>",
"firstname": "<string>",
"lastname": "<string>",
"phone": "<string>",
"address1": "<string>",
"city": "<string>",
"zipcode": "<string>",
"country": "<string>",
"sepa_iban": "<string>"
}
],
"products": [
{
"description": "<string>",
"title": "<string>",
"price": "<string>",
"currency": "<string>",
"identifier": "<string>",
"frequency": 123,
"frequency_type": "<string>"
}
],
"projects": [
{
"name": "<string>",
"state": "active",
"budget": 123
}
],
"time_entries": [
{
"description": "<string>",
"hours": 123,
"billable": true
}
],
"sales_invoices": [
{
"reference": "<string>",
"details": [
{
"description": "<string>",
"price": "<string>",
"amount": "<string>"
}
],
"currency": "EUR",
"prices_are_incl_tax": false,
"state": "draft"
}
]
}
'