Difference between revisions of "Invoicing"

From WHMCS Documentation

(Splitting Invoices)
(Options)
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
If you are looking for documentation regarding configuration of invoice related settings, visit [[Invoicing Setup]].
 
If you are looking for documentation regarding configuration of invoice related settings, visit [[Invoicing Setup]].
 
+
 +
==Creating Invoices==
 +
 +
WHMCS automatically generates invoices for recurring products and services. You can also create custom one-time invoices for specific clients.
 +
 +
To create a one-time custom invoice for a specific client:
 +
 +
# Perform one of the following methods to create the draft invoice. The system will create a new invoice in '''Draft''' status.<div class="docs-alert-warning">The due date for manually-created invoices defaults to the same number of days in the future as you allow for automatic invoice generation. You can customize this via the '''Options''' tab when managing an invoice.</div>
 +
#* From the client's profile's  '''[[Clients:Summary_Tab|Summary]]''' tab, click '''Create Invoice'''.
 +
#* From anywhere in the [[Admin Area]], click the '''+''' icon at the top of the interface and choose '''New Invoice'''.
 +
#*# Choose a client.
 +
#*# Enter invoice and due dates.
 +
#*# Select a payment method.
 +
#*# Click '''Create Invoice'''.
 +
# To configure the invoice's details:
 +
## Update the desired settings in the '''Options''' tab.
 +
## Click '''Save Changes'''.
 +
# Under '''Invoice Items''', for each invoice item that you wish to add:
 +
## Enter a description and amount.
 +
## Click '''Save Changes'''. A new row will then appear to allow adding further line items.
 +
# To publish the invoice, choose the '''Summary''' tab and click a publishing option. These options '''only''' display when the invoice is in the '''Draft''' status and you have the ''Manage Invoices'' permission. Clicking them will set the '''Invoice Date''' value to the current date.
 +
#* ''Publish & Send Email'' — Convert the invoice to '''Unpaid''' and send the '''Invoice Creation''' email to the customer.
 +
#* ''Publish'' — Convert the invoice to '''Unpaid''' without notifying the customer.
 +
 +
<div class="docs-alert-info">
 +
In WHMCS 6.2 and later, you can navigate away from the invoice at any time during this process and return to it later. WHMCS will store the invoice as a draft and it will not be visible to the customer until you have marked it as complete and published it.
 +
</div>
 +
 
==Searching Invoices==
 
==Searching Invoices==
 +
 +
To search for and locate invoices, use either of the following methods:
 +
 +
* Search by invoice number using the [[Admin Area|Intelligent Search]] in the Admin Area.
 +
* Search using advanced search options, including searching by line item descriptions, using the list at '''Billing > [[Invoices]]'''.
 +
 +
==Viewing Invoices==
 +
 +
You can view invoices by going to '''Billing > [[Invoices]]''' or the client's profile's '''[[Clients:Invoices_Tab|Invoices]]''' tab. Click the invoice ID or, in WHMCS 8.9 and later, click '''View''' in the list of invoices to view the desired invoice.
 +
 +
<div class="docs-alert-info">
 +
In WHMCS 8.9 and later, invoices default to view-only mode. This decreases the risk of unintentional edits while viewing or paying client invoices.
 +
 +
* Admins who have the ''Manage Invoices'' permission can:
 +
** Click '''Manage Invoice''' to edit the invoice.
 +
** Click '''Edit''' while viewing a list of invoices to skip view-only mode and go directly to editing the invoice.
 +
* Admins who only have the ''View Invoice'' permission can view invoices, add payments and credit, issue refunds, and view notes if they have the correct permissions for these tasks. They '''cannot''' edit invoice contents.
 +
</div>
 +
 +
===Summary===
 +
 +
The '''Summary''' tab lists the client name, invoice and due dates, invoice items, and associated transactions, and allows you to send client emails.
 +
 +
====Sending Emails====
 +
 +
To send an email for the selected invoice, choose the desired email template from the menu under the invoice status and click '''Send Email'''.
 +
 +
<div class="docs-alert-info">You '''cannot''' send email for invoices that are in the ''Draft'' status. You must first publish the invoice before sending email.</div>
  
