Sales & Purchase

ERP includes sales invoices and purchase bills to record customer sales and vendor purchases. These documents update stock and integrate with production: finished goods go out via sales, raw materials come in via purchases.

Customers and Vendors

Add customers under Customers and vendors under Vendors, on the website or in the Xnoll mobile app. Each has a name, tax number (GSTIN in India, Tax ID elsewhere, always optional), phone, email, credit limit, tags, notes and one or more addresses with a default billing and shipping address.

A customer or vendor used on an invoice, bill, return, payment, credit or debit note, or expense cannot be deleted, so your records stay complete. Set it to Inactive instead. Export the list to a CSV file from the list screen.

Sales Invoices

Sales invoices record sales to customers. When you issue a sales invoice, stock is deducted for the items sold. This is how finished goods leave your warehouse.

How to Create a Sales Invoice

Go to Sales → Invoices, on the website or in the Xnoll mobile app, and add an invoice. Choose the customer and the warehouse (your default warehouse is chosen first), add lines with item, quantity, rate and tax, and save. The invoice is saved as a draft. Leave the number empty to get the next number of your invoice series; a number that is already used is refused.

Field Description
Customer Customer to bill. Select from customers list.
Date Invoice date.
Items Line items: Item, Quantity, Rate, Tax, Amount.
Warehouse Warehouse to deduct stock from.
Sales Invoice List Columns
Invoice #
Reference number.
Customer
Customer name.
Date
Invoice date.
Amount
Total amount.
Status
Draft, Issued or Cancelled. An issued invoice also shows Unpaid, Partly paid or Paid.

Issue, Cancel and Delete

Issue a draft to take its stock out of the warehouse and post it to your accounts. A batch item needs a batch, and a serial item needs one serial number for each piece. An issued invoice cannot be edited.

Cancel an issued invoice to put its stock back, reverse its accounting and return its serial numbers to stock. An invoice with a payment, a sales return or a credit note cannot be cancelled until those are removed. A draft can be deleted, because nothing was posted yet.

Purchase Bills

Purchase bills record purchases from vendors. When you post a purchase bill, stock is added for the items received. This is how raw materials and supplies enter your warehouse.

How to Create a Purchase Bill

Go to Purchase → Bills, on the website or in the Xnoll mobile app, and add a bill. Choose the vendor and the receipt warehouse, add lines with item, quantity, rate and tax, and save. The bill is saved as a draft. Type the bill number from the vendor, or leave it empty to get the next number (PB-000001 …). Choosing an item fills its purchase price and tax, and its preferred vendor when no vendor is chosen yet.

Field Description
Bill Number The bill number from the vendor, or empty for the next number of the series.
Vendor Vendor who supplied the goods.
Date Bill date.
Items Line items: Item, Quantity, Rate, Tax, Amount.
Warehouse Warehouse to add stock to.
Purchase Bill List Columns
Bill #
Reference number.
Vendor
Vendor name.
Date
Bill date.
Amount
Total amount.
Status
Draft, Posted or Cancelled. A posted bill also shows Unpaid, Partly paid or Paid.

Post, Cancel and Delete

Post a draft to add its stock to the warehouse and record it in your accounts. For a batch item, enter the batch number with its manufacturing and expiry dates (leave the number empty to get the next one). For a serial item, enter one serial number for each piece. A posted bill cannot be edited.

Cancel a posted bill to take its stock out again, reverse its accounting and remove its serial numbers. A bill cannot be cancelled while a payment, purchase return or debit note is linked to it, or when stock received on it was already used or moved; return the goods with a purchase return instead. A draft can be deleted, because nothing was posted yet.

Returns and Notes

Sales Returns

A sales return records goods a customer sends back against an issued sales invoice. For each line, enter the quantity that goes back to stock (good goods) and the quantity for credit only (damaged goods that never enter stock); for serial items, choose the serial numbers. Receive the return to add the good quantity to the warehouse (the returns warehouse from Settings is suggested) and to raise a credit note (CN-…). The credit reduces what the customer still owes on the invoice.

Purchase Returns

A purchase return records goods you send back to a vendor against a posted purchase bill. For each line, enter the quantity sent back and the quantity for debit only (no goods sent). Send the return to take the goods out of the warehouse and to raise a debit note (DN-…). A return cannot be sent when the goods are no longer in the warehouse; use debit only for them.

Credit and Debit Notes

A credit note reduces what a customer owes you, and a debit note reduces what you owe a vendor, without moving goods. Choose the customer or vendor, optionally the invoice or bill it is against, the date, the amount before tax and the tax. Credit notes follow the sales invoice permissions and debit notes the purchase bill permissions, so each person sees only the notes they work with.

A draft return can be deleted, which frees its quantities again. A received or sent return is final. Credit note numbers are shared by sales returns and credit notes, and debit note numbers by purchase returns and debit notes, so a number is never used twice. You can do all of this on the website or in the Xnoll mobile app.

How to Print or Download Documents

Open any sales invoice or purchase bill. Use the Print or Download button to generate a PDF. You can send the document to customers or vendors or keep it for your records.