Jump to content

Auto-insert Tags for Docuent Management Software


Kian

Recommended Posts

I'm working on a thing that should help DMS (Document Management Software) to automate and process PDF invoices of WHMCS. I know that every company value parameters differently so the idea is to give them auto-inser tags to create the directory structure they need.

Example:

/{YEAR}/{TYPE}/{CURRENCY}/{COUNTRY}/{NUMBER}.pdf 

Returns things like:

  • /2020/Invoice/EUR/DE/Invoice-123.pdf
  • /2020/Invoice/EUR/IT/Invoice-214.pdf
  • /2020/Invoice/EUR/IT/Invoice-215.pdf
  • /2020/CreditNote/USD/US/Invoice-216.pdf

I'm trying to figure out on what parameters I should focus. At the moment I'm using the following ones:

  • {YEAR} (2020, 2021...)
  • {MONTH} (10, 11, 12...)
  • {DAY} (28, 29, 30...)
  • {TYPE} (Invoice, Proforma, Credit Note)
  • {NUMBER} (tblinvoices.invoicenum)
  • {ID} (tblinvoices.id)
  • {USERID} (tbclients.id)
  • {COUNTRY} (IT, DE, US...)
  • {CURRENCY} (EUR, USD, AUD...)

Is there something else?

Edited by Kian
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated