On this page

Sales documents ​

Overview ​

There are eight document types, each with its own screen: a list of documents, and a document page with the header, lines and totals.

  • Types that are released (they create no journal entry): Quotations, Sales orders, Pick lists and Return requests.
  • Types that are posted: Deliveries, Sales invoices, Sales returns and Price credits.

Where to find it ​

In the sidebar, go to Sales and choose the document type. The list shows Number, Date, Customer, Customer reference, Lines, Total and Status. To start a new document, select Create.

Document types ​

TypeActionCopies fromEffect
QuotationsRelease—No accounting effect
Sales ordersReleaseQuotationShows as open demand in the available quantity (SP7)
Pick listsReleaseOrderReserves the order quantity until it's delivered
DeliveriesPostOrder, pick list, quotationIssues the goods from the warehouse and posts the cost of sales (SP2)
Sales invoicesPostDelivery, order, quotationRevenue and the receivable. Without a delivery, it also issues the goods (SP3)

The document page ​

Fields ​

Header

  • Branch and Date.
  • Customer.
  • Salesperson and Payment terms. The Customer default option takes them from the customer's profile and card.
  • Valid until (quotations): an expired quotation isn't offered for copying.
  • Warehouse: if the branch has only one warehouse, it's suggested.
  • Requested delivery date (orders).
  • Customer reference and Description.
  • Document discount (%) and Freight.
  • Prices include tax: suggested from the branch setting, and follows the document it was copied from.

An item marked Excluded from the header discount on its item card gets no share of the document discount, and its value doesn't count when the discount rate is worked out — the same as at the point of sale (PB40).

Lines, in a keyboard grid

  • Item code, Item and Quantity.
  • Unit: any of the item's units. For example, two cartons are sold at the carton price, and the system converts them to the base unit. Scanning a carton barcode picks the carton unit automatically.
  • Price, Discount % and Net.
  • Remaining, on released documents.

Leave Price empty to read it from the price lists (S1). If a line has no price and the item has no price in the price list, you get a warning when you save: Line {line}: the item has no price in the price list; enter the selling price on the line. A price you type yourself doesn't trigger the warning.

Totals

Gross, Discounts, Net, Tax and Total. After posting, the Receipt voucher and the Journal entry also appear.

Buttons and actions ​

ButtonWhen it appearsWhat it does
Copy fromDraftCopies the remaining quantity from an earlier document for the same customer (SP1)
Release or PostDraftGives the official number (SP20), or sends the document for approval if an approval template applies (G3)
ReversePosted documentReverses the entries and stock movements; a reason is required (D5)
Close remainingReleased orderCloses the undelivered quantities, with a reason
Cancel documentReleased document with no follow-on documentsCancels it, with a reason
CopyAny documentCreates a new draft with the same lines and no links
DeleteDraftDeletes it

Barcodes and Excel import ​

  • Barcodes. Type or scan a barcode into Item code. It's replaced by the item code and unit, and by the barcode's price and quantity if it carries them. Text that's neither an item nor a barcode stays as you typed it and is rejected when you save.
  • Excel. Import lines from Excel, above the grid, reads a file with columns for the barcode or item code, unit, quantity, price, discount % and description. Valid lines are added to the open draft. Importing the same file again replaces its lines rather than duplicating them (IV15). A file with errors is rejected in full, with the row number and the reason for each error.

Attachments and printing ​

  • Attachments appear at the bottom of the document once it's saved. Use Attach a file (up to 10 MB; PDF, images, Word, Excel, text and CSV files), Download and Delete attachment. Viewing and downloading need the permission to view the document; attaching and deleting need the permission to edit it.
  • Print (PDF) downloads the document as a PDF in the interface language (Arabic is right-to-left, with an embedded font).
    • The template is chosen in this order: the customer profile's template, then the document type's template in the sales print settings, then the default template (S8).
    • The customer balance printed on the document (previous and closing) comes from posted entries as of the document date, so it stays the same every time you reprint. It's hidden if the customer profile asks for that (S7).
    • Empty fields aren't printed. A quotation prints "valid until" instead of a due date; an order prints the requested delivery date if there is one; an invoice prints the due date; and the customer reference and description print only if they were entered.

