Hi Peder
I have just tested departmentalDistribution on the line with success:
{
"draftInvoiceNumber": 168,
...snip...
"lines": [
{
"lineNumber": 1,
"sortKey": 1,
"departmentalDistribution": {
"departmentalDistributionNumber": 1,
"distributionType": "department",
}
}
],
"pdf": {
},
}
Please let me know if you get it to work or otherwise please share the JSON that makes it fail.