Quantcast
Channel: e-conomic Global API Forum
Viewing all articles
Browse latest Browse all 2527

Answered: REST API: Create invoice line with department

$
0
0

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.

Viewing all articles
Browse latest Browse all 2527

Trending Articles