There are a number of ways to search for and locate invoices:
+
====Cancel an Invoice====
 
+
 
* You can search by Invoice Number using the Intelligent Search from any page of the admin area.
+
To cancel an invoice, click '''Mark Cancelled''' under the invoice status.
* For more advanced search options, including searching by line item descriptions, you must use the Invoices List.
+
** The global Invoices List lists invoices for all clients. You can access this by navigating to ''Billing > Invoices''. Selecting a status is optional.
+
<div class="docs-alert-success">
** The system restricts the clients' Invoices List to just a single client's invoices. You can access this via the '''Invoices''' tab from the Clients Summary page.
+
* In WHMCS 8.10 and later, the system cron can automatically cancel invoices after they have been overdue for a specified number of days. You can enable this setting and set the number of days in the '''Billing Settings''' section at '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Automation Settings]]'''.
 
+
* In WHMCS 8.9 and later, you '''must''' have the ''Manage Invoices'' permission and click '''Manage Invoices''' in the top-right corner while in view-only mode to perform this action.
==Creating Custom Invoices==
+
</div>
 
 
WHMCS automatically generates invoices for recurring products and services.
 
 
 
To create a one-off custom invoice:
 
 
 
#Navigate to the client you wish to generate an invoice for.
 
#Click the Create Invoice link in the Invoices/Billing panel on the Client Summary page. The system will create a new invoice in Draft status.<div class="docs-alert-warning">The due date for manually-created invoices defaults to the same number of days in the future as you allow for automatic invoice generation. You can customize the due date via the Options tab when managing an invoice.</div> You can immediately begin adding line items to the invoice.
 
#For each invoice that you wish to add, enter a description and amount, and then click the Save Changes button. A new row will then appear to allow adding further line items.
 
#If you wish to customise any of the invoice options, including due dates, payment methods, and tax rates, use the Options tab at the top of the invoice.
 
 
 
<div class="docs-alert-info">You can navigate away from the invoice at any time during this process and return to it later. WHMCS will store the invoice as a draft and it will not be visible to the customer until you have marked it as complete and published it. ''(WHMCS 6.2+)''</div>
 
 
 
===Publishing an Invoice===
 
 
 
To publish an invoice, click the Publish button at the top right of the invoice creation screen.  Two publish options are available:
 
 
 
* ''Publish & Send Email'' — Clicking this button converts the invoice to Unpaid and sends the Invoice Creation email to the customer.
 
* ''Publish'' — Clicking this button converts the invoice to Unpaid without notifying the customer.
 
 
 
Note: The publish buttons only display when the invoice is in Draft status.
 
 
 
==Sending Emails==
 
 
 
WHMCS has a range of Invoice-related [[Email Templates]], which are all fully customisable.
 
 
 
The system sends most of these emails when various automated triggers occur, but admin-level users can also send all of them on demand.
 
 
 
To send an email:
 
 
 
# Navigate to the invoice you wish to send an email for.
 
# Select the email template that you wish to send from the menu under the invoice status banner.
 
# Click '''Send Email'''.
 
 
 
