#jaypark

1 messages ยท Page 1 of 1 (latest)

versed ibexBOT
fervent lodge
#

The API is returning an error because its looking for items to invoice for but there are none that can be included on the invoice.

#

if you set pending_invoice_item_behavior to exclude , it should create an empty invoice

upbeat blade
#

Before sending invoice, I created two invoice items.
req_epASHVqwz6CJn7
req_4kt7Zij86CZsj3

#

I didn't want to create an empty invoice.

#

Two invoice items were created successfully, but Invoice.create had an error invoice_no_customer_line_items

fervent lodge
#

huh interesting.. that's weird. Taking a look..

upbeat blade
#

There are many pending invoice items due to that error. Should I delete this?

fervent lodge
#

Can you try setting pending_invoice_item_behavior: include and see if that changes anything?

upbeat blade
#

It is production. It is hard to try something unless it is solid solution.

fervent lodge
#

hold on, checking with a colleague to be certain

upbeat blade
#

That makes sense. Thanks. I will add it.

fervent lodge
#

๐Ÿ‘