Guide Fixing errors

Certinia error "The financial calendar does not include" a date

Updated 4 min read By the BAFO team

Short answer: The error means the Certinia company you are creating the invoice for has no period that covers the date named in the message. The fix is to give that company a year, with its periods, that includes the date. Check every date on the record, not only the one you typed: Certinia works out some dates itself, such as the due date from the vendor's credit terms and the period from the invoice date.

What the error looks like

When a payable invoice is created, Certinia may refuse it with a message like this:

FIELD_CUSTOM_VALIDATION_EXCEPTION: The financial calendar does not include 4/5/2026

The date is written in the format of the user's locale, so read it carefully: 4/5/2026 can be 4 May or 5 April. It is the date Certinia could not find in the company's calendar.

Why it happens

Every Certinia company keeps its own calendar: years, each holding periods (typically the opening balance period, one trading period per month, then adjustment and closing periods). A transaction can only be recorded in a period, so Certinia checks that every date it needs falls inside one.

The check fails when:

  • the company's last year has simply ended (a calendar that stops at 31 December, and an invoice dated in the new year);
  • a company was created and its calendar was never set up beyond the first years;
  • a date Certinia works out itself is the one outside the calendar. Certinia's help says the due date is derived from the invoice date and the vendor's credit terms, so an invoice dated in December with Net 30 terms has a due date in January; if January is not in the calendar, test that date too. We have not confirmed for every release which of a record's dates Certinia tests, so check them all.

It is also company-specific. In an org with several companies, one company can have 2026 and another can stop at 2025. The same invoice then works against one and fails against the other.

Find the gap with SOQL

Look at the periods of the company the invoice is for, and test whether the date from the message falls in one:

SELECT Name, c2g__StartDate__c, c2g__EndDate__c, c2g__Closed__c
FROM c2g__codaPeriod__c
WHERE c2g__OwnerCompany__c = '<company Id>'
  AND c2g__StartDate__c <= 2026-04-05
  AND c2g__EndDate__c >= 2026-04-05

If this returns nothing, that is the gap. To see where the company's calendar stops, list its latest periods:

SELECT Name, c2g__StartDate__c, c2g__EndDate__c
FROM c2g__codaPeriod__c
WHERE c2g__OwnerCompany__c = '<company Id>'
ORDER BY c2g__EndDate__c DESC
LIMIT 20

Check the company on the invoice, too. Period names alone can mislead: a calendar-year company's 2025/004 is April 2025, while a company with a July to June year uses the same style of name for a different month.

How to fix it

Create the missing year for that company in Certinia and make sure its periods exist. The usual shape is 15 period records for a 12-month year: an opening period (2026/000), twelve trading periods (001 to 012) and two special periods, adjustment (100) and closing (101).

Creating the year through the Certinia interface with the Automatic Period List option is the route designed to create the period list for you.

One thing to know: a year record inserted straight through the Salesforce API can be created without its periods, and no background job produces them afterwards. The year exists, the periods do not, and the error stays. If you load years programmatically, create the periods too, or create the year in the interface.

Two things to check before you retry

  1. Is the year open? A period that exists but is closed will refuse a posting for a different reason.
  2. Do the later dates also fit? If the invoice's due date is a month after its invoice date, make sure the calendar reaches that month, and the next year's calendar if the invoice is dated near the end of the year.

Where BAFO fits

For the objects involved, see the Certinia payable invoice API names guide.

Frequently asked questions

Does this error mean my invoice is wrong?

Usually not. It means the company's calendar does not reach the date. The invoice itself may be perfectly valid; the books simply have no period to put it in.

The date in the message is not the invoice date. Why?

The message names the date Certinia could not find in the company's calendar. If it is not the invoice date, it may be a date the record calculated: Certinia's help describes the due date and the period as derived from the invoice date, and the due date also uses the vendor's credit terms. Test each date against the company's periods.

I created the year but the error remains. What now?

Check that the year has its periods. A year without periods does not extend the calendar.

Can I avoid it altogether?

Keep each company's calendar at least a year ahead of today, and review it when you add a company or change payment terms.

Sources and further reading

Where this page leans on someone else's documentation or standard, it is listed here. Check the release or edition your org runs: official pages change.

Keep reading