Hi, We had some input from the development team regarding the structure of the request. The request must be sent with an "insert" operation and should not contain two operations. Please try the following.
{
"invoiceLines": [
{
"operation": "Insert",
"lineNumber": {
"value": 1
},
"splitLine": {
"value": true
},
"splitHierarchy": {
"value": "1"
},
"transactionDescription": {
"value": "Prelbokad via verifikat 100320 - Levfaktura nr G15 - Lev. 50"
},
"costInCurrency": {
"value": 20.0
},
"accountNumber": {
"value": "4031"
},
"subaccount": [
{
"segmentId": 1,
"segmentValue": "0"
},
{
"segmentId": 2,
"segmentValue": "00000"
},
{
"segmentId": 3,
"segmentValue": "000"
},
{
"segmentId": 4,
"segmentValue": "00"
},
{
"segmentId": 5,
"segmentValue": "000"
}
],
"note": {
"value": ""
}
}
]
} Kind regards Sandra Anté
... View more