Skip to main content

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.

ColumnDescription
NumberThe process number.
Customer NameThe customer of the process.
Processing DateThe date the process was made.
FromThe first date of the invoices it covered.
ToThe last date of the invoices it covered.
Discount TotalThe total of the discounts it generated.
ButtonWhat it does
NewOpens 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.
BrowseOpens the selected process for reading. Enabled only if the list has rows and you have the permission View credit notes generating window.
CloseCloses 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.

FieldDescriptionRequiredValues and rules
CustomerThe customer whose invoices get the discount.YesChoosing no customer stops the search with the message "Please enter the customer/supplier name".
MaterialCount only the lines of this material.NoCan't be used together with Group. Choosing one disables the other.
GroupCount only the lines of the materials of this group.NoCan't be used together with Material.
WarehouseOnly invoices of this warehouse.No
Cost CenterOnly invoices of this cost center.No
BranchOnly invoices of this branch.No
FromThe first date of the invoices.YesThe first date of the period if the option "Start Date is beginning date" is on, otherwise the first day of the current month.
ToThe last date of the invoices.YesToday, or the last day of the file's period if that is earlier. It can't be after today.
Pay MethodInvoices paid in this way.NoAll (default), Cash or On Credit.
Payment StatusInvoices in this payment state.NoAll (default), Paid, Partially Paid or Unpaid. A cash invoice counts as paid.
Report SourcesThe invoice forms to look in.YesA list with check boxes of the sales forms. Posted and unposted invoices are included according to your permission on each form.
ButtonWhat it does
OkFinds the invoices and closes the dialog. If none is found, shows "No results found according to selected options" and stays open.
CloseCloses 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".

FieldDescriptionRequiredValues and rules
CustomerThe customer of the process.—Read-only.
FromThe first date of the invoices.—Read-only.
ToThe last date of the invoices.—Read-only.
Processing DateThe date of the process.—Read-only.
MaterialThe material filter you chose.—Read-only.
GroupThe group filter you chose.—Read-only.
Input MethodHow 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.
AmountThe total discount before VAT, for all the invoices together.Yes, with TotalEnabled only with Total, before generating. Typing here clears the ratio and the program recalculates it.
PercentageThe 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 AccountThe account that takes the discounts.NoEnabled 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.

BoxWhat it shows
Transaction NoThe process number. Visible after the notes are generated, or when you browse a process.
Invoices TotalThe total net value of the invoices (the sum of Net invoice value).
Notes CountHow many notes will be generated: the invoices whose discount is not zero.
Total Discount AmountThe total of the discounts.
Total VAT DifferenceThe total of the VAT on the notes.

Grid​

ColumnDescriptionEditable
Bill NoThe invoice number.No
Serial numberThe e-invoice serial number of the invoice.No
DateThe invoice date.No
ValueThe value of the invoice before VAT.No
ReturnsThe returns made from the invoice.No
Credit NoteThe credit notes already issued on the invoice.No
Debit NoteThe debit notes already issued on the invoice.No
Net invoice valueThe invoice value now.No
Discount TotalThe discount that the note of this invoice takes.Only with Input Method set to Items
Percentage DiscountThe same discount as a ratio of Net invoice value.Only with Items
VAT differenceThe VAT on the note.No
Note NumberThe 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​

ButtonWhat it does
NewOpens Credit Notes Generating Options to find other invoices. Enabled until you browse a saved process.
GenerateCreates the notes. Enabled only before generating, and only when Total Discount Amount is above zero.
PrintPrints the process. Enabled after the notes are generated or when you browse a process. See Bill pickers and print dialogs.
CloseCloses 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​

  1. 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.
  2. It checks that the window can be saved, as the other windows do.
  3. 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).
  4. 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​

MessageWhy it appearsWhat to do
Please enter the customer/supplier nameYou 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 permissionNo invoice of the customer matches the options.Widen the dates, change the sources, or check your permissions.
Error generating notesCreating the notes or the process failed.Nothing was saved. Fix the cause and try again.
Error reading generation processYou browsed a process and its data could not be read.Close the window and try again.

This page applies to alameen ERP 10, version 10.1.79.764.