Hi! We're once again having problems creating a specific customer invoice where we get back a message that is difficult to interpret in the form of {"message":"VismaId: 31e7c153-86a7-4d17-8568-7d2ca5b233f4. Object reference not set to an instance of an object."} Could you please help us in this case as soon as possible as well as look into handling this error in a better way? Company-Id: 4609946 Below is the JSON { "ReferenceNumber": { "Value": "1923" }, "Note": { "Value": "[Fakturanummer: XXXX;KF23]" }, "DocumentDate": { "Value": "2023-06-01T00:00:00" }, "CurrencyId": { "Value": "EUR" }, "CreditTermsId": { "Value": "60" }, "Hold": null, "OverrideNumberSeries": { "Value": true }, "BranchNumber": null, "ExternalReference": { "Value": "XXX" }, "CustomerRefNumber": null, "UnitOfMeasure": null, "InvoiceText": { "Value": "Avtal XX-XX XXX" }, "ExchangeRate": null, "Contact": null, "CustomerNumber": { "Value": "10034" }, "SalesPerson": null, "LocationId": null, "AccountNumber": null, "PaymentReference": { "Value": "XXXX" }, "FinancialPeriod": { "Value": "202306" }, "Subaccount": null, "InvoiceLines": [ { "InventoryNumber": null, "Description": { "Value": "Avtalsnr: XX-XX, Avtalsperiod: 2023-06-01 - 2024-05-31" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "0000000" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "00" }, { "SegmentId": 4, "SegmentValue": "00" }, { "SegmentId": 5, "SegmentValue": "00" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "-" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "0000000" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "00" }, { "SegmentId": 4, "SegmentValue": "00" }, { "SegmentId": 5, "SegmentValue": "00" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "Facility:\r\n XXX" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "0000000" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "00" }, { "SegmentId": 4, "SegmentValue": "00" }, { "SegmentId": 5, "SegmentValue": "00" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "-" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "0000000" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "00" }, { "SegmentId": 4, "SegmentValue": "00" }, { "SegmentId": 5, "SegmentValue": "00" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "Portar" }, "Uom": null, "Quantity": { "Value": 12.0 }, "UnitPriceInCurrency": { "Value": 42.12 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "1001022" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "16" }, { "SegmentId": 4, "SegmentValue": "01" }, { "SegmentId": 5, "SegmentValue": "40" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "19 Doors á 25 SEK" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "0000000" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "00" }, { "SegmentId": 4, "SegmentValue": "00" }, { "SegmentId": 5, "SegmentValue": "00" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "-" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "0000000" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "00" }, { "SegmentId": 4, "SegmentValue": "00" }, { "SegmentId": 5, "SegmentValue": "00" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "-" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "0000000" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "00" }, { "SegmentId": 4, "SegmentValue": "00" }, { "SegmentId": 5, "SegmentValue": "00" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "\"Reverse charge\"" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "0000000" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "00" }, { "SegmentId": 4, "SegmentValue": "00" }, { "SegmentId": 5, "SegmentValue": "00" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "-" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "1001022" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "16" }, { "SegmentId": 4, "SegmentValue": "01" }, { "SegmentId": 5, "SegmentValue": "40" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "Ert momsregistreringsnummer XXXX" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "1001022" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "16" }, { "SegmentId": 4, "SegmentValue": "01" }, { "SegmentId": 5, "SegmentValue": "40" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null }, { "InventoryNumber": null, "Description": { "Value": "Omvänd betalningsskyldighet gäller för denna faktura" }, "Uom": null, "Quantity": { "Value": 1.0 }, "UnitPriceInCurrency": { "Value": 0.0 }, "ManualAmountInCurrency": null, "Note": null, "Subaccount": [ { "SegmentId": 1, "SegmentValue": "1001022" }, { "SegmentId": 2, "SegmentValue": "800839" }, { "SegmentId": 3, "SegmentValue": "16" }, { "SegmentId": 4, "SegmentValue": "01" }, { "SegmentId": 5, "SegmentValue": "40" }, { "SegmentId": 6, "SegmentValue": "00" } ], "VatCodeId": { "Value": "04" }, "AccountNumber": { "Value": "3046" }, "Operation": "Insert", "LineNumber": null, "ManualDiscount": null, "DiscountPercent": { "Value": 0.0 }, "DiscountAmountInCurrency": null, "DeferralCode": null } ] }
... View more