Goal
Create a booked invoice in E-conomic via Make (without sending emailāLikvido handles sending). The customer already exists in E-conomic. The invoice has one fixed product, quantity 1, price 5000, and a dynamic heading from monday (Destination + Departure month).
Setup (short)
-
Trigger: monday ā Watch Boardās Column Values
-
Fetch item: monday ā Get an Item
-
Router: filter for existing customer
-
Lookup in E-conomic: E-conomic ā Search Customers (Search filter = Email, Search term = email from monday)
-
Create invoice: E-conomic ā Create a Booked Invoice
-
Customer Number mapped from Search Customers
-
Heading: āAfrejse til {{Destination}} | {{Departure Month}}ā
-
Line Items: Map = OFF on the Line Items section, and inside it a single Item 1:
-
Product = Product Number 2 (or mapped from Get Product ā Product Number)
-
Quantity = 1
-
Unit Net Price = 5000 (plain number)
-
Line Description = āDepositum for afrejseā (optional)
-
-
The issue
Some runs succeed, but quite often Create a Booked Invoice fails with:
[400] Validation failed. 1 error found. No lines on invoice.
In the module inspector Input I sometimes see lineItems is empty (even though āItem 1ā is filled). Other times itās populated and the run succeeds.
Example payloads
Successful run:
[
{
"lineItems": [
{
"quantity": 1,
"lineNumber": 1,
"description": "Example product description",
"unitNetPrice": 5000,
"productNumber": "P001"
}
],
"notes_heading": "Example heading | October 2025",
"customerNumber": 1234
}
]
Failing run (lineItems missing):
[
{
"notes_heading": "Example heading | October 2025",
"customerNumber": 1234
}
]
Questions for the community
-
Are there known pitfalls with Line Items in āCreate a Booked Invoiceā, where
Item 1gets dropped if the top section has ever been set to Map = ON? -
Is the āsafeā approach to always keep Map = OFF on Line Items (top) and then add
Item 1manually? -
Does the Product Number field have strict type requirements (string vs. number) to avoid the line being discarded?
-
Is there a way to ālockā
Item 1, so Make wonāt clear it during execution?