Skip to content
Contact Us
الميزان دوت نت للمحاسبة والمستودعات
  • Home
  • About the Software
    • About Us
    • Our Clients
  • Products
  • Services
  • Learning
    • Knowledge Base
    • Video Tutorials
  • Blog
  • Downloads
    • Al Mizan .NET
    • Updates
    • Utilities
  • العربية
  • Home
  • About the Software
    • About Us
    • Our Clients
  • Products
  • Services
  • Learning
    • Knowledge Base
    • Video Tutorials
  • Blog
  • Downloads
    • Al Mizan .NET
    • Updates
    • Utilities
  • العربية
  • Home
  • About the Software
    • About Us
    • Our Clients
  • Products
  • Services
  • Learning
    • Knowledge Base
    • Video Tutorials
  • Blog
  • Downloads
    • Al Mizan .NET
    • Updates
    • Utilities
  • العربية
Show Categories
  • Home
  • Knowledge Base
  • User Guide
  • Items Menu
  • Item Barcode Schemas in Al Mizan

Item Barcode Schemas in Al Mizan

1. The Purpose of a Barcode Schema #

A barcode identifies an item without selecting it manually by code, name or another attribute. A barcode scanner reads the code and inserts the item into an invoice automatically. There are two main barcode types:

Simple Barcode: #

This only inserts the item into the invoice. It is usually entered on the Units tab of the item card for the first, second or third unit, as shown below.

Illustration: Simple Barcode

.

Composite Barcode (Barcode Schema): #

This inserts the item along with additional information, such as color, size, weight or value. A single barcode can contain multiple attributes, such as both color and size.

Consider the following example to understand how to define a schema.

Suppose a company sells cotton shirts with the same cost but different colors and sizes. It wants to print a barcode containing each shirt’s color and size, attach it to the shirt and scan it when receiving or selling the item. Color and size are then entered automatically into the invoice. Management also wants to review remaining cotton shirt inventory by color, size or both.

Define and use a barcode schema containing color and size with the following steps:

2. Define a Barcode Schema #

Open Items and select Barcode Schema. Enter a name, such as Color and Size Schema, then click Add to add fields to the schema, as shown below.

Illustration: Defining a Barcode Schema

.

Click Add to open the field window. First add a fixed text prefix to distinguish this schema from others, such as 99, as illustrated below.

Illustration: Defining a Barcode Schema

.

Then add a Data field for Barcode with a field length of six digits. The barcode in the item card must contain no more than six digits, as shown below.

Illustration: Defining a Barcode Schema

.

Add two more Data fields, Color and Size, each with a length of two digits, as illustrated below.

Illustration: Defining a Barcode Schema
Illustration: Defining a Barcode Schema

.

The schema now contains twelve digits; a thirteenth check digit is generated automatically when printing. If Has Check Digit is enabled in Barcode Schema, Customer Statement and Detailed Invoice Movements display the full thirteen-digit barcode as printed. The completed schema is shown below.

Illustration: Defining a Barcode Schema

3. Define the Item, Its Barcode and Colors, and Link the Schema #

Create an item card for Cotton Shirt, enter a six-digit barcode for its first unit and link the Color and Size Schema defined earlier, as illustrated below.

Illustration: Defining the Item and Linking Its Barcode Schema

.

Define colors and sizes through Items and Item Reference Data. In Color, enter the color name and its barcode number in the corresponding fields, as shown below.

Illustration: Defining the Item and Linking Its Barcode Schema
Illustration: Defining the Item and Linking Its Barcode Schema

Important Note:

If no number is entered in Barcode, the color code is used as its barcode.

Define item sizes in the same way, as illustrated below.

Illustration: Defining the Item and Linking Its Barcode Schema
Illustration: Defining the Item and Linking Its Barcode Schema
Illustration: Defining the Item and Linking Its Barcode Schema

.

4. Print the Barcode Schema and Use It in Invoices #

After defining the item, linking its Color and Size Schema, and defining its colors and sizes, enter the cotton shirts into a purchase invoice with separate lines for each color and size. Then print barcodes using the schema for the items in that invoice.

 To enter color and size details, open Definitions, select Invoice Types and enable the Color and Size columns under Columns, as shown below.

Illustration: Printing Barcode Schemas and Using Them in Invoices

See: Invoice Types

.

Enter the items in the purchase invoice with separate color and size details, as illustrated below.

Illustration: Printing Barcode Schemas and Using Them in Invoices

.

Print one barcode for each purchased shirt, including its color and size. In the invoice, open Operations and select Print Barcode, as shown below.

Illustration: Printing Barcode Schemas and Using Them in Invoices

.

Stage: Configure Printing #

The following window lets you select the barcode design and a page layout matching your barcode label dimensions.

Illustration: Configuring Print Settings

.

First click Edit for the page layout to specify the dimensions and settings of your label sheet. Page design is explained in Print Designer. Then click Save, as shown below.

Illustration: Configuring Print Settings

.

Enter a name for the page layout in the Save window, as illustrated below.

Illustration: Configuring Print Settings

