Skip to main content

Bill Profits

The Bill Profits report answers one question: how much did each bill earn? For every bill in the period it shows the sales value, the cost of the materials sold and the profit. You can also group the result by customer, by customer account, or open the materials of each bill.

Opening the report​

  • From the ribbon: Materials > Profits Reports > Bill Profits.

The report needs the Bill Profits permission on the Reports page of Users Management. It needs the materials and warehouses module and the standard reports package in your licence. Without them the command does not appear.

The conditions window appears first. Set the conditions, then click Preview to show the report, Print, or Export. The page Report parameter forms explains the buttons of this window. The page Report viewer explains what follows.

Parameters​

The conditions are listed in the order of the standard window layout. You can switch the window to tabs in the report options; the conditions stay the same. After the report is shown you can change many conditions in the Option List panel of the viewer and click Apply. The panel has these groups:

  • General: Customer, Account, Cost Center, Salesman and Distributor.
  • Period: the date range.
  • Options: Currency, Pay Type and Movement Sign.
  • Advanced Options: the four report options.
  • Sources: Report Sources.

Customers Terms is not in the panel: to change it, run the report again from the conditions window. Group Profits By Customer and Detail Bills change the columns of the report, so they are disabled in the panel while a workspace is in use, and after Refresh or Apply. To change them then, close the viewer and use the conditions window.

Main conditions​

ConditionMeaning and effectDefault and rules
CustomerKeeps the bills of this customer.Empty. Paired with Account. Customer is disabled when the account has no customers directly on it. Clearing Account clears Customer.
AccountKeeps the bills of the customers of this account and of its sub-accounts.Empty. When the account has one customer, the program fills Customer. When you choose a customer, the program fills its account.
Cost CenterKeeps the bill lines whose cost center is this one or one of its sub-centers. A line without its own cost center takes the cost center of the bill.Empty, meaning all. The condition appears only if your licence includes cost centers.
SalesmanKeeps the bills of this salesman.Empty.
DistributorKeeps the bills of this distributor.Empty.
DateA list of ready periods and the From and To boxes. The last day is included.From the first day of the financial period, or from the first day of the current month if you cleared the program option "Start Date" is beginning date, to today.
CurrencyThe currency of all amounts. A bill in this currency keeps its own rate. The program converts other bills by the rate of the bill day.The default currency of the program options. The condition appears only if your licence allows more than one currency.
Pay TypeKeeps the bills paid in the chosen way.None, meaning all. The other items are Cash, On Credit, and the commercial paper types defined in the file. The report does not separate the commercial paper types: the first one in the list gives the bills of all of them, and the others give no bills.
Movement SignThe sign of the amounts of output and input bills. See Signs.In Positive/Out Negative. The other items are In Positive/Out Positive and In Negative/Out Positive.
Customers TermsSaved conditions on customer cards. Only the customers that meet them stay. The editor is explained in Report parameter forms.None. Appears only if your licence includes conditions in reports.

When you set Customer, Account or Customers Terms, bills without a customer are left out. Otherwise the report includes them.

Report options​

OptionMeaning and effectDefault and rules
Group Profits By CustomerShows one row for each customer (one for each security level if his bills have different levels), and one row without a name for the bills without a customer, instead of one row for each bill. The bill columns disappear.Off. When you tick it, Show Accounts becomes available and Detail Bills is disabled.
Show AccountsWith the grouping, adds the main accounts above the customer accounts as a tree, with each customer under the main account of its account. A parent row totals its customers and sub-accounts.Off and disabled until Group Profits By Customer is on.
Add Vat To ProfitsAdds the taxes of the bill to the profit, and to the sales value. See How the figures are calculated.Off.
Detail BillsUnder each bill row, adds a table of its materials with their cost and profit.Off. Has no effect when the grouping is on.

Report sources​

The Report Sources list decides which bill types are counted. The list shows only the bill types that have the option Affects Materials Profits and Losses or the option Show form in Profit reports in their definition. See Invoice Forms. The list is explained in Report parameter forms.

Posted and unposted bills are counted if their security level is within your read permission for posted or unposted bills of the bill type.

The header shows the Customers Terms, the date range and the currency.

Columns​

Without grouping, the report has one row for each bill. With Group Profits By Customer, it has one row for each customer, and the Bill and Date columns are not shown. The report ends with a totals table, described in Totals.

Bill table​

