Generate Several Credit Notes
Generate Several Credit Notes gives one customer a discount over many sales invoices at once. You choose the customer and the period, enter one amount or one ratio, and the program creates one credit note for each invoice. Each note is the same note that the Sales Note window makes, with its own entry. The feature has three windows: the list of earlier processes, the options window that finds the invoices, and the window that shows the invoices and generates the notes.
Opening the window
- Click Invoices on the ribbon, open the Notes menu in the Working Tools group, and choose Generate Several Credit Notes. The command is on the ribbon only if a file is open, your licence includes the accounting feature, and you have the permission Generate Several Credit Notes (one check box under Operations in Users Management).
- In a note made by this feature, open Display > Generation Process to open the process that created it. See the Display menu.
Inside the windows, two more permissions apply: View credit notes generating window and Generate several credit notes in the window. They are listed in Users Management, under Operations, in the group Notes, when the Saudi e-invoicing system is on in the file.
The list of processes
The first window lists the processes that were already generated, in the order of their numbers.
| Column | Description |
|---|---|
| Number | The process number. |
| Customer Name | The customer of the process. |
| Processing Date | The date the process was made. |
| From | The first date of the invoices it covered. |
| To | The last date of the invoices it covered. |
| Discount Total | The total of the discounts it generated. |
| Button | What it does |
|---|---|
| New | Opens the generate window empty. Enabled only if you have the permission Generate several credit notes in the window. When you come back, the list reloads if a process was generated. |
| Browse | Opens the selected process for reading. Enabled only if the list has rows and you have the permission View credit notes generating window. |
| Close | Closes the list. |
Choosing the invoices
In the generate window, click New to open Credit Notes Generating Options. Only sales invoices are listed as sources, and price offers are left out. Without the Saudi e-invoicing system, an invoice that already has any note is not found. With it, an invoice is left out only while it has a note that is not prepared, in draft or rejected, and invoices that are themselves not prepared, in draft or rejected are left out too.
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Customer | The customer whose invoices get the discount. | Yes | Choosing no customer stops the search with the message "Please enter the customer/supplier name". |
| Material | Count only the lines of this material. | No | Can't be used together with Group. Choosing one disables the other. |
| Group | Count only the lines of the materials of this group. | No | Can't be used together with Material. |
| Warehouse | Only invoices of this warehouse. | No | |
| Cost Center | Only invoices of this cost center. | No | |
| Branch | Only invoices of this branch. | No | |
| From | The first date of the invoices. | Yes | The first date of the period if the option "Start Date is beginning date" is on, otherwise the first day of the current month. |
| To | The last date of the invoices. | Yes | Today, or the last day of the file's period if that is earlier. It can't be after today. |
| Pay Method | Invoices paid in this way. | No | All (default), Cash or On Credit. |
| Payment Status | Invoices in this payment state. | No | All (default), Paid, Partially Paid or Unpaid. A cash invoice counts as paid. |
| Report Sources | The invoice forms to look in. | Yes | A list with check boxes of the sales forms. Posted and unposted invoices are included according to your permission on each form. |
| Button | What it does |
|---|---|
| Ok | Finds the invoices and closes the dialog. If none is found, shows "No results found according to selected options" and stays open. |
| Close | Closes the dialog and keeps the generate window as it was. |
The generate window
After Ok, the window shows the customer, the period and one row per invoice. Nothing is saved yet. A banner at the bottom says "Program will not save the window before the notes is generated".
| Field | Description | Required | Values and rules |
|---|---|---|---|
| Customer | The customer of the process. | — | Read-only. |
| From | The first date of the invoices. | — | Read-only. |
| To | The last date of the invoices. | — | Read-only. |
| Processing Date | The date of the process. | — | Read-only. |
| Material | The material filter you chose. | — | Read-only. |
| Group | The group filter you chose. | — | Read-only. |
| Input Method | How you enter the discount. | — | Total (default): one amount or one ratio for all invoices. Items: a discount for each invoice in the grid. Changing it to Items clears the amount and the ratio. Enabled before generating. |
| Amount | The total discount before VAT, for all the invoices together. | Yes, with Total | Enabled only with Total, before generating. Typing here clears the ratio and the program recalculates it. |
| Percentage | The discount as a ratio of the total net value of the invoices. | — | Enabled only with Total, before generating. Typing here recalculates the amount. A ratio above 100 becomes 100. |
| Discount Account | The account that takes the discounts. | No | Enabled before generating. If you leave it empty, each note uses the discount account of its invoice form. If you choose an account, every note uses it. |
Five boxes under the grid show the totals.
| Box | What it shows |
|---|---|
| Transaction No | The process number. Visible after the notes are generated, or when you browse a process. |
| Invoices Total | The total net value of the invoices (the sum of Net invoice value). |
| Notes Count | How many notes will be generated: the invoices whose discount is not zero. |
| Total Discount Amount | The total of the discounts. |
| Total VAT Difference | The total of the VAT on the notes. |
Grid
| Column | Description | Editable |
|---|---|---|
| Bill No | The invoice number. | No |
| Serial number | The e-invoice serial number of the invoice. | No |
| Date | The invoice date. | No |
| Value | The value of the invoice before VAT. | No |
| Returns | The returns made from the invoice. | No |
| Credit Note | The credit notes already issued on the invoice. | No |
| Debit Note | The debit notes already issued on the invoice. | No |
| Net invoice value | The invoice value now. | No |
| Discount Total | The discount that the note of this invoice takes. | Only with Input Method set to Items |
| Percentage Discount | The same discount as a ratio of Net invoice value. | Only with Items |
| VAT difference | The VAT on the note. | No |
| Note Number | The number of the note, after generating. | No |
With a material or group filter, the columns count only the lines of that material or group.
The right-click menu of a row has Show Invoice. After generating, it also has Show Notes, which opens the note of that row. The clipboard commands are not offered. See the grid.
Buttons
| Button | What it does |
|---|---|
| New | Opens Credit Notes Generating Options to find other invoices. Enabled until you browse a saved process. |
| Generate | Creates the notes. Enabled only before generating, and only when Total Discount Amount is above zero. |
| Prints the process. Enabled after the notes are generated or when you browse a process. See Bill pickers and print dialogs. | |
| Close | Closes the window. |
How the discount is shared
- Total. The program divides your amount by the total of Net invoice value to get one ratio. Each invoice gets that ratio of its own net value. Inside an invoice, the discount is shared over the items in proportion to their net values, as in the Sales Note window. If you typed a ratio, each invoice takes that ratio.
- Items. You type the discount of each invoice in Discount Total or Percentage Discount. The totals follow the grid.
- An invoice whose net value is zero gets no discount. The ratio of an invoice can't pass
100. - Each invoice gets a note only if its discount is not zero.
What Generate does
- If the option Force backups in management tools in tax system is on, the program starts a backup first. If the backup doesn't complete, nothing is generated.
- It checks that the window can be saved, as the other windows do.
- In one operation it creates the notes, one per invoice with a discount. The notes get the next numbers of credit notes in order. Each note is dated today. Each note has the customer account, the cost center and the security level of its invoice. Its discount account is Discount Account of the window, or the discount account of the invoice form. Each note gets its entry, posted, as described in the entry of the note. With the Saudi e-invoicing system on, each note goes through the same steps as Add in the Sales Note window: in phase 2 it is also sent to the authority at once, with the same permissions (see Saudi e-invoicing).
- It saves the process with the next process number, and links every note to it.
If any note fails, the program saves nothing and shows "Error generating notes".
After generating, the window shows the Transaction No and the Note Number of each row. Generate and the fields are disabled. Print is enabled.
Messages
| Message | Why it appears | What to do |
|---|---|---|
| Please enter the customer/supplier name | You clicked Ok in the options window with no customer. | Choose the customer. |
| The "To Date" field cannot be later than today's date. | To is after today. The program sets it to today. | Click Ok again, or choose another date. |
| No results found according to selected options. Sorry! either there is no invoice belongs to the customer matching the selected options, or you have no permission | No invoice of the customer matches the options. | Widen the dates, change the sources, or check your permissions. |
| Error generating notes | Creating the notes or the process failed. | Nothing was saved. Fix the cause and try again. |
| Error reading generation process | You browsed a process and its data could not be read. | Close the window and try again. |
Related topics
This page applies to alameen ERP 10, version 10.1.79.764.