What you see

A message shows when you save, and the invoice is not saved. The first problem shows in the message; otherwise it reads "Please fill in all required fields correctly". On Edit Invoice, a box lists "Please fix the following errors:". Messages you may see:

  • "Please select a project" or "Please select an AMC contract".
  • "Invoice date is required", "Due date is required", "Due date cannot be before the invoice date" or "Due date cannot be earlier than the invoice date".
  • "Client name must be at least 2 characters", "Client name contains invalid characters", "Client address is required", "Invalid email format", "Phone number is required".
  • "Phone number ([code]) doesn't match the [currency] currency ([country], [code]). Please use a matching phone number or currency."
  • "Enter a valid GSTIN (15 characters, e.g., 27ABCDE1234F1Z5)".
  • "This branch is inactive. Choose an active branch."
  • On a line: "Description is required", "Quantity must be positive", "Rate is required", "Rate cannot be negative", "HSN code must be less than 20 characters", "Unit must be less than 20 characters", "Line total cannot exceed 99,999,999.99, reduce the quantity or rate".
  • "You cannot create or change priced documents."

Why it happens

  • A required field is empty, or a value breaks its rule. The two due date messages are the same rule: one from the form, one from the server.
  • The phone number's country does not match the invoice's currency.
  • The client GSTIN is not 15 characters in the GSTIN format.
  • The chosen branch has been deactivated.
  • You do not have Can see selling prices.

What to do

  1. Read the message and go to the field it names. Every field and its rule is in Create and Edit Invoice: every field.
  2. For a due date message, set a Due Date on or after the Invoice Date. When the payment term has days, change the term or the invoice date instead.
  3. For the phone and currency message, change the phone number or the Currency so that they match.
  4. For the GSTIN, type the client's 15 characters, for example 27ABCDE1234F1Z5, or leave it empty.
  5. For an inactive branch, choose an active Branch. See Edit, deactivate or activate a branch.
  6. For "You cannot create or change priced documents.", see Amounts show Restricted, or invoice and costing buttons are missing.
  7. Save again.

If it still happens

If Payment Terms shows "Select terms" on a new invoice, choose a term, then save. If the invoice still will not save, submit a request with the message and the invoice type.