ColumnMeaningShownHow it is calculated
BillThe abbreviation of the bill type and the number, such as SAL : 15.Without groupingFrom the bill.
DateThe date of the bill.Without groupingFrom the bill.
CustomerThe customer name. With Show Accounts, an account row shows the code and name of the account. The name is empty (without grouping) if you may not read the customer card.AlwaysFrom the bill.
Pay TypeCash, on credit, or commercial paper. For a commercial paper the name of the first type shows, whatever the type of the bill.Hidden. Add it from the field list.From the bill.
Bill TotalThe total of the lines before discounts and additions.HiddenThe sum of price × quantity of the lines, in the chosen currency, then the sign of Movement Sign.
Value AddedThe tax of the bill, with the credit and debit notes of the period.HiddenThe tax of the bill, with the excise tax, the reverse charge, the second and third taxes and the rounding of the tax (with the Egyptian system, the T1 tax), plus the tax difference of notes. If you set Customer, Account or Cost Center, it is the tax of the lines with the excise tax and the reverse charge only. In a bill row, Movement Sign does not change it.
DiscountsThe discounts of the bill.HiddenThe discounts of the bill plus the credit notes of the period, then the sign.
AdditionsThe additions of the bill.HiddenThe additions of the bill plus the debit notes of the period, then the sign.
SalesThe sales value.AlwaysSee Sales.
CostThe cost of the materials sold.AlwaysSales minus Profits, before the sign. Shows 0 if you may not read costs.
Total - CostThe bill total minus the cost.HiddenBill Total minus Cost, before the sign. With Add Vat To Profits the tax of the bill is added to it. Shows 0 if you may not read costs.
ProfitsThe profit.AlwaysSee Profits. Shows 0 if you may not read costs.
Percent to TotalThe profit as a share of the bill total.AlwaysProfits divided by the bill total before discounts, without the sign. 0 in a bill row and empty in a customer row when the total is zero. Shows also without the cost permission.
Percent to CostThe profit as a share of the cost.HiddenProfits divided by Cost, without the sign. 0 in a bill row and empty in a customer row when the cost is zero. Shows 0 if you may not read costs.

With the Egyptian tax system in the file, Value Added is titled T1 - Value Added. The report adds the hidden columns T2- Table tax (Percentage)%, T3- Table tax, T4 - Withholding tax, T8- Resource development fee (amount), T8- Resource development fee (rate), Taxes Total and Discount after tax. They are the sums of the same taxes of the lines, in the chosen currency. In a bill row Movement Sign does not change them. With the Senegal taxes option on, Value Added is titled Total Tax.

When Show Accounts is on, the table is a tree, opened fully when the report appears. An account row totals its customers and sub-accounts. Its Discounts and Additions include only those that affect profit or cost in the bill type. With the grouping, a row whose profit is below zero shows in the row style of output rows.

For a bill whose security level is higher than your permission to read prices on its bill type, Bill Total, Sales and Cost are empty, and Discounts, Additions and Profits are 0. Value Added still shows. If you do not have the read permission Cost Price for the security level of the bill, Cost, Total - Cost, Profits and Percent to Cost are 0, and Percent to Total still shows the real value. The cost and profit of the account rows of the tree always show. The viewer gives no notice for these two cases; it only notes the bills left out because their security level is higher than your permission to read their bill type. See the report viewer.

Materials of the bill​

With Detail Bills, each bill row opens a table of its lines. The table has no totals.

ColumnMeaningShownHow it is calculated
Material NameThe name of the material.AlwaysFrom the line.
QuantityThe quantity of the line, with the gifts.AlwaysThe quantity plus the gift quantity, counted in the first unit of the material.
UnitThe unit that the bill line uses. Quantity is not in this unit, but in the first unit.AlwaysFrom the line.
ValueThe value of the line.AlwaysThe cost of the line plus its profit, plus the tax when Add Vat To Profits is on.
CostThe cost of the line.AlwaysThe unit cost of the line × its quantity with the gifts. Shows 0 if you may not read costs.
ProfitsThe profit of the line.AlwaysThe stored profit of the line, with the credit and debit notes. With Add Vat To Profits the tax is added.
Item Share of ProfitThe share of the line in the profit of the bill.AlwaysThe stored profit of the line divided by the stored profit of the lines of the bill, without the notes and the tax. Empty when that profit is zero. Shows 0 if you may not read costs.
Total QuantityThe value of the line before discounts and additions.HiddenPrice × quantity, in the chosen currency.
Value AddedThe tax of the line.HiddenThe tax of the line plus the tax difference of notes.
AdditionsThe additions of the line.HiddenThe unit addition × quantity, plus debit notes.
DiscountsThe discounts of the line.HiddenThe unit discount × quantity, plus credit notes.

Totals​

Below the table, a second table shows two rows without headers. To get a net profit of sales minus returns, group by customer.

RowWhat it shows
First rowThe total of Bill Total, Sales, Discounts, Additions, Profits, Value Added, Cost and Total - Cost, and of the tax columns when they are shown. The totals add the bills of the table by the rules in Signs. Account rows are not added.
Second rowPercentages. Discounts, Additions, Value Added, Total - Cost and the taxes are divided by the total of Bill Total. Profits and Cost are divided by the total of Sales. A zero divisor is replaced by 1.

How the figures are calculated​

