curl --location --request POST '/clients//autopostings/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"metadata": {
"userId": "TestUser",
"suppressWarnings": false,
"validateOnly": false
},
"postings": [
{
"arItemId": "2218-500002-35078-0",
"dueDate": "2025-07-15",
"currency": "NOK",
"currencyAmount": 150,
"voucherDate": "2025-07-16"
}
]
}'{
"status": "PROCESSED",
"result": "CREATED",
"message": "Posting(s) performed",
"clientNo": 2218,
"autoPostings": [
{
"arItemId": "2218-500002-35078-0",
"result": "CREATED",
"resultType": "OK",
"message": "Posting performed"
}
]
}