#fluxorg
1 messages · Page 1 of 1 (latest)
Hi there! I recommend creating the invoice object first, then then the items. When you create the item, you'll pass a value for invoice that corresponds to the invoice to which you want to add the item.
The instructions in the article aren't wrong necessarily but could result in unexpected behavior if you have some other process that creates an invoice and passes pending_invoice_items_behavior: include