Best answer

set invoice due date in xero to the 20th of the following month

  • 14 July 2021
  • 2 replies

I have a zap set up that takes the data from email parser and generates an invoice in Xero and everything works 100% as expected. 

The issue I’m facing is being able to set the appropriate invoice Due Date in Xero. 

I want the Due Date to be the 20th of the following month ie regardless of if the invoice was generated on the 1st or the 31st July(or any dates between) then the Due Date should be the 20th of August.

I have attempted over a dozen variations of the ‘20th of the next month’, ‘next month 20th’, next month day 20’ an so on and so further but cannot seem to find the correct phrasing that will get the result I’m after.

Has anyone got any ideas on how to solve what I would have expected was a pretty common scenario?




Best answer by Bryan Palmer 14 July 2021, 01:14

View original

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

2 replies

Looks like I have answered my own question so thought I would posts the solution for any one else looking for the answer.


next month + 19d will make the Due Date in Xero the 20th of the following month. 


Userlevel 7
Badge +12

Hi @Bryan Palmer, thanks for sharing the solution with us!