Skip to main content
Best answer

Setting a +30 day due date on invoices in xero

  • 18 October 2023
  • 8 replies
  • 89 views

This is probably a very basic question, but when I am using Zapier to create an invoice in Xero (from data entered on Gravity Forms), how do I set the due date to be 30 days after the date of the invoice?

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

8 replies

Userlevel 3
Badge +2

Just add {from data entered on Gravity Forms} +30days

in the field

Userlevel 1
Badge

Many thanks! Will try that.

John

Userlevel 3
Badge +2

you are welcome 

Userlevel 7
Badge +14

Hi @johnmorsebrown 

Good question.

Here’s the proper way to use date modifiers in Zaps:

 

A modifier includes:

  • A + or -, signifying forward or backward in time
  • A number
  • A unit of time: s (seconds), m (minutes), h (hours), d (days), month (months), y (years)

For example:

  • +7h - 7 hours after the date/time in the field.
  • +10d - 10 days after the date/time in the field.
  • -45m - 45 minutes before the date/time in the field.
  • +30s - 30 seconds after the date/time in the field. Useful if you receive a duration in seconds.
  • +1y - 1 year after the date/time in the field.

You must include a space between the modifier and the date/time value.
Multiple modifiers can be used together, and must be separated from date/time values and each other with spaces.

Userlevel 1
Badge

Many thanks Troy! That’s really helpful. So I’ve added that - if I attach a screenshot of the box, can you tell me if it looks correct, just to be sure?

Userlevel 7
Badge +14

@johnmorsebrown 

When in doubt, test it out!

Userlevel 1
Badge

Good call - I’ve tested it and it works! Thanks Troy.

Userlevel 7
Badge +6

That’s excellent news @johnmorsebrown! Big thanks to to all the people who assisted you on this one! 🎉

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