Skip to content

324 — should apply default due period to new invoices

Description

Verifies that enabling Default due period (in days) in invoice settings makes new invoices prefill the due date as today + N days.

Preconditions

  • Signed-in tenant with Client 01 and the user on the Invoice settings page.

Steps

  1. Toggle Default due period on and enter a random number of days between 1 and 60.
  2. Click Save settings. Expected: the "Saved" toast appears.
  3. Switch to Invoices, click Create invoice, pick Client 01, click Next.
  4. Expected: the due-date field is prefilled with today's date plus the chosen number of days (formatted as day/month/year).
  • Spec: playwright/tests/integration/invoice.spec.ts (line 689)