Recurring invoices' dynamic variables

Attempting to create a monthly recurring invoice and used the token ||MONTHEND+1|| which shows the closing “/div” tag on preview so fearing that may not be allowed? I am just trying to create the text: “for the period 01/11/2013 to 30/11/2013”. My original was: "for the period ||DATE+1M|| to ||MONTHEND+1|| but which way is best to achieve this, please?

PB

Will the invoice be generated on the 1st of November? If so the opening token would be just ||DATE||. The correct token to use would depend on when the invoices will be raised.

Generally last day of month…

PB

If you can hang on 24 hrs, we’re gonna knock up a sanbox tool for testing these date variables. I think that would be beneficial to all.

I’ll let you know when it’s ready.

1 Like

Brilliant! Many thanks, PB

Here’s the new tool:

Recurring Invoice Date Variables Test Tool

Try using something like this:

for the period ||MONTHEND+1D|| to ||MONTHEND+1M||

PBContinuing the discussion from Dynamic Variables:

Just when you thought it was safe…!

Have now found the code for the period ||MONTHEND+1D|| to ||MONTHEND+1M|| in November (or any month with less than 31 days) gives 01/12/2013 to 30/12/2013 rather than the full month.

That’s probably a real pain codewise, too?!

PB

1 Like

This topic was automatically closed after 7 days. New replies are no longer allowed.