Finding the Invoice Date Range

Erik France's Avatar

Erik France

17 Dec, 2014 04:09 AM

I want to customize my Invoice and e-mail messages to show the date range of the existing Invoice. For example, I want an e-mail subject line to read something like this:

         Invoice 123456: 12/01/2014 - 12/15/2014

I can do the first part like this:

         Invoice {{ invoice.invoice_number }}

So how do I find the dates? Can I use the {{ invoice.line_items }} collection in this way? My tests have not been very promising, so I assume I am doing something wrong.

  1. Support Staff 1 Posted by Seth B on 17 Dec, 2014 04:22 AM

    Seth B's Avatar

    Not possible for the subject.

    The dates you have access to are the ones directly on the invoice. For instance, creation date and due date.

  2. 2 Posted by Erik France on 17 Dec, 2014 05:15 AM

    Erik France's Avatar

    Seth, I appreciate the help. I was hoping to do a few things that, evidently, are outside the limits so far. Thanks for the information.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

25 Jul, 2020 12:06 AM
25 Jul, 2020 12:05 AM
08 Jul, 2020 11:46 PM
06 Jul, 2020 11:35 PM
29 Jun, 2020 10:44 PM