AI Bug Analysis
ReadyHigh confidenceInvoices created by the import job have no due date, so dueDate() returns null and format() throws.
Read main@4c1e9a7f02 · occurrence 2026-11-18 09:42:13 UTC · evidence 2026-11-11 to 2026-11-18
1. Imported invoices have no due date
- productionThe 10 latest occurrences are all on invoices created by the import job.
transaction:8f3a91c07e - codeThe import job creates invoices without setting due_date.
app/Jobs/ImportInvoices.php:57 - historyThe import job was added two days before the error first appeared.
commit:9b1e4c2d7a
What to change: Set a due date when the import job creates an invoice, or show a placeholder when it is missing. This is a product choice, so ask the user.
app/Presenters/InvoicePresenter.php:31app/Jobs/ImportInvoices.php:57Ruled out: A change to the date format: the date is null, not malformed.