Sorry, the last answer was wrong unfortunally. I double checked this once again and I did not set the overrideNumberSeries in the Json. Now, when I set this I get the next running number from the series and that is wrong. JSon: {"externalReference":{"value":""},"invoiceLines":[{"operation":"Insert","inventoryNumber":{"value":"ANLBTu"},"description":{"value":"XXXXXXXXXX"},"quantity":{"value":1.00000},"unitPriceInCurrency":{"value":99999},"note":{"value":"XXXXXXXXX"}}],"overrideNumberSeries":{"value":true},"referenceNumber":{"value":"97389"},"customerNumber":{"value":"111791"},"documentDate":{"value":"2020-09-21T12:12:50.6714712+02:00"},"invoiceText":{"value":"Ordre: 97389"},"branchNumber":{"value":"1"}} that results in a customerinvoice with invoicenumber 50007 The numberseries is still setup with manual numbering. Florian
... View more