#marvinschramm-create-invoices
1 messages ยท Page 1 of 1 (latest)
Hej @radiant tiger thx yea
My goal is to add invoice items to a specific invoice (so it does not get picked up by a random different invoice)
So currently due to API limitations, we can't create invoices without invoice line items.
an alternative approach in this case would be to
- create a invoice line item
- create an invoice
- update the same invoice with additional line items
if i try to use the frontend to create an empty invoice i can see
POST /v1/invoice_drafts
is used is that api not public?
@radiant tiger this approach still leaves us with the risk that the line items get picked up by another invoice.
Everything is asynchronous and we have cases where events come in very close to each other
can i prevent an invoice lineitem from being automatically picked up?
Unfortunately there's no way to prevent that from happening at this moment
Okay ๐ฆ
Thanks for checking. would be a good feature to add if possible.
Ill try my best to deal with this
We definitely know it's a big shortcoming and we do want to fix in the future. I flagged your request too in our list so hopefully we can prioritize it this year!