Establishment and point of sale
The establishment code is unique within the company and the point of sale code is unique within its branch. The formats in the table are those of El Salvador; in other countries the codes are defined by the tax authority or the e-invoicing provider (see below).
How the codes are used in the electronic document
In every country, each point of sale has its own numbering per document type: ifP001 is at invoice 120 and P002 at 15, each follows its own sequence. What changes by country is how the document number is built, because it is defined by each country’s tax authority.
- El Salvador
- Guatemala
- Colombia
- Costa Rica
- Other countries
The DTE (electronic tax document) carries a control number that FileXpress builds from the establishment code and the point of sale code registered with the Ministry of Finance (Hacienda):Invalidating a DTE reports to Hacienda the same establishment and point of sale with which it was issued.
The examples for Guatemala, Colombia, and Costa Rica are illustrative: the final format is defined by each country’s tax authority. FileXpress transmits electronic documents to Hacienda (El Salvador) and to the SAT (Guatemala); in the United States there is no transmission. For other countries, check with support for availability.
Branch establishment code
It is defined in Branch → General → Establishment code and is required, also when creating a new branch. Below it the current code is shown (establishment + default point of sale, for exampleM001P001).
Changing it only affects new documents. Documents already issued keep the control number with which they were transmitted.
Manage points of sale
Go to Branch → Points of sale. The table shows the code, the name, which one is the default, whether it is active, and the status of its cash register shift.Create a point of sale
1
Enter the code (for example P002) and the name (for example Register 2)
2
Click Add point of sale
FileXpress creates its own numbering for each document type, starting at 1.
Default
Every branch always has one default point of sale. It is used for sales that do not indicate a point of sale and do not belong to a cash register shift. To change it, click Make default on another active point of sale; the previous one stops being the default and the branch’s current code is updated.Edit, deactivate, or delete
- Edit: change the name or check or uncheck Active. The code cannot be changed. Renaming does not alter documents already issued.
- Deactivate: an inactive point of sale does not issue or open a cash register. You cannot deactivate the default one or one with an open cash register shift.
- Delete: only if it never issued documents or had cash register shifts. If it has, deactivate it. The default one cannot be deleted.
Cash register per point of sale
In Cash Register each shift is opened at a point of sale:- If the branch has only one active point of sale, that one is used without asking.
- If it has several, when opening the cash register you choose the Point of sale.
- Each point of sale admits only one open shift at a time; different points of sale can have shifts open at the same time.
- The shift’s sales, including those from the POS, are issued with the numbering of their point of sale.
Who opened and who closed
Each shift records the user who opened it and the one who closed it, who can be different (for example, a cashier opens and a supervisor closes). They are visible in:- The open cash register screen (Opened by).
- The Cash register history (columns Opened by and Closed by, and in the shift detail).
- The Cash register shift column of Branch → Points of sale: if open, who opened it and since when; if not, who opened and closed the last shift.
If you do not use the POS or the cash register
You do not need to change anything. Sales from New Sale that do not belong to a cash register shift are issued with the default point of sale (P001). If the branch has more than one active point of sale, the Point of sale field appears in Advanced billing options so you can choose another; empty = default.
The point of sale is decided in this order:
- The one from the sale’s cash register shift, if it has one.
- The one chosen in the sale (or sent through the API).
- The branch’s default.
Issued documents and invalidation
Each document stores the establishment and point of sale with which it was issued; the sales list shows it as Point of sale (for exampleM001P002). Invalidation always uses those codes, even if the branch code changes later or the point of sale is renamed.