Return to the window with the two Edit buttons and click Edit for the label design. In the designer, click New to display one label where the required fields can be placed.

Illustration: Configuring Print Settings

.

The yellow area represents one label. Click Field, select fields such as Item Name, Price and Barcode According to Schema, then click OK, as illustrated below.

Illustration: Configuring Print Settings
Illustration: Configuring Print Settings
Illustration: Configuring Print Settings

Select Barcode According to Schema and click Convert to Barcode, as shown below.

Illustration: Configuring Print Settings

Click Save at the top of the designer and enter a name for the label design in the following window.

Illustration: Configuring Print Settings

Printing Stage #

Close Print Designer and return to the window with the two Edit buttons. The barcode design and page layout are now available. Click Preview to review the barcodes before printing.

Illustration: Printing Stage
Illustration: Printing Stage

The illustration above explains the barcode components. Attach the labels carefully to the products. Scanning a barcode in a purchase, sales or other invoice automatically inserts the item and its price, quantity, color and size. The Color and Size fields must be enabled in the invoice, as described earlier.

5. Request an Inventory Report Using Barcode Schema Details #

After receiving items, printing their barcode schemas and using them to issue stock, request Item Inventory or Horizontal Item Inventory with a breakdown by color, size, both, or neither. For example, assume the following purchase invoice is entered.

Illustration: Inventory Reports Using Barcode Schema Details

.

Then suppose the following sales invoice is recorded.

Illustration: Inventory Reports Using Barcode Schema Details

To review remaining warehouse inventory by color and size, enable both under Break Down By and show the Color and Size fields, as illustrated below.

Illustration: Inventory Reports Using Barcode Schema Details

The Item Inventory report then shows remaining units by color and size, as illustrated below.

Illustration: Inventory Reports Using Barcode Schema Details

Alternatively, select a breakdown by Color only to display the following report.

Illustration: Inventory Reports Using Barcode Schema Details

Or request the report without a breakdown, as shown below.

Illustration: Inventory Reports Using Barcode Schema Details

6- Schema Barcode for Weight, Total Value and Expiry Date: #

Some barcode schemas are printed externally rather than by the program. Define their structure so Al Mizan can interpret the encoded information when scanned. Common examples contain an item’s weight or total value and are used in supermarkets and food shops, where a weighing scale weighs an item and prints its barcode label. Identify the fields in the printed barcode, then enter them when defining the schema.

For example, suppose a supermarket scale prints a barcode with a fixed prefix of 99, a five-digit item barcode and a five-digit weight field whose final two digits represent decimal places. Define the schema as illustrated below.

Illustration: Weight, Total Value and Expiry Date Barcode Schemas
Illustration: Weight, Total Value and Expiry Date Barcode Schemas
Illustration: Weight, Total Value and Expiry Date Barcode Schemas
Illustration: Weight, Total Value and Expiry Date Barcode Schemas

Precision is set to 100 in this example, meaning the last two of the five weight or quantity digits are decimal places. A precision of 1000 would use three decimal places.

The resulting barcode schema is shown below.

Illustration: Weight, Total Value and Expiry Date Barcode Schemas

Link the schema to the item card, as illustrated below.

Illustration: Weight, Total Value and Expiry Date Barcode Schemas

Suppose the scale prints the following barcode for cheese weighing 12.5 kilograms.

Illustration: Weight, Total Value and Expiry Date Barcode Schemas

Scanning this barcode in the invoice automatically inserts Cheese with a weight of 12.5.

Similarly, you can define a barcode containing the item’s total value, as shown below.

Illustration: Weight, Total Value and Expiry Date Barcode Schemas

You can also define a barcode containing the item’s expiry date, a format commonly used in pharmacies, as illustrated below.

Illustration: Weight, Total Value and Expiry Date Barcode Schemas

.

Follow our YouTube channel

Share This Article

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Could not find what you need? Contact us

How can we help you?

Updated on October 2, 2026
Define Item Cards and Categories in Al MizanInvoice Operations in Al Mizan

Powered by BetterDocs

Contents
  • 1. The Purpose of a Barcode Schema
    • Simple Barcode:
    • Composite Barcode (Barcode Schema):
  • 2. Define a Barcode Schema
  • 3. Define the Item, Its Barcode and Colors, and Link the Schema
  • 4. Print the Barcode Schema and Use It in Invoices
    • Stage: Configure Printing
    • Printing Stage
  • 5. Request an Inventory Report Using Barcode Schema Details
  • 6- Schema Barcode for Weight, Total Value and Expiry Date:
Mizan logo black1

Al Mizan .NET Accounting and Inventory: take the next step toward more effective business management

Quick Links

  • Knowledge Base
  • Privacy Policy
  • Terms and Conditions
  • Contact Us

Stay Informed

Get the latest news and offers from our website 

  • Abdurrahman Nafiz Gürman, No:05
    Güngören/İstanbul
  • +905360652643
  • info@hadarasoft.net
© 2026 Hadarasoft
Instagram Facebook-f Youtube Linkedin
Need help? Contact us