<div class="docs-alert-info">Note: The system will not allow you to send emails relating to an invoice that is in Draft status. You must first [[Invoicing#Publishing_an_Invoice|publish the draft invoice]], and then send an email.</div>
 
 
 
==Mass Payment==
 
 
 
Mass Payment of Invoices allows customers to pay for multiple invoices in a single transaction.
 
 
 
This is often quicker and more convenient for customers with multiple invoices outstanding. It can also reduce your transaction costs by only processing a single transaction.
 
 
 
Clients can request to perform Mass Payment via the client area if it is [[Invoice_Tab#Enable_Mass_Payment|enabled]].
 
 
 
Admin users can also create Mass Payment invoices:
 
 
 
# Navigate to the Clients Invoices list within the admin area (you can access this from the Client Summary page).
 
# Select the checkboxes next to the invoices you wish to combine for payment.
 
# Click the '''Mass Pay''' button at the bottom of the list of invoices.
 
 
 
<div class="docs-alert-info">Mass Payment is different from Merging invoices.  With Mass Pay, the system maintains separate invoices, and when a client pays the Combined invoice, the system marks the original invoices as paid through applying credit.  Merging invoices will actually combine all the individual invoice line items into a single invoice, deleting all but one of the merged invoices.</div>
 
 
 
<div class="docs-alert-warning">Generated Mass Payment invoices do not count towards the total balance due by a customer and the client area does not display them.</div>
 
 
 
==Adding Funds==
 
 
 
Adding of funds or credit to an account allows a client to prefund their account ahead of time.
 
 
 
When this option is [[Credit Tab|enabled]], clients can deposit funds into their account between a minimum and maximum amount that you define.  These funds are the client's Credit Balance.
 
 
 
<div class="docs-alert-success">Automatically generated invoices will always check to see if a client has a positive Credit Balance and auto apply money from the credit to the invoices when the system generates them. If sufficient, the applied Credit Balance will reduce the invoice amount to zero and result in the system processing it as paid automatically, without the customer having to do anything.</div>
 
 
 
Admin users can create and add funds invoices:
 
 
 
# Navigate to the Client Summary page for the client.
 
# Click the '''Create Add Funds Invoice''' option under the Billing/Invoices section.
 
# Enter the desired amount to deposit to the account.
 
# Click Submit to complete the process and create the invoice.
 
 
 
The customer will receive an email for the invoice that the system generated with a link to pay it.
 
 
 
<div class="docs-alert-info">Use this feature whenever you want to charge a customer and add the amount immediately to their credit balance. This will allow it to apply to future or current invoices.</div>
 
 
 
==Splitting Invoices==
 
 
 
Splitting invoices allows you to separate one or more line items from an invoice into a separate invoice.
 
 
 
This is useful if you have a situation where items appear together on a single invoice that a client wants to renew separately, or where a merge has been done incorrectly.
 
 
 
To split items from an invoice:
 
 
 
# Navigate to the invoice you wish to split items from.
 
# Select the checkboxes next to all the line items that you wish to split out into a new invoice.<div class="docs-alert-warning">Note: All the line items you select here will move to a single new invoice.</div>
 
# Select the '''Split to New Invoice''' option in the menu immediately below the invoice line items. The form will auto submit and the page will reload with the new invoice containing only the line items you had selected.
 
 
 
This process does not send any email to the customer.  If you wish, you should then use the Send Email option to notify the customer of the new invoice.
 
 
 
<div class="docs-alert-info">When splitting an invoice, the system sets the due date of the resulting invoice based on the current date and the '''Invoice Generation''' value in '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > Automation Settings''' or, prior to WHMCS 8.0, '''Setup > Automation Settings'''.</div>
 
 
 
==Merging Invoices==
 
 
 
Merging invoices allows you to combine multiple separate invoices into a single invoice.
 
 
 
This is useful for when a client would like to pay for items on separate invoices together at the same time.
 
 
 
To merge invoices, follow the steps below:
 
 
 
# Navigate to the Clients Invoices list within the admin area (which you can access from the Client Summary page).
 
# Select the checkboxes next to the invoices you wish to combine for payment.
 
# Click the '''Merge''' button at the bottom of the list of invoices.
 
 
 
The system won't send an email notification to customers when performing this action, so if you wish to notify the customer, use the Send Email option in the resulting invoice.
 
 
 
[[File:Videotutorial.png‎|center|link=http://www.youtube.com/watch?v=0RYjgy5wjMI|Watch Video Tutorial]]
 
 
 
==Refunding Transactions==
 
 
 
Refunding transactions allows you to issue credits and refunds for payments that clients have made.
 
 
 
There are three options for refunding payments:
 
 
 
* '''Refund through Gateway''' — Many payment gateways in WHMCS support automatic refund capability, meaning WHMCS communicates with the payment gateway and instructs the refund amount for the payment gateway to process.  This will return the money to the payment method that the customer used to pay.
 
 
 
* '''Manual Refund Processed Externally''' — This allows you to record refunds against invoices when something outside of the system processed the refund.  For example, you may use this if you process a refund directly within your payment gateway or a chargeback or dispute occurs.
 
 
 
* '''Add to Client's Credit Balance''' — This allows you to refund money to the Clients Credit Balance for use towards future invoices.
 
 
 
To perform a refund, follow these steps:
 
 
 
# Navigate to the invoice you wish to perform a refund for.
 
# Select the '''Refund''' tab.
 
# If there have been multiple transactions for the invoice, select the transaction you wish to issue a refund against.<div class="docs-alert-info">You can only refund one transactions at a time, and the refund amount cannot exceed the total amount of the transaction.</div>
 
# Enter the amount to refund for a partial amount. Otherwise, leave this blank to refund the entire transaction value.
 
# Choose the appropriate Refund Type (see above).
 
# If you do not wish to send an email confirming the refund has been processed, uncheck the Send Email checkbox.
 
# Click the '''Refund''' button to perform the refund.
 
 
 
The page will reload and display the results of the refund attempt if you chose Refund through Gateway. If it fails for any reason, the [[Transactions#The_Gateway_Logs|Gateway Log]] will help you diagnose why.
 
  
<div class="docs-alert-success">Even if the system can't automate a refund for your particular gateway, you can still use this process to enter the refund billing entry into WHMCS. It will update the income totals and reflect the refund on the invoice.  Then you would go to your gateway and actually send the refund from there.</div>
+
====Split to New Invoice====
 +
 +
<div class="docs-alert-success">In WHMCS 8.9 and later, you '''must''' have the ''Manage Invoices'' permission and click '''Manage Invoices''' in the top-right corner while in view-only mode to perform this action.</div>
 +
 +
Splitting invoices allows you to separate line items from an invoice into a separate invoice. This is useful if, for example, items appear together on a single invoice that a client wants to renew separately or a merge happened incorrectly.
 +
 +
To split items, select the desired items under '''Invoice Items''' and then choose ''Split to New Invoice'' from '''With Selected'''. The system will immediately move all of the items to a single new invoice.
 +
   
 +
* This process does '''not''' send an email to the customer. If you want to notify the customer, click '''Send Email'''.
 +
* When splitting an invoice, the system sets the due date of the resulting invoice based on the current date and '''Invoice Generation''' settings in '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Automation Settings]]'''.
  
===Reverse Payment===
+
====Delete====
When making a refund, there is the option to reverse the effects of the original payment. For example, you might prefer to set the invoice status to Collections status and reverse the Next Due Date for associated services.
+
 +
<div class="docs-alert-success">In WHMCS 8.9 and later, you '''must''' have the ''Manage Invoices'' permission and click '''Manage Invoices''' in the top-right corner while in view-only mode to perform this action.</div>
 +
 +
To delete items from an invoice, select the desired items under '''Invoice Items''' and then choose ''Delete''.
 +
 +
<div class="docs-alert-warning">This does '''not''' move the deleted items to a new invoice.</div>
  
When you select this option, the system's actions while issuing a refund depend on the configuration in the Setup > [[Automation_Settings#Change_Invoice_Status|Automation Settings]] page. For more information on this feature, refer to the [[Payment_Reversals|Payment Reversals page]].
+
===Add Payment===
 +
 +
If you receive a payment that the system hasn't automatically logged in WHMCS, you will need to manually apply it to the invoice.
 +
 +
To do this, enter the details corresponding to the payment, including the date, payment method, transaction ID, and amount. Then, click '''Add Payment'''.
 +
 +
<div class="docs-alert-success">
 +
* If a payment is not for a specific invoice, issue credit to the client instead.
 +
* If a payment applies to multiple invoices, add a transaction at '''Billing > View Transaction List'''. For '''Invoice ID(s)''', enter a comma-separated list of all of the invoice numbers to apply payment to.
 +
** The system will apply payments in the order you enter them until the client has used the full amount.
 +
** The system will automatically add any amount left over as a credit to the user for use on future invoices.
 +
</div>
 +
 +
===Options===
 +
 +
<div class="docs-alert-success">In WHMCS 8.9 and later, you '''must''' have the ''Manage Invoices'' permission and click '''Manage Invoices''' in the top-right corner while in view-only mode to view this tab.</div>
 +
 +
In the '''Options''' tab, you can configure the following invoice settings:
 +
 +
* '''Invoice Date''' — The date on which the system generated the invoice or you created it.
 +
* '''Payment Method''' — The payment method that the system will attempt to use to pay the invoice.
 +
* '''Invoice #''' — The invoice number.
 +
* '''Due Date''' — The invoice's due date.
 +
* '''Tax Rate''' — The rate at which the system will tax the items in the invoice.
 +
* '''Status''' — The invoice status.
  
==Troubleshooting Invoice Generation Problems==
+
===Credit===
 +
 +
In the '''Credit''' tab, you can add credit to the invoice.
 +
 +
* To add credit from a client's balance to an invoice, enter the desired amount under '''Add Credit to Invoice''' and click '''Go'''.
 +
* To remove credit from an invoice, enter the desired amount under '''Remove Credit from Invoice''' and click '''Go'''.
 +
 +
Automatically-generated invoices always check whether a client has a positive credit balance. If they do, the system automatically applies the credit to the invoice during invoice generation. If applying credit reduces the invoice balance to <tt>0</tt>, the system marks the invoice ''Paid'' automatically.
 +
 +
===Refund===
 +
 +
In the '''Refund''' tab, you can refund transactions for the invoice. Refunding transactions allows you to issue credits and refunds for payments that clients have made.
 +
 +
If the system can't automate a refund for your particular gateway, you can still use this process to enter the refund billing entry in WHMCS. It will update the income totals and reflect the refund on the invoice. Then, you can go to your payment gateway to send the refund.
 +
 +
====Refund a Transaction====
 +
 +
To refund a transaction:
 +
 +
# If there have been multiple transactions for the invoice, select the desired transaction from '''Transactions'''. You can only refund one transaction at a time, and the refund amount cannot exceed the total amount of the transaction.
 +
# For '''Amount''', enter the amount to refund for a partial amount. Otherwise, leave this blank to refund the entire transaction value.
 +
# Select the desired type from '''Refund Type''':
 +
#* ''Refund through Gateway'' — If your payment gateway supports refunds, WHMCS sends the refund to your gateway to process. This returns the money to the payment method that the client used.
 +
#* ''Manual Refund Processed Externally'' — WHMCS records a refund in the system. You must then process the refund separately with your payment gateway. You may also use this if a chargeback or dispute occurs.
 +
#* ''Add to Client's Credit Balance'' — WHMCS records a refund and adds the refunded balance to the client's credit balance. This does '''not''' return any money to the customer.
 +
# Check '''Reverse Payment''' if you want to reverse the effects of the original payment (for example, when you set the invoice status to ''Collections'' and reverse the service's '''Next Due Date'''.
 +
#* When you check this, the system's actions depend on the configuration in '''Configuration (<i class="fa fa-wrench" aria-hidden="true"></i>) > System Settings > [[Automation Settings]]'''.
 +
#* This setting does '''not''' alter the system's treatment of any affiliate commissions (see the steps below).
 +
# If you do not want to send a refund confirmation email, uncheck '''Send Email'''.
 +
# Click '''Refund'''.
  
When the system isn't generating invoices as you expect, there are several things you should check first.
+
====Reversing Affiliate Commission====
 +
 +
In WHMCS 8.3 and later, if the transaction is associated with an affiliate commission and the payment gateway supports reversals, WHMCS can also reverse the commission.
 +
 +
* When you perform a full refund, WHMCS automatically reverses all of the associated commissions.
 +
* When you perform a partial refund, WHMCS will ask you whether to also reverse the commission. You cannot, however, choose an amount of the commission to reverse. This action reverses the entire amount.
 +
* If you choose not to perform a commission reversal, the commission payment will not be affected.  The page will reload and display the results of the refund attempt if you chose ''Refund through Gateway''. If it fails for any reason, the '''Gateway Log''' can provide more information.
  
See [[Invoicing Issues|Troubleshooting Invoicing Issues]] for more information.
+
===Notes===
 +
 +
<div class="docs-alert-success">In WHMCS 8.9 and later, you '''must''' have the ''Manage Invoices'' and click '''Manage Invoices''' in the top-right corner while in view-only mode to enter or edit notes.</div>
 +
 +
Use the '''Notes''' tab to view and enter notes about the invoice.

Latest revision as of 17:59, 3 April 2024

If you are looking for documentation regarding configuration of invoice related settings, visit Invoicing Setup.

Creating Invoices

WHMCS automatically generates invoices for recurring products and services. You can also create custom one-time invoices for specific clients.

To create a one-time custom invoice for a specific client:

  1. Perform one of the following methods to create the draft invoice. The system will create a new invoice in Draft status.
    The due date for manually-created invoices defaults to the same number of days in the future as you allow for automatic invoice generation. You can customize this via the Options tab when managing an invoice.
    • From the client's profile's Summary tab, click Create Invoice.
    • From anywhere in the Admin Area, click the + icon at the top of the interface and choose New Invoice.
      1. Choose a client.
      2. Enter invoice and due dates.
      3. Select a payment method.
      4. Click Create Invoice.
  2. To configure the invoice's details:
    1. Update the desired settings in the Options tab.
    2. Click Save Changes.
  3. Under Invoice Items, for each invoice item that you wish to add:
    1. Enter a description and amount.
    2. Click Save Changes. A new row will then appear to allow adding further line items.
  4. To publish the invoice, choose the Summary tab and click a publishing option. These options only display when the invoice is in the Draft status and you have the Manage Invoices permission. Clicking them will set the Invoice Date value to the current date.
    • Publish & Send Email — Convert the invoice to Unpaid and send the Invoice Creation email to the customer.
    • Publish — Convert the invoice to Unpaid without notifying the customer.

In WHMCS 6.2 and later, you can navigate away from the invoice at any time during this process and return to it later. WHMCS will store the invoice as a draft and it will not be visible to the customer until you have marked it as complete and published it.

Searching Invoices

To search for and locate invoices, use either of the following methods:

  • Search by invoice number using the Intelligent Search in the Admin Area.
  • Search using advanced search options, including searching by line item descriptions, using the list at Billing > Invoices.

Viewing Invoices

You can view invoices by going to Billing > Invoices or the client's profile's Invoices tab. Click the invoice ID or, in WHMCS 8.9 and later, click View in the list of invoices to view the desired invoice.

In WHMCS 8.9 and later, invoices default to view-only mode. This decreases the risk of unintentional edits while viewing or paying client invoices.

  • Admins who have the Manage Invoices permission can:
    • Click Manage Invoice to edit the invoice.
    • Click Edit while viewing a list of invoices to skip view-only mode and go directly to editing the invoice.
  • Admins who only have the View Invoice permission can view invoices, add payments and credit, issue refunds, and view notes if they have the correct permissions for these tasks. They cannot edit invoice contents.

Summary

The Summary tab lists the client name, invoice and due dates, invoice items, and associated transactions, and allows you to send client emails.

Sending Emails

To send an email for the selected invoice, choose the desired email template from the menu under the invoice status and click Send Email.

You cannot send email for invoices that are in the Draft status. You must first publish the invoice before sending email.

Cancel an Invoice

To cancel an invoice, click Mark Cancelled under the invoice status.

  • In WHMCS 8.10 and later, the system cron can automatically cancel invoices after they have been overdue for a specified number of days. You can enable this setting and set the number of days in the Billing Settings section at Configuration () > System Settings > Automation Settings.
  • In WHMCS 8.9 and later, you must have the Manage Invoices permission and click Manage Invoices in the top-right corner while in view-only mode to perform this action.

Split to New Invoice

In WHMCS 8.9 and later, you must have the Manage Invoices permission and click Manage Invoices in the top-right corner while in view-only mode to perform this action.

Splitting invoices allows you to separate line items from an invoice into a separate invoice. This is useful if, for example, items appear together on a single invoice that a client wants to renew separately or a merge happened incorrectly.

To split items, select the desired items under Invoice Items and then choose Split to New Invoice from With Selected. The system will immediately move all of the items to a single new invoice.

  • This process does not send an email to the customer. If you want to notify the customer, click Send Email.
  • When splitting an invoice, the system sets the due date of the resulting invoice based on the current date and Invoice Generation settings in Configuration () > System Settings > Automation Settings.

Delete

In WHMCS 8.9 and later, you must have the Manage Invoices permission and click Manage Invoices in the top-right corner while in view-only mode to perform this action.

To delete items from an invoice, select the desired items under Invoice Items and then choose Delete.

This does not move the deleted items to a new invoice.

Add Payment

If you receive a payment that the system hasn't automatically logged in WHMCS, you will need to manually apply it to the invoice.

To do this, enter the details corresponding to the payment, including the date, payment method, transaction ID, and amount. Then, click Add Payment.

  • If a payment is not for a specific invoice, issue credit to the client instead.
  • If a payment applies to multiple invoices, add a transaction at Billing > View Transaction List. For Invoice ID(s), enter a comma-separated list of all of the invoice numbers to apply payment to.
    • The system will apply payments in the order you enter them until the client has used the full amount.
    • The system will automatically add any amount left over as a credit to the user for use on future invoices.

Options

In WHMCS 8.9 and later, you must have the Manage Invoices permission and click Manage Invoices in the top-right corner while in view-only mode to view this tab.

In the Options tab, you can configure the following invoice settings:

  • Invoice Date — The date on which the system generated the invoice or you created it.
  • Payment Method — The payment method that the system will attempt to use to pay the invoice.
  • Invoice # — The invoice number.
  • Due Date — The invoice's due date.
  • Tax Rate — The rate at which the system will tax the items in the invoice.
  • Status — The invoice status.

Credit

In the Credit tab, you can add credit to the invoice.

  • To add credit from a client's balance to an invoice, enter the desired amount under Add Credit to Invoice and click Go.
  • To remove credit from an invoice, enter the desired amount under Remove Credit from Invoice and click Go.

Automatically-generated invoices always check whether a client has a positive credit balance. If they do, the system automatically applies the credit to the invoice during invoice generation. If applying credit reduces the invoice balance to 0, the system marks the invoice Paid automatically.

Refund

In the Refund tab, you can refund transactions for the invoice. Refunding transactions allows you to issue credits and refunds for payments that clients have made.

If the system can't automate a refund for your particular gateway, you can still use this process to enter the refund billing entry in WHMCS. It will update the income totals and reflect the refund on the invoice. Then, you can go to your payment gateway to send the refund.

Refund a Transaction

To refund a transaction:

  1. If there have been multiple transactions for the invoice, select the desired transaction from Transactions. You can only refund one transaction at a time, and the refund amount cannot exceed the total amount of the transaction.
  2. For Amount, enter the amount to refund for a partial amount. Otherwise, leave this blank to refund the entire transaction value.
  3. Select the desired type from Refund Type:
    • Refund through Gateway — If your payment gateway supports refunds, WHMCS sends the refund to your gateway to process. This returns the money to the payment method that the client used.
    • Manual Refund Processed Externally — WHMCS records a refund in the system. You must then process the refund separately with your payment gateway. You may also use this if a chargeback or dispute occurs.
    • Add to Client's Credit Balance — WHMCS records a refund and adds the refunded balance to the client's credit balance. This does not return any money to the customer.
  4. Check Reverse Payment if you want to reverse the effects of the original payment (for example, when you set the invoice status to Collections and reverse the service's Next Due Date.
    • When you check this, the system's actions depend on the configuration in Configuration () > System Settings > Automation Settings.
    • This setting does not alter the system's treatment of any affiliate commissions (see the steps below).
  5. If you do not want to send a refund confirmation email, uncheck Send Email.
  6. Click Refund.

Reversing Affiliate Commission

In WHMCS 8.3 and later, if the transaction is associated with an affiliate commission and the payment gateway supports reversals, WHMCS can also reverse the commission.

  • When you perform a full refund, WHMCS automatically reverses all of the associated commissions.
  • When you perform a partial refund, WHMCS will ask you whether to also reverse the commission. You cannot, however, choose an amount of the commission to reverse. This action reverses the entire amount.
  • If you choose not to perform a commission reversal, the commission payment will not be affected. The page will reload and display the results of the refund attempt if you chose Refund through Gateway. If it fails for any reason, the Gateway Log can provide more information.

Notes

In WHMCS 8.9 and later, you must have the Manage Invoices and click Manage Invoices in the top-right corner while in view-only mode to enter or edit notes.

Use the Notes tab to view and enter notes about the invoice.