curl --request POST \
--url https://api.stackone.com/unified/accounting/companies/{id}/journals/batch \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--header 'x-account-id: <x-account-id>' \
--data '{
"items": [
{
"reference": "JRN-2024-001",
"memo": "Monthly closing entries",
"currency_code": {
"value": "USD",
"source_value": "USD"
},
"exchange_rate": 1,
"transaction_date": "2024-03-20T10:00:00Z",
"lines": [
{
"account_id": "acc_123456789",
"description": "Payment for office supplies",
"amount": 10010,
"tax_rate_id": "tax_123456789",
"tax_amount": 10010
}
]
}
]
}'