Jump to content

Search the Community

Showing results for tags 'invoice'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
    • WHMCS 8.1 Beta Discussion Board
  • WHMCS Beta Program
    • WHMCS Mobile App Technical Preview Feedback
  • The Latest from the WHMCS Team
    • News, Announcements & Blogs from WHMCS
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • Feedback
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Topics
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség
  • ThemeMetro Club's Topics
  • WHMCS Services Club's Topics
  • SwiftModders Club's Topics
  • WHMCS Global Services Club's Topics
  • Katamaze's Free Scripts
  • Katamaze's Modules
  • Zomex Club's Topics
  • 0100Dev Club's Topics

WHMCS Version

  • V8.0.x Hotfixes
  • V7.10.x Hotfixes
  • V7.9.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me

Found 64 results

  1. Hello, I am creating a module for invoice to display data from database. I want to know how to add that fetch value from module to invoice using hooks.
  2. Hello everyone. greetings from me again. i need to print out monthly sales report to submit tax office and the way whmcs sales tax liability report print its not possible to submit. there is no company name showing and also we dont work with clients name so i dont need to show the client name in the report. also after print out the report it showing in the top the whole whmcs admin link and whmcs printer friendly report. is there any chance i can customize the pdf report? like the way we customize the pdf invoice Hope someone can help me on this issue Thanks again
  3. Hello everyone. how are you? i need some expert help for my whmcs. basically i have setup a product with billing cycle quarterly with price of 150 euros. the customer used that for almost 2 and half months. now system generate an invoice for 150 euros again for the next 3 months. and now customer rang me and said he would like to go for monthly payment which is 55 a month. problem is invoice is generated and if i cancel the invoice system will not be generating any more invoice for him. so what can i do now? i need to remove or cancel that 3 months invoice and generate him a monthly invoice can someone please help with some idea. i am sure lot of people face this issue before Thanks very much in advance for reading my post
  4. Hello, I am trying to customize viewinvoice.tpl I have almost finished customization but I have stuck in adding qty and item price of product and configurable options. I have attached screenshot of what i want to achieve.
  5. In Billing Extension 2.2.133, we renewed the existing plugin that trasmits invoice PDF to a remote FTP server. We extended this concept to emails so that you can achieve the following goals. First. If you company uses a DMS (Document Management System) you can process invoices as PDF files. The module can store them in a logical folder structure so that your DMS can extrat data from file content, name and dirctory. Here is a list of the available auto-tags: {YEAR} Format yyyy (2020, 2021...) {MONTH} Format mm (10, 11...) {DAY} Format gg (09, 10...) {NUMBER} Invoice number (tblinvoices.invoicenum) {ID} Invoice ID (tblinvoices.id) {TYPE} Document type (Proforma, Invoice, CreditNote) {USERID} User ID {COUNTRY} User country ISO 3166-1 alpha-2 (IT, US, DE...) {CURRENCY} User currency (EUR, USD, AUD...) {PAYMENTMETHOD} Payment gateway system name (paypal, stripe...) Let us show you two examples. Using {YEAR}/{MONTH}/{CURRENCY}/{COUNTRY}-{NUMBER}.pdf gives the following path/file structure: 2020/04/USD/US-Invoice 120.pdf 2020/04/USD/US-Invoice 121.pdf 2020/04/EUR/IT-Invoice 122.pdf 2020/04/EUR/FR-Invoice 123.pdf Here's another example with {TYPE}/{PAYMENTMETHOD}/{TYPE}-{ID}.pdf: Proforma/stripe/Proforma-1290.pdf Invoice/stripe/Invoice-1298.pdf CreditNote/paypal/CreditNote-1305.pdf Proforma/banktransfer/Proforma-1354.pdf The same feature is available for email sending. The module can automatically send all PDF files as attachments via email to multiple recipients (eg. you accountant) on a weekly (every monday) or monthly basis (on the first of every month). You can customize the way files are stored in the zip as describved previously by simply using auto-tags. This way you no longer need to use Bath PDF Invoice Export to send invoices to your accountant.
  6. Hello, currently we're using WHMCS 7.10.2 We've received a complaints for: - 2 Customers who has paid monthly recurring amount, but then getting suspended - This is because "next due date" not getting updated. (We've double-checked on payment portal, indeed the customer has paid) May I know what is the root cause behind this bug? Thanks!
  7. hello thanks for reading my text. i have whmcs latest version and what is the issue is i can see the cron not generating the monthly invoice. i have a customer who have an active product due at 08/08/2020 but i cant understand why the cron is not generating the invoice when its suppose to be generate 14 days earlier. but if i click on the customer dashboard generate due invoice i can see system create the invoice for that client. so can someone guide me what can be issue?? i can see in the logs but i can't find any issue at all 😞 dont know what to do just to let you know i have customized pdf invoice . is that giving any issue? thanks a million in advance. please stay safe
  8. Hello everyone Can you help me something on this please. In my invoice list I have changed the button name from Unpaid to Make-Payment. Because what I want is when my customer click on this make payment button it will be take them direct to payment page instead of viewinvoice page.. Because I have put a button to download the pdf invoice so my customer can download the pdf invoice if they want to see it. But I really need to skip the viewinvoice page. So if I have PayPal as a payment method for that invoice then when client click on that Make-Payment button it will be take them to PayPal directly. Can someone help me with the code in the template file. Thanks a million in advance Please see the current invoice list page
  9. Hello everyone. i hope everyone is doing great. i need again some help from the community. hope someone correct my invoicepdf tpl file so it can complete my demand. i have done some modify but i can't understand how to fix some more. i want to make my invoice like this and this is my current code. its already modified mostly <?php # Logo $logoFilename = 'placeholder.png'; if (file_exists(ROOTDIR . '/assets/img/logo.png')) { $logoFilename = 'logo.png'; } elseif (file_exists(ROOTDIR . '/assets/img/logo.jpg')) { $logoFilename = 'logo.jpg'; } $pdf->Ln(5); $pdf->SetFont($pdfFont, 'B', 15); $pdf->SetFillColor(255); $pdf->SetFont($pdfFont, '', 16); $pdf->Cell(100, 6, "My Bill Summary", 0, 1, 'L', '1'); $pdf->Image(ROOTDIR . '/assets/img/' . $logoFilename, 120, 25, 75); # Company Details $pdf->SetXY(15, 70); $pdf->SetFont($pdfFont, '', 13); foreach ($companyaddress as $addressLine) { $pdf->Cell(180, 4, trim($addressLine), 0, 1, 'R'); $pdf->SetFont($pdfFont, '', 9); } if ($taxCode) { $pdf->Cell(180, 4, $taxIdLabel . ': ' . trim($taxCode), 0, 1, 'R'); } $pdf->Ln(5); # Clients Details $pdf->SetXY(15, 70); $pdf->SetFont($pdfFont, 'B', 10); $pdf->SetFont($pdfFont, '', 9); if ($clientsdetails["companyname"]) { $pdf->Cell(0, 4, $clientsdetails["companyname"], 0, 1, 'L'); $pdf->Cell(0, 4, Lang::trans('invoicesattn') . ': ' . $clientsdetails["firstname"] . ' ' . $clientsdetails["lastname"], 0, 1, 'L'); } else { $pdf->Cell(0, 4, $clientsdetails["firstname"] . " " . $clientsdetails["lastname"], 0, 1, 'L'); } $pdf->Cell(0, 4, $clientsdetails["address1"], 0, 1, 'L'); if ($clientsdetails["address2"]) { $pdf->Cell(0, 4, $clientsdetails["address2"], 0, 1, 'L'); } $pdf->Cell(0, 4, $clientsdetails["city"] . ", " . $clientsdetails["postcode"], 0, 1, 'L'); $pdf->Cell(0, 4, $clientsdetails["country"], 0, 1, 'L'); if (array_key_exists('tax_id', $clientsdetails) && $clientsdetails['tax_id']) { $pdf->Cell(0, 4, $taxIdLabel . ': ' . $clientsdetails['tax_id'], 0, 1, 'L'); } $pdf->Ln(10); $pdf->Ln(10); $pdf->Ln(10); # Header Bar /** * Invoice header * * You can optionally define a header/footer in a way that is repeated across page breaks. * For more information, see http://docs.whmcs.com/PDF_Invoice#Header.2FFooter */ $pdf->SetFont($pdfFont, 'B', 15); $pdf->SetFillColor(239); $pdf->SetFont($pdfFont, '', 12); if ($customfields) { foreach ($customfields as $customfield) { $pdf->Cell(125, 6, $customfield['fieldname'] . ': ' . $customfield['value'], 0, 1, 'L', '1'); } } $pdf->Cell(125, 6, "Invoice Number " . ': ' . $invoiceid, 0, 1, 'L', '1'); $pdf->Cell(125, 6, "Bill Issue Date" . ': ' . $datecreated, 0, 1, 'L', '1'); $pdf->Cell(125, 6, "Billing Period" . ': ' . $datecreated, 0, 1, 'L', '1'); $pdf->Ln(10); $startpage = $pdf->GetPage(); # Invoice Items $tblhtml = '<table width="70%" bgcolor="#ccc" cellspacing="1" cellpadding="2" border="0"> <tr height="30" bgcolor="#efefef" style="font-weight:bold;text-align:center;"> <td width="80%">' . Lang::trans('invoicesdescription') . '</td> <td width="20%">' . Lang::trans('quotelinetotal') . '</td> </tr>'; foreach ($invoiceitems as $item) { $tblhtml .= ' <tr bgcolor="#fff"> <td align="left">' . nl2br($item['description']) . '<br /></td> <td align="center">' . $item['amount'] . '</td> </tr>'; } $tblhtml .= ' <tr height="30" bgcolor="#efefef" style="font-weight:bold;"> <td align="right">' . Lang::trans('invoicessubtotal') . '</td> <td align="center">' . $subtotal . '</td> </tr>'; if ($taxname) { $tblhtml .= ' <tr height="30" bgcolor="#efefef" style="font-weight:bold;"> <td align="right">' . $taxrate . '% ' . $taxname . '</td> <td align="center">' . $tax . '</td> </tr>'; } if ($taxname2) { $tblhtml .= ' <tr height="30" bgcolor="#efefef" style="font-weight:bold;"> <td align="right">' . $taxrate2 . '% ' . $taxname2 . '</td> <td align="center">' . $tax2 . '</td> </tr>'; } $tblhtml .= ' <tr height="30" bgcolor="#efefef" style="font-weight:bold;"> <td align="right">' . Lang::trans('invoicescredit') . '</td> <td align="center">' . $credit . '</td> </tr> <tr height="30" bgcolor="#efefef" style="font-weight:bold;font-size:14px;"> <td align="right">' . "Total Amount Due" . '</td> <td align="center">' . $total . '</td> </tr> </table>'; $pdf->writeHTML($tblhtml, true, false, false, false, ''); $pdf->Ln(5); if ($status == 'Unpaid'){ $html = "<h2 style=\"color:red;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Please pay by ${duedate} </h2>"; $pdf->writeHTML($html, true, false, false, false, ''); $pdf->Ln(10); $pdf->SetFont($pdfFont, 'B', 15); $pdf->SetFillColor(239); $pdf->SetFont($pdfFont, '', 10); $pdf->Cell(125, 6, "Failure to pay your account in full may result in loss of service.", 0, 1, 'L', '1'); $pdf->Cell(125, 6, "Reactivation of your service could take up to 7 days and will incur a fee. ", 0, 1, 'L', '1'); $pdf->Ln(10); } # Notes if ($notes) { $pdf->Ln(5); $pdf->SetFont($pdfFont, '', 8); $pdf->MultiCell(170, 5, Lang::trans('invoicesnotes') . ': ' . $notes); } /** * Invoice footer */ ============================ can someone please correct the code so my pdf invoice will be looks same like the image i provide thanks everyone and plesae stay safe
  10. I have two accounts that don't have a credit card on file. (They were lost during a migration somehow). And I don't know what's causing those accounts to be delivered an email EVERY day that says "We tried to bill your card but you don't have one on file." What is the setting that's causing this? The only things I suspect are 2 settings in automation. 1. "Retry every week for..." was set to 0 (but I thought that meant disable not every day. 2. The "Send invoice payment reminder" for 2nd and 3rd were both set to 0 also. But those specifically say 0 to disable. I don't feel like either of those should behave that way though.
  11. Hi Client charged 2nd time even if invoice is paid, Client paying using PayPal subscription. BUT In previous two months it was normal and charging only once per invoice. Invoice 1: https://nimb.ws/J2Apmk Invoice 2: https://nimb.ws/W1ci0K Log: https://nimb.ws/gdYsqv Is this setting from PayPal Subscription or anything else in Product setup? Thanks in advance kan
  12. Hi Community, Anyone help me regard this when our client is the visit our invoice in our website prohosty.com then Rupees Symbol is working Fine See this screenshot http://prntscr.com/myl1j4 and if client download invoices then rupees symbols change into "?" symbol see this screenshot http://prntscr.com/myl1r8 Please help to fix it
  13. I need to add Restitution (one time) item with minus value if there's subscription that didn't meet the SLA from last month on the Invoice generate on the next month. I know it should need manual admin intervention. Is there any idea where I should implement it ? Use the billiable item or maybe is there any suggestion ?
  14. So far I've hooked dedicated ip from tblhosting to viewinvoice.tpl and is assigned to paid services accordingly. What I'm trying to figure out : -> To show dedicated ip assigned in WHMCS Billing for -> Where you can view dedicated ip in the description as well. ( To help our billing member search for dedicated ip to be cancelled at ease by looking at customer's invoice items in WHMCS->Billing) For example : What is in my mind : How do I query the database tblhosting [dedicatedip] into WHMC->Billing->Invoices->Any customer's Invoice id description as shown above ? As far as I know, WHMCS admin .php file is encoded where we do not able to edit. Hopefully and I believe there is a way to append to show the dedicated ip !
  15. We have introduced our new module in WHMCS Market, Recurring Invoice Management Module allows WHMCS admin to create custom recurring invoices without creating new products and services. In short, our module bypasses the product creation process while generating recurring invoices to the clients. You can use this module well when you want to generate custom recurring subscriptions for custom tasks to your clients. Here is how you can generate a recurring invoice: Buy module here: https://whmcsglobalservices.com/whmcs-recurring-invoice-management-module/
  16. Hi, I want to perform some tasks that require the service id on a hook(specifically invoice creation) the paramters there are limited all I get is the invoice id. Is there a way to fetch service id using that invoice id any indication/help/solution would be highly appreciated. The hook must trigger either before or after invoice generation. Thanks. 👍
  17. Certain companies have different departments. In this case, there is a gentleman who bought our product in his name for the company, so his account is set up on WHMCS, he now receives all emails and invoices. How does one set that the invoices get sent to a separate email? Like the accounts department. I see there is a tab where you can add a sub contact in the contact itself but i do not know how to use it. Would that be the solution?
  18. Is there a way to send recurring invoice (quarterly) X days in advance before its invoice date?
  19. Hi everyone, sorry for the noob question. I noticed after a customer notified me this, that last year, the domain didn't sync and was marked as expired, so the new invoice was generated only for one service and the domain was not charged. For now, I manually marked it as active because on her profile was "Expired" but on Resellerclub, the domain is still active and being used and also tied to the same customer. So my question would be, what can I do so after I manually renew it this year, it also starts to be a billable item for the customer from now on as it was before something happened? Thanks in advance!
  20. Good morning community How do I make all the services to be renewed appear on the "Customer Invoice"? In all "Customer Invoice" emails I only see that the hosting service appears and does not add the domain, both services were purchased the same day. The domain renewal is sent in different mail. I will greatly appreciate your help Greetings.
  21. Hello! For some reasons sometimes our banks don't accept invoice from customers without stamp, name of CEO and signature. Is there any way that when the user chooses payment via a Bank under the invoice had the name of the Director signature and stamp. Thank you!
  22. Hello community... I came back again. Can someone help me with my system. What happened is.. We sell yearly service. Let's say client bought service 01/04/2018 And his next due date is 31/03/2019. Now system generate invoice on 15/03/209 But he didn't paid. He decide to pay on may.. I knw the service will be suspended. But it's not a problem. Now if he pay on may .. I see his next due date will be 31/03/2020 not 01/05/2020 So he is loosing a month when he didn't used the service in April. Can we have a hook to update the next invoice date the customer paid+365 days? Please help me
  23. Im trying to use Githubs version of AutoAuth: https://github.com/JonTheWong/whmcs-autoauth-invoice I've followed the steps in the description, but are getting wrong login credentials error. Below you can see the different steps and the code that i have; To install this script you need to place all files in your root directory of WHMCS example: /home/user/public_html/domain/whmcs/ Generate a hash and enter it in configuration.php above the last ?> $autoauthkey = "REPLACE-WITH-SYSTEM-KEY"; Also include it into the script. You can generate a hash using; openssl rand -hex 32 on linux. Then add this value to the top of your email template; {assign var='hash' value=$client_email|cat:"REPLACE-THIS-PART-WITH-SECRET-KEY"} Then add this link anywhere in your email template. Login Auth: {$whmcs_url}lauth.php?email={$client_email}&zmkey={$hash|md5} Invoice Auth: {$whmcs_url}iauth.php?email={$client_email}&invoice={$invoice_num}&zmkey={$hash|md5} Quote Auth: {$whmcs_url}qauth.php?email={$client_email}&quote={$quote_number}&zmkey={$zmkey|md5} Notes Quick not for version 7+ Due to security settings, you have to modify configuration.php and add the following code to the bottom, above the last ?> $smarty_security_policy = array( 'mail' => array( 'php_modifiers' => array( 'md5', 'time', 'sha1', 'urlencode', 'header', ), ), ); In the config file: $hash = "302BEA0FDBC6ADB8F8A25919318B532D"; $autoauthkey = "Correct_password"; $smarty_security_policy = array( 'mail' => array( 'php_modifiers' => array( 'md5', 'time', 'sha1', 'urlencode', 'header', ), ), ); ?> In the iauth file: <?php /* Created by JonTheWong @ Zenith Media Canada - www.zenithmedia.ca Visit our public repo - https://github.com/JonTheWong/whmcs-autoauth-invoice */ $whmcsurl = "https://www.webbsnacks.se/whmcs/dologin.php"; /* replace with your url */ $autoauthkey = "Correct_password"; /* same as in configuration.php */ $secretkey = "A_new_key_generated"; /* generate a new key for this script */ if (md5($_GET['email'].$secretkey) != $_GET['zmkey']) die('Något fel har skett, vänligen kontakta oss på info@webbsnacks.se för att gå vidare.'); $email = $_GET['email']; $timestamp = time(); $hash = sha1($email.$timestamp.$autoauthkey); $goto = "viewinvoice.php?id=".$_GET['invoice']; $url = $whmcsurl."?email=$email&timestamp=$timestamp&hash=$hash&goto=".urlencode($goto); header("Location: $url"); exit; ?> Do anyone know what the issue might be? Since im not getting the "die" text, there should be nothing wrong with the hash, correct?
  24. I'm using WHMCS 7.7.1 & WordPress. I have integrate WordPress with WHMCS using whmcs-bridge. Problem is, a client register for hosting and domain & complete the payment for the invoice but after his payment the invoice still showing unpaid. Note that: After payment client redirecting to client area this one working fine. Only invoice showing unpaid Please help me to solve it
  25. Hi all i need to solve a problem with a wrong invoice ( obv paid from my client ) due a wrong data insert in registration from client. in my 7.5 whmcs version there's checked "Store Client Data Snapshot" option and it's working correctly, i need so ( i think that is the only way ) modify wrong data from db table mod_invoicedata.customfields and mod_invoicedata.clientdetails but value that i need to change is into a big array and i don't know how touch correctly it. Someone has some suggestions or workaround to solve this problem that i think could be really common after whmcs upgrade system and changing ? Thank you so much. Regards
×
×
  • 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