Hi,
when I add {{ Object.keys($json) }} as expression into the parameter Fields it shows me as result all fields seperated by “,”.
But not all fields get inserted into the db.
Here is the input:
{
"_id": "68ad2c87d3fc02ef303fa1f3",
"number": "165/2025",
"numberRaw": 165,
"address": "Amt der Kärntner Landesregierung\nStraßenmeisterei Feldkirchen\nSt. Ruprechter Straße 20\n9560 Feldkirchen",
"textAfterTable": null,
"serviceDate": "2025-08-26T00:00:00.000Z",
"invoiceDate": "2025-08-26T00:00:00.000Z",
"deliveryDate": null,
"purchaseOrderNumber": null,
"paymentStatus": "open",
"sendStatus": "sended",
"worktimeDiscountPercentage": null,
"createdAt": "2025-08-26T03:39:51.839Z",
"dataSyncedAt": null,
"isDeleted": false,
"isCancelled": false,
"customerId": "64eb0cc7f51409da724aeb97",
"isReverseCharge": false,
"isMainDateServiceDate": false,
"totalBeforeTax": 624.6700000000001,
"totalAfterTax": 749.604,
"tax": 124.934,
"termOfCredit": 21,
"positions": [
{
"id": 1,
"service": "Messersatz\nMS 12 Stück",
"articleNumber": "251040",
"quantity": 1,
"price": 590,
"discountPercentage": null,
"total": 590
},
{
"id": 2,
"service": "Fracht",
"articleNumber": "100000",
"quantity": 1,
"price": 27.22,
"discountPercentage": null,
"total": 27.22
},
{
"id": 3,
"service": "Arbeitsstunden + Fahrzeit *",
"articleNumber": "100003",
"quantity": 1,
"price": 7.45,
"discountPercentage": null,
"total": 7.45
}
],
"sendStatusChangedAt": "2025-08-26T03:41:08.149Z",
"updatedAt": "2025-08-26T03:41:08.149Z",
"cancelledAt": null
}
Here ist the output that was inserted:
{
"_id": "68ad2c87d3fc02ef303fa1f3",
"number": "165/2025",
"address": "Amt der Kärntner Landesregierung\nStraßenmeisterei Feldkirchen\nSt. Ruprechter Straße 20\n9560 Feldkirchen",
"paymentStatus": "open",
"createdAt": "2025-08-26T03:39:51.839Z",
"isDeleted": false,
"customerId": "64eb0cc7f51409da724aeb97",
"totalBeforeTax": 624.6700000000001,
"totalAfterTax": 749.604,
"tax": 124.934,
"positions": [
{
"id": 1,
"service": "Messersatz\nMS 12 Stück",
"articleNumber": "251040",
"quantity": 1,
"price": 590,
"discountPercentage": null,
"total": 590
},
{
"id": 2,
"service": "Fracht",
"articleNumber": "100000",
"quantity": 1,
"price": 27.22,
"discountPercentage": null,
"total": 27.22
},
{
"id": 3,
"service": "Arbeitsstunden + Fahrzeit *",
"articleNumber": "100003",
"quantity": 1,
"price": 7.45,
"discountPercentage": null,
"total": 7.45
}
],
"updatedAt": "2025-08-26T03:41:08.149Z",
"sendStatus": "sended",
"serviceDate": "2025-08-26T00:00:00.000Z",
"numberRaw": 165,
"id": "68ad2c87d3fc02ef303fa1f3"
}
Missing fields:
invoiceDate, isCancelled, isMainServiceDate, isReverseCharge, sendStatusChangedAt, termOfCredit, …
But its funny because some dates get inserted, others not. Some Strings get inserted others not.