Kian Posted April 17, 2020 Share Posted April 17, 2020 (edited) 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 April 17, 2020 by Kian 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.