Issue with "invoice_url" Field Showing Draft or Void Status

Issue with "invoice_url" Field Showing Draft or Void Status

We are using the Books API feature, and we are experiencing an issue with some invoices. When we use the "invoice_url" field to access an invoice link, we receive the error message:

"Invoice that you are trying to access is in draft or void status."

This issue occurs with some invoices but not all. It happens in two cases:

  1. When we receive the invoice URL via an invoice status change to "Sent."
  2. When we retrieve the invoice using the "Get Invoice" API call.

We have attached a screenshot for reference. This behavior is inconsistent, as some invoices work while others do not. We are unable to determine the reason behind this difference.

Is there a specific setting or configuration that could be causing this issue? Any guidance on how to resolve this would be appreciated.


    Nederlandse Hulpbronnen