Skip to main content

Pay an order

Payment finishes a dine-in, takeaway or delivery order. The program saves the payments, closes the order, generates the sales bill and its entry according to the bill type settings, and prints the receipt.

Before you begin​

  • The order needs at least one item that is not cancelled, and the day must not be closed and today's date must be within the allowed posting dates. Other orders have checks listed in Checks before the window opens.
  • To generate the bill at payment time: in Restaurant settings set the bill type for each order type with the Invoices... button (Dine-in Order, Takeaway Order and Delivery Order); in Default Accounts set the Middleman; and check that the bill type has a default warehouse and a cash account, or that the Default Cash Account is set.
  • The user needs the right on the command (Cash pay or Payment Screen). If not, and the option Use password with blocked commands is on, the program asks for the main password. If you do not have the right and no password is asked, "You dont' have the authority" appears with a beep.
  • Open the order from the order entry screen or select it in the Restaurant screen. See Take a new order.

Steps​

Pay in cash with one click​

  1. Choose the order. In the order entry screen, type in the entry box the amount you received from the customer if it is more than the order total. Otherwise leave it empty.
  2. Click Cash pay (in the Restaurant screen the button is Pay cash).
  3. If the option Warn when pay order in cash is on, the program asks "Are you sure you want to pay order in cash?" with OK and Cancel. Click OK to continue.
  4. The payment ends. The program shows a message with the amount Paid and, under the heading Remaining, what was given back to the customer. Then it clears the screen for a new order.

The command pays the whole order in the first currency of the currency list. If you typed an amount below the total, "Payments total is less than the bill total" appears and nothing is paid. If you typed more, the program records the difference as returned to the customer.

Pay in several ways​

  1. Click Payment Screen. The Restaurant pay screen opens after its checks.
  2. Enter the amounts: type the amount in the box and press a currency button, a paper type button, Pay via Bank Card, or Credit payment after you choose the customer with Credit to Customer.
  3. Check that the remainder is zero.
  4. Click Pay order. The program runs the payment checks and, if they pass, closes the window and saves.

Pay on credit with one click​

  1. Check that the order has a customer. A new order starts with the default customer of the bill type.
  2. Click Credit sale to record the whole order on the order customer's account. If you have the commands Credit Payment - Customer1 to Credit Payment - Customer10 on your screen, each one puts a fixed customer on the order and records it on that customer. You set the customers with the Customers button in Default Accounts.
  3. If the order has no customer, "Please select the credit customer, paying order process cannot be completed" appears.

These commands appear only if the administrator put them on the command bar.

Pay by bank card or loyalty points​

The commands Pay via Bank Card, Pay by Loyalty Card, Loyalty Card - Pay by points and Sales by points pay the whole order the named way. The steps are as in POS: see Pay by bank card and Pay by loyalty card. In restaurants the bank card payment is in the first currency, and the cash account of the bill is the card's receiving account.

Result​

What the program does after the checks pass, as one operation. If any part fails, all of it is cancelled and the order is not paid:

  1. Saving the payments: The program saves the payments package: currencies, papers, cards, points and the credit amount.
  2. Closing the order: It stores the current period number and the user who finished the order. The closing date is now, unless the option Close the day at is on and the payment time is between midnight and that hour, in which case the order is dated the previous day.
  3. The bill: If the option Generate bills after payment is on, the program generates the sales bill at once. If it is off, only the order is saved and the bill is generated when the period is closed: the program generates the period's input and output bills, then a bill for every order of the period that has none. See Close the current period.
  4. After payment: The program sends a payment notification, prints the receipt if printing is on (the Pause Printer button stops it), updates the discount card and its points if the order has one, removes the order from the list, and shows Paid and the remainder.

The bill​

Bill itemWhere it comes from
Bill typeBy order type, from Invoices... in the restaurant settings: Dine-in Order, Takeaway Order, Delivery Order or Returned order. If the order has a special type, that type.
Number and dateThe next number of the bill type in the branch, and the order's closing date.
WarehouseThe default warehouse of the bill type.
LinesThe order's items that are not cancelled, with their quantities, prices and line discounts.
Discount and extraThe order discount and additions, tax, delivery fees and the payment rounding if any. They are distributed over the bill lines.
Pay methodCash or Credit, by the payment type below.
NotesThe order number and type, the driver and the table, if the option Generate notes automatically is on.
Posting and entrySaved posted and with its entry if the bill type posts and generates the entry automatically (Auto Posting to Accounts and automatic entry). Otherwise it stays unposted.

