Invoicing a year in advance: getting the year right in the invoice text

Published 16 November 2026
In short

If you bill yearly in advance, you issue the invoice for example in December for the whole following year. To have the right year in the text automatically, use the placeholder {{nextYear}} in reBill. A template with start date 1 December and a yearly interval then writes “Hosting 2027” in December 2026 and “Hosting 2028” in December 2027.

Why bill in advance?

For hosting, software licences, domains, maintenance fees or membership fees it is common to bill the coming period in advance. The money arrives before the service starts, and the customer has one invoice for the whole year.

The problem: the year in the text

The invoice is created in December but applies to the next year. If you copy last year’s invoice, you have to change the year in every line by hand. Forget it, and the invoice shows the wrong period and the customer asks about it.

The solution with reBill

In reBill you put placeholders into the item text, and they are replaced when the invoice is created. What counts is the date on which the invoice is created.

Example: hosting billed yearly in advance

You create a template with interval “yearly”, start date 1 December 2026 and this item:

Web hosting 1.1.{{nextYear}} to 31.12.{{nextYear}}

On 1 December 2026 reBill creates the invoice in bexio with the text “Web hosting 1.1.2027 to 31.12.2027” and sends it if automatic sending is enabled. A year later it automatically says 2028.

Example: membership fee with a note in the email

Placeholders also work in the email template. A sentence such as “Please find attached the invoice for the {{nextYear}} membership fee, payable by {{payableBy}}” is filled with the year and the due date from bexio when the email is sent.

Things to keep in mind

Frequently asked questions

Which date is used for {{nextYear}}?

The date on which reBill creates the invoice. An invoice created on 1 December 2026 gets the year 2027 with {{nextYear}}.

Can I also bill months in advance?

Yes. {{nextMonth}} puts the following month into the text, for example for rent billed at the end of the previous month.

Do placeholders work in the email too?

Yes, the year and month placeholders also work in the email template, which additionally has placeholders for amount, currency and due date.

Try reBill free for 30 days
No credit card. Sign in with your bexio account.

Start free

More articles