#marvinschramm-create-invoices

1 messages ยท Page 1 of 1 (latest)

radiant tiger
#

Hey there ๐Ÿ‘‹
taking a look

next stump
#

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)

radiant tiger
#

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
next stump
#

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?

radiant tiger
#

Unfortunately there's no way to prevent that from happening at this moment

next stump
#

Okay ๐Ÿ˜ฆ
Thanks for checking. would be a good feature to add if possible.

Ill try my best to deal with this

clever quiver
#

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!