Hi,
You are missing the line operation, the below JSON (modified for use in local company works on our end):
{
"supplier": {
"Value": "50072"
},
"type": {
"Value": "Payment"
},
"paymentRef": {
"Value": "Nettan reglering"
},
"cashAccount": {
"Value": "1963 "
},
"paymentMethod": {
"Value": "4"
},
"paymentAmount": {
"Value": 32030.27
},
"applicationDate": {
"Value": "2023-06-15T00:00:00.000Z"
},
"paymentLines": [{
"operation": "Insert",
"refNbr": {
"Value": "201945"
},
"documentType": {
"Value": "Invoice"
},
"amountPaid": {
"Value": 32030.27
},
"crossRate": {
"Value": 7.45446484
}
}
]
}
... View more