Hi Florian,
The issue is that the periodId's under periods should be defined as YYYYMM.
Here is the updated version that I used in my local company:
{
"ledger": {
"value": "TEST"
},
"financialYear": {
"value": "2021"
},
"account": {
"value": "1910"
},
"subaccount": [
{
"segmentId": 1,
"segmentValue": "01"
},
{
"segmentId": 2,
"segmentValue": "001"
},
{
"segmentId": 3,
"segmentValue": "1"
}
],
"description": {
"value": "Budsjett 2021"
},
"amount": {
"value": -958333.26
},
"branchNumber": {
"value": "TEST"
},
"periods": [
{
"operation": "Insert",
"periodId": {
"value": "202101"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202102"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202103"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202104"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202105"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202106"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202107"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202108"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202109"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202110"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202111"
},
"amount": {
"value": -95833.33
}
},
{
"operation": "Insert",
"periodId": {
"value": "202112"
},
"amount": {
"value": -95833.33
}
}
]
}
... View more