Category:Invoice: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:


===Invoice Status===
===Invoice Status===
The "Status" field in the "Charges and Payments" tab of the booking allows you to add a tag or additional custom tags to the booking. You have the option to set default values for the statuses for charges and payments.
The "Status" field in the "Charges and Payments" tab can be used to specify the type of item. Statuses can be preset for upsell items and for extra invoice charges.
 
These template variables get the totals based on the status value in the booking:
 
[INVOICEPARTCHARGES:]
[INVOICEPARTPAYMENTS:]
[INVOICEPARTBALANCE:]
 
Add the status after the : Multiple statuses can be added separated by a comma. You can also apply an optional multiplier or offset.  
 
You can include status values or exclude them with an exclamation mark !
 
Example: A property uses 2 statues which are tax, restaurannt and bar
 
[INVOICEPARTCHARGES:restaurant,bar!tax:10%] will calculate the balance of all invoice charges with the status bar or restaurant but not tax and and apply a 10% offset.


===Custom Invoice Balance===
===Custom Invoice Balance===