Docs
How to create a sales invoice in Pashkateb
From picking the customer to submitting the invoice and moving stock — every step, every field, and everything the system does on its own after you save.
How do I create a sales invoice in Pashkateb?
From Transactions → Sales Invoices, click Add Sales Invoice, pick the customer and warehouse, add your items with quantity and price, and set the status. Left as Draft, nothing happens to your stock. Set to Submitted, Pashkateb deducts the quantity from the warehouse, posts the journal entry, and updates the customer balance — all in one step.
The one rule to understand first
This is the single most important thing about this screen:
A draft does nothing. Submitting does everything.
For as long as the invoice is a Draft:
- Stock has not moved.
- No journal entry exists.
- The customer balance is unchanged.
- Financial and stock reports do not see it.
The moment the status becomes Submitted — whether you chose that when creating the invoice, changed it later, or clicked the Submit button — the system does all of it at once.
That means you can prepare invoices as drafts all day without disturbing your stock, and submit them once you are sure.
Where to find it
Transactions → Sales Invoices, or go straight to /dashboard/sales-invoices.
You need sales_invoices:view to open the screen, sales_invoices:add to create one, and sales_invoices:submit to submit it.
Step by step
1. Open the form
Click Add Sales Invoice. A wide form opens with a header area for the main details, a table for the line items, and a totals area at the bottom.
2. Pick the customer
Customer is required. Start typing the name and the field searches for you.
As soon as you select someone, a small panel appears with their details: primary phone, address, tax ID, credit limit, current balance, and available credit.
Available credit is credit limit − current balance. If the credit limit is set to 0, it reads Unlimited. Check this number before you go further, because it decides whether the submit will succeed.
3. Choose the warehouse
The Warehouse field controls which items appear and what stock they show. If you leave it empty, the system uses your company's default warehouse.
If you change the warehouse after adding items, any quantity higher than what is available in the new warehouse is automatically reduced to what it can supply.
4. The optional fields
| Field | Required? | What it does |
|---|---|---|
| Shipping Company | No | Records who is delivering the order, and feeds the Orders for Shipping report |
| Lead Source | No | Where this customer came from (Facebook, referral…) — this is what fills the Leads List and Lead Conversion reports |
| Is Return Invoice | No | Turns the invoice into a return. Only available while creating |
Return invoices have their own page. The correct route is to open the original invoice and click Create Return Invoice, so the system links the return to its original and tracks the returnable quantities for you.
5. Add the items
Click Add Item for each line. On the last row you can press Enter to open a new line straight away.
| Column | Editable? | Details |
|---|---|---|
| Item Name | ✅ required | Searchable list, scoped to the warehouse you chose |
| Current Stock | ❌ display | The item's balance in that warehouse |
| Quantity | ✅ required | Minimum 0.01, maximum the available stock. Type more and it is reduced back with a warning |
| Price | ✅ | The item's sales price is filled in automatically and can be changed |
| Discount % | ✅ | 0 to 100 — calculates the discount amount |
| Discount | ✅ | Type the amount directly and the percentage is calculated |
| VAT rate % | ✅ | Taken from the item's own setting |
| VAT amount | ❌ calculated | (quantity × price − discount) × VAT rate ÷ 100 |
| Line total | ❌ calculated | Subtotal after discount, plus VAT |
You cannot add the same item on two lines. If you need a larger quantity, increase it on the existing line.
6. Check the totals
In the bottom area:
- Subtotal — the sum of (quantity × price) across all lines, before any discount or tax.
- Discount % — this field applies the same percentage to every line on the invoice at once. Useful when you give a customer a blanket discount.
- Discount — the total of all discounts, display only.
- VAT — the total VAT, display only.
- Total Amount — what the customer owes.
- Paid Amount — enter what the customer is paying now. Leave it at zero if they are paying later.
- Remaining Amount — updates live, and shows in red when something is still owed.
- Notes — anything else that belongs on the invoice.
7. Set the status and save
The Status field has two options:
- Draft — record the invoice with no effect.
- Submitted — do everything now.
Exactly what happens when you submit
All at once, in a single transaction — so either all of it happens or none of it does:
- The credit limit is checked. The system locks the customer row and confirms that their current balance plus this invoice's remaining amount stays within the credit limit. If it does not, the submit stops and you get a message with the actual numbers. (A credit limit of 0 means unlimited. Return invoices are exempt, because they reduce what is owed.)
- The customer balance is updated. The remaining amount is added to their current balance.
- Stock moves. For each line, the quantity is deducted from that item's balance in that warehouse and from the item's total stock, and a row is written to the stock ledger recording the balance after the movement. Items configured as not stock-tracked pass through untouched.
- The journal entry is posted. Debit Accounts Receivable for the total, credit Sales for the subtotal, and output VAT if there is any.
- The invoice number is fixed in the form
SINV-{company code}-{year}-{sequence}.
An accounting note worth knowing: a sales invoice posts no cost-of-goods-sold entry. Your margin will not be visible from sales postings alone. Cost is updated in the item's average cost when purchase invoices are submitted, not when you sell.
If your chart of accounts is incomplete (no Accounts Receivable or Sales account, for example), the invoice still saves and stock still moves, but no journal entry is created. Check your chart of accounts before you start real work.
Submitting is final
Before you confirm, the system asks you to confirm and tells you plainly that the action cannot be undone. There is no "unsubmit" button.
If you made a mistake on a submitted invoice, the correct fix is a return invoice linked to the original — the system tracks returned quantities and will not let you return more than was sold.
Common problems
| Problem | Cause | Fix |
|---|---|---|
| Invoice saved but stock is unchanged | The status is still Draft | Open the invoice and click Submit |
| Submit refused with a credit limit error | Customer balance + remaining > credit limit | Collect from the customer, or raise their credit limit on the Customers screen |
| An item is missing from the list | It has no stock in the selected warehouse, or it is disabled | Change the warehouse, run a stock adjustment, or enable the item |
| The quantity drops to a lower number by itself | You asked for more than the warehouse has available | Add stock with a purchase invoice or a stock adjustment |
| Invoice submitted but no journal entry | The chart of accounts is incomplete | Check Accounts → Chart of Accounts |
Frequently Asked Questions
Why did my stock not go down after I created the invoice?
Because the invoice is still a Draft. A draft moves no stock and posts nothing to the ledger. Stock moves the moment the invoice status becomes Submitted, whether you chose that when creating it or clicked Submit afterwards.
What is the difference between Draft and Submitted?
Draft means the invoice is recorded but has no effect at all: no stock movement, no journal entry, no change to the customer balance. Submitted means the system has deducted the quantity from the warehouse, written a stock ledger row, posted the journal entry, and added the remaining amount to the customer balance.
Why is the system refusing to submit and showing a credit limit error?
The customer's current balance plus the remaining amount on this invoice would exceed their credit limit. Either collect some of what they owe, or raise their credit limit on the Customers screen. A credit limit of 0 means unlimited credit.
Can I edit an invoice after submitting it?
Submitting is final — the system warns you of this before you confirm. If you need to reverse an invoice, create a return invoice linked to it rather than trying to edit it.
Can I add the same item twice on one invoice?
No. The system rejects a repeated item on the same invoice. If you need a larger quantity, increase the quantity on the existing line instead of adding a second one.
Related Links
Use Pashkateb with Your Real Workflow
Start the free trial or move to the most relevant landing page for your workflow, then apply what you read using your own invoices, stock, and reports.