Payment type and accounts​

The program decides the payment type from what was paid:

CasePayment type
Only one currency has an amount, with no papers, no credit, no points and no bank cards; or the commands Cash pay and Pay via Bank CardCash
The credit amount equals the order total or more; or the command Credit saleCredit
Any other case (several currencies, a paper, a bank card with others, points, partial credit)Multiple
  • Cash: a sales bill whose cash account is the Default Cash Account from Default Accounts, or, if it is empty, the default cash account of the bill type. There is no separate payment entry. With Pay via Bank Card the account is the card's receiving account, and the card name and verification code are added to the bill notes in brackets.
  • Credit: a credit bill on the order customer's account for the full value. There is no separate payment entry.
  • Multiple: a credit bill on the order customer's account, or on the Middleman account if the order has no customer. Then the program generates one payments entry dated as the order, posted at once. For each payment it has a debit line on the receiving account and a credit line on the order customer's account:
    • Cash: debit the Default Cash Account.
    • Bank card: debit the receiving account set on the card.
    • Loyalty points: debit the loyalty points account.
    • Money given back in a currency is recorded the opposite way with the note "Returned".
    • Commercial papers: a real paper is created for each entered paper, and their entries are generated.
  • In a delivery order, the delivery fees enter the bill as a credit extra on the driver's account, or on the extra account of the bill type if the driver has no account. If the driver has a commission ratio and a commission account, the amount is split between them.

If there is a credit amount, the program checks the maximum balance of the customer account when the budget check is on, and only when the bill is generated at payment (Generate bills after payment).

Example​

A dine-in order with a total of 100.00 for the customer "Al-Noor Company". The customer pays 60.00 in cash and 30.00 by bank card, and 10.00 stays on credit. The bill type of dine-in orders posts and generates the entry automatically.

  1. In Payment Screen type 60 and press the currency button.
  2. Type 30, press Pay via Bank Card, and read and verify the card.
  3. Press Credit to Customer and choose "Al-Noor Company", then press Credit payment with the box empty. The credit amount becomes 10.00.
  4. The remainder is zero. Press Pay order.

Result: a multiple payment.

What is generatedDebitCredit
The sales bill (with its automatic entry)"Al-Noor Company" 100.00The sales account of the bill type 100.00
Payments entry: cashDefault Cash Account 60.00"Al-Noor Company" 60.00
Payments entry: cardThe card's receiving account 30.00"Al-Noor Company" 30.00

"Al-Noor Company" is left owing 10.00. For a full cash payment of 100.00: a bill with the cash account debited 100.00 and the sales account credited 100.00, and no extra entry.

If something goes wrong​

MessageWhy it appearsWhat to do
Error encountered while saving the orderThe bill could not be generated: no bill type for the order type, no middleman customer, no default warehouse on the bill type, no cash account (neither on the bill type nor in Default Accounts), or another saving errorCheck Invoices... and Accounts... in the restaurant settings and try again. The payment is not saved.
Cannot add! the customer you selected not belong to Accounts Receivable groupThe bill type has a main account for customers and the order's customer is not under itChoose a customer under the main account of the bill type
Error encountered while saving detailed paymentSaving the payments package failedTry again. If it repeats, check the connection to the database.
No materials added to the orderThe order is emptyAdd an item
Currency is not selectedCash pay and no currency is defined in that positionDefine the currencies in the program
Payments total is less than the bill totalCash pay with a typed amount below the total, or an order with a zero totalType an amount not below the total, or use Payment Screen
Please select the credit customer, paying order process cannot be completedCredit sale and the order has no customerChoose a customer for the order
Order is open on Android and cannot be edited, deleted, or paid.The order is open on an Android device and you are in the Restaurant screenWait until the Android device closes it
Order is open by another device and cannot be modified, deleted or paidThe order is open on another device and you are in the Restaurant or Delivery screenWait until the other device closes it
Account exceeds maximum balanceA credit amount over the customer's maximum balance. The lines Maximum Balance, Balance and Diff appear with itWith the right Exceeded Account Budget the program may ask you to confirm. Otherwise lower the credit amount.
Order should be prepared, Must define a driver, and othersChecks before paymentSee Checks before the window opens

This page applies to alameen ERP 10, version 10.1.79.764.