Unable to set invoice_status_id when adding Inovices via API

We are looking into using Invoice Ninja and are trying to load invoices from our old invoicing system. We have all the invoices stored in CSV files. Here is the issue we having:

Some invoices are paid in full - We figured out how to add those invoices and payments.

Some invoices are drafts - This is the default so we don’t need to do anything.

Some invoices have been sent are are awaiting payment - How do we set the invoice status ID for these invoices?

We would like it Set to PAID, PAST DUE or SENT


You can set the sent status by setting is_public to true

You can set the paid status by creating a payment

1 Like

Thank you @hillel - That solved it. :+1:

1 Like