Steps ​

From quotation to invoice

  1. Create a quotation: choose the Customer, enter the lines, save, and select Release.
  2. Create an order for the same customer and save it. Select Copy from, choose the Document type and the Document, then select Copy remaining. Release the order.
  3. Create a delivery in Deliveries and copy from the order. For a partial delivery, change the Quantity before posting. After posting, the order shows the Remaining quantity.
  4. Create the invoice, copy from the delivery, and select Post.

The Copied from column on the document lines shows the source document number and line number for each copied line. It stays visible after saving and posting. If the source doesn't have a number yet, its draft number is shown.

Cash sale (SP5)

Payment lines on the invoice create a posted receipt voucher, matched to the invoice, in the same operation. Its number appears in Receipt voucher. Reversing the invoice also reverses the receipt.

Business rules ​

  • Copy limits. A copied quantity can't exceed what's left on the source line. Drafts count too, so two drafts can't take the same remaining quantity, and the check runs again on posting (SP1).
  • Credit limit (S5). Exposure = the customer's posted balance + open orders + delivered but not invoiced + this document. If the limit is exceeded and you have the override permission, the Credit limit exceeded dialog appears; Post with override records the user and the time of the override. Without the permission, posting is rejected.
  • Promotions (POS20). An active promotion applies automatically when you save, and its discount shows in Net. A promotion discount doesn't stack with a line discount; the better one for the customer is kept (S2, S3).
  • Changing the price or discount (SP6). A manual price that differs from the calculated price, or a discount above the limit, needs the price-override permission or an approval; otherwise it's rejected. Selling below cost shows a warning, and the cost is visible only to users with the permission to see it.
  • Tax-inclusive prices (S10). On a document with Prices include tax, prices, discounts and freight include tax. The line total stays as entered and the tax is extracted for each line (price × rate ÷ (100 + rate)); Net and Tax are shown separately. A price-list price on the other basis is converted at the line's tax rate. Copying keeps the source's prices, so you can't copy a line from a document on a different basis (you get an invalid-line message).
  • Invoice date. An invoice can't be dated before the delivery it was copied from (SP3).
  • Line IDs. Every grid line has a fixed ID, so saving again never duplicates a line (IV15).

Accounting effect ​

When an invoice is posted (D9b):

AccountDebit or creditAmount
Customer receivableDebitThe total, split across the payment term's instalments with their due dates (MA5)
SalesCreditThe gross amount before discount
Sales discountDebitAll discounts
Freight revenueCreditThe freight charge (SP8)
Service-charge accountCreditService charges

The delivery (or the invoice, when there's no delivery) posts the cost of sales from Inventory. A return reverses all this, using the sales returns accounts.

Returns and return requests ​

  • Returns. Copy the return from the invoice. Each line links to the invoice line at its price, and the quantity can't exceed what hasn't already been returned (SP4). Posting puts the goods back into the warehouse according to the return reason, and credits the customer's receivable.
  • Unlinked returns. A return that isn't linked to an invoice needs a special permission.
  • Return requests reserve the quantity to be returned while they're open. A request is converted once into a draft return.

Price credits ​

A price credit lowers the price of an invoice line without any stock movement. Copy from the invoice, enter the credit amount in Price, and post. The entry debits sales returns and credits the customer's receivable.

Statuses ​

Draft → Pending approval (when an approval template applies) → Released or Posted; then Closed, Cancelled or Reversed. See Document lifecycle.

Error messages ​

MessageCause
Line {line} exceeds the remaining quantity of the source ({remaining}).The copied quantity is more than what's left.
The customer's credit limit is exceeded: exposure {exposure}, limit {limit}.Exposure is above the credit limit and you don't have the override permission.
The invoice date is before the delivery date.The invoice is dated before the delivery it was copied from.
The tax code does not exist in this company.The line's tax code was deleted or isn't defined in Tax codes.
The VAT return of {date} is closed; tax lines cannot be posted or reversed in it.The document date falls in a closed VAT return period (D7a).