We have a customer that uses the rut/rot functionality through the API on the CustomerInvoiceV2 endpoint. We have noticed that since middle of january we get wrong amount summed up on the RotRut-total. When using this Json today we get the wrong amount. When we used the same in the beginning of january we got the right amount. Our conclusion is that the check box "distributedAutomatically" does not work in the same way. { "customerNumber": { "value": "61938" }, "creditTermsId": { "value": "30" }, "documentDate": { "value": "2022-03-31T00:00:00.000Z" }, "invoiceText": { "value": "98158 Samma som faktura 106523 Helsingborg" }, "note": { "value": "Ordernummer: 98158\r\nProjektnummer: 2000102\r\nArbetsbeskrivning:\r\nSamma som faktura 106523 Helsingborg" }, "salesperson": { "value": "102" }, "externalReference": { "value": "Test Husarbete" }, "locationId": { "value": "HR5RWLIAVVEUFACN4FC65OSQ54" }, "domesticServicesDeductibleDocument": { "value": true }, "rotRutDetails": { "type": { "value": "Rot" }, "distributedAutomaticaly": { "value": false }, "organizationNbr": { "value": "" }, "estate": { "value": "Berget 12:1" }, "appartment": { "value": "" }, "distribution": [ { "operation": "Insert", "lineNbr": { "value": 0 }, "personalId": { "value": "198601015608" }, "amount": { "value": 14542 }, "extra": { "value": false } } ] }, "invoiceLines": [ { "operation": "Insert", "lineNumber": { "value": 1 }, "domesticServicesDeductible": { "value": false }, "description": { "value": "V\u00E5rt ordernummer: 98158" }, "quantity": { "value": 0 }, "accountNumber": { "value": "9999" } }, { "operation": "Insert", "lineNumber": { "value": 6 }, "domesticServicesDeductible": { "value": true }, "itemType": { "value": "Service" }, "typeOfWork": { "value": "Plumbing" }, "description": { "value": "Fast pris" }, "uom": { "value": "st" }, "quantity": { "value": 17.5 }, "manualAmountInCurrency": { "value": 110800 }, "accountNumber": { "value": "3031" }, "vatCodeId": { "value": "01" }, "subaccount": [ { "segmentId": 1, "segmentValue": "12" }, { "segmentId": 2, "segmentValue": "12" }, { "segmentId": 3, "segmentValue": "2000102" }, { "segmentId": 4, "segmentValue": "98158" }, { "segmentId": 5, "segmentValue": "0" } ] } ] }
... View more