These rules apply to each bill. A bill type has two options that matter: Discounts Affect Profit or Discounts Affect Cost Price, and Additions Affect Profit or Additions Affect Cost Price.

  • Profits of a bill: the profit stored in its lines when the bill was saved, minus the credit notes of the period, plus the debit notes of the period. When the chosen currency is not the default currency, the program recalculates the cost and the profit of all bills up to the end date, in the chosen currency.
  • Sales = Bill Total + additions (if additions affect profit or cost) − discounts and discount after tax (if discounts affect profit or cost) + the taxes (only with Add Vat To Profits).
  • Cost = Sales − Profits.
  • With Add Vat To Profits, Profits also includes the taxes of the bill, so the cost does not change. Use this option without Customer, Account and Cost Center: with one of them the tax is added to the profit twice and the cost is lower by the tax.
  • In a customer row Cost always counts the discounts and additions, even if the bill type does not let them affect profit or cost, so it can differ from Sales − Profits. With Add Vat To Profits, read the cost from the bill rows, or group by customer with In Positive/Out Positive.
  • The date of a credit or debit note decides the period. Only the notes inside the period count. A note counts only if its date and the date of its bill are both in the period. Its amount is converted by the rate of the end date.
  • Amounts are converted to the chosen currency by the rate of the bill, when the bill has the same currency, or by the rate of the bill day otherwise.

Signs​

Movement Sign multiplies the amounts of a bill by a sign, as follows.

Movement SignOutput bills (sales, purchase returns)Input bills (purchases, sales returns)
In Positive/Out Positive++
In Positive/Out Negative (default)-+
In Negative/Out Positive+-

In a bill row, the sign applies to Bill Total, Discounts, Additions, Sales, Cost and Profits. It does not apply to Value Added, Total - Cost, Percent to Total, Percent to Cost and the Egyptian tax columns. In a customer row, the sign applies to all the amounts. In a bill row, an unposted bill gets the sign 0 in the two signed settings, so the signed amounts show as 0. In a customer row it is never counted.

Without grouping, the first total row adds the amounts of all the bills without the sign of Movement Sign: input bills (such as sales returns) are added to output bills, not subtracted from them. Only Value Added, Total - Cost and the Egyptian tax columns are added with the chosen sign, so input and output bills are netted in them. With Group Profits By Customer, the total row adds the customer rows as they are shown, so returns are subtracted from sales.

Example​

The default Movement Sign is on, Add Vat To Profits is off, and the currency is the default one. A posted sales bill has lines totalling 1,000.00, discounts 50.00 and additions 20.00. The bill type has the options that make discounts and additions affect profit. The stored profit of the lines is 240.00.

ColumnValue in the rowCalculation
Bill Total-1,000.001,000.00 × -1
Discounts-50.0050.00 × -1
Additions-20.0020.00 × -1
Sales-970.00(1,000.00 + 20.00 − 50.00) × -1
Profits-240.00240.00 × -1
Cost-730.00(970.00 − 240.00) × -1
Total - Cost270.001,000.00 − 730.00 (no sign)
Percent to Total24.00%240.00 / 1,000.00
Percent to Cost32.88%240.00 / 730.00

In the first total row (without grouping), the bill is added without the sign, and the output sign -1 is applied only to Total - Cost, which has no sign in the row: Bill Total 1,000.00, Sales 970.00, Profits 240.00, Cost 730.00, Total - Cost -270.00. In the second row: Profits 24.74% (240.00 / 970.00), Cost 75.26% (730.00 / 970.00), Discounts 5.00% (50.00 / 1,000.00).

With In Positive/Out Positive all the amounts of the row are positive, and the total row has the same amounts.

The program adds display commands for the keys of a row. Each command appears only if the row has what it opens and you have the permission. The report has no commands of its own.

CommandTableWhen it appearsWhat it does
Display Bill...BillsThe row is a bill (no grouping).Opens the bill.
Display Account Statement...BillsThe row has a customer, and you have the Customer Statement permission.Opens the conditions window of the customer statement with the customer of the row.
Display Customer card...BillsThe row has a customer.Opens the customer card.
Display Material Movement...Materials of the billThe line has a material, and you have the Material Movement permission.Opens the conditions window of the material movement report with the material.
Display Daily Movement...Materials of the billThe line has a material, and you have the Daily Movement permission.Opens the conditions window of the daily movement for the material.
Display Material Card...Materials of the billThe line has a material.Opens the material card.

A double-click on a row runs the last command you used from the menu, otherwise the first command in it. The account rows of the tree have no customer, so they have no commands. With the Egyptian tax system, the field list also offers the delivery, payment and order information of the bill.

Messages​

Message or situationWhy it appearsWhat to do
You don't have the authority to see some of the transactions, so the Totals shown are incorrect because they do not take these transactions into consideration!Some bills have a security level above your permission, so the program left them out.Ask the administrator to raise your permission, or accept that the totals leave them out.
Bill Total, Sales and Cost are empty, and Discounts, Additions and Profits are 0, for some billsThe security level of the bill is above your permission to read prices.Ask the administrator to change the permission.
Cost, Total - Cost, Profits and Percent to Cost are 0You do not have the read permission Cost Price for the security level of the bill.Ask the administrator to change the permission.

This page applies to alameen ERP 10, version 10.1.79.764.