OrderAggregate

postgresql-event-sourcing · score 8.6 · pos, event-sourcing, aggregate, domain-modeling, cqrs
Event-sourced aggregate root handling state transitions from domain events.

POSController.php

InfoShop · score 8.4 · pos
Handles POS checkout, product filtering, sale processing, and returns.

POS Cashier Page

lakasir · score 8.3 · ui, pos-checkout, cart-management, product-search, livewire
Livewire-powered Point of Sale cashier UI with product search, category filtering, cart management, and checkout flow using Alpine.js.

CustomerBasket

BookWorm · score 8.1 · pos, domain-entity, basket, ddd
Domain entity representing a customer's basket with basket items; ensures valid ID and non-empty items, and supports replacing all items via Update.

get_item_total (Sale_lib)

ospos · score 8.1 · pos, bcmath, discount-calculation, sale-line-total
Computes a sale line total as quantity times price using bcmath, optionally subtracting the item discount when include_discount is true.

Product and Catalog

salespoint · score 8.1 · database, ddd-aggregate, product-catalog, saleable-items, domain-modeling
Product aggregate root with Catalog repository interface for managing saleable items. Supports subclassing for custom product types.

isLowStock (ProductScopes.php)

laravel-pos · score 8.1 · inventory-check, stock-monitoring, query-scope, threshold-alert, pos
Checks product stock level against threshold returns boolean low-stock flag.

ESCCommandHelper

open-retail · score 8.1 · pos, thermal-printer, escpos-commands, byte-generation, receipt-formatting
ESC/POS command builder for thermal printers, generating byte sequences for text, font, and formatting.

SunmiPrintManager

simpos · score 8.0 · integration, printer-sdk, barcode-printing, qr-printing, label-printing
Comprehensive Sunmi POS printer SDK wrapper supporting text, barcodes, QR codes, bitmaps, cash drawer, LCD display, label printing, and cutter control.

PaymentMethod interface

salespoint · score 8.0 · payments, pos, interface, abstraction
Abstraction for payment methods in the system.

Inventory Management

salespoint · score 8.0 · database, pos, inventory-tracking, warehouse-management, stock-updates
Stock tracking with UniqueInventory (single warehouse) and MultiInventory (multiple warehouses). Automatically updates stock on order completion.

Order Aggregate

salespoint · score 8.0 · database, ddd-aggregate, event-driven, order-management, lifecycle-management
Order aggregate with OrderLine items, ChargeLine discounts/fees, and event-driven lifecycle (Open->Paid->Completed/Canceled).

unknown

pyescpos · score 8.0 · pos, fallback-driver, generic-escpos, device-compatibility
Generic fallback driver for unrecognized models using standard ESC/POS commands.

api

pyescpos · score 7.9 · dev-tools, printer-factory, connection-abstraction, public-api, pos
Main public API: Printer class factory, connection abstractions, and standard print primitives.

get_item_discount (Sale_lib)

ospos · score 7.9 · pos, discount-calculation, line-item, percentage-discount, rounding
Calculates line-item discount amount from quantity, price, discount value and type (percent or fixed), returning a rounded result.

GenericESCPOSImplementation

pyescpos · score 7.8 · integration, escpos-reference, epson-printer, command-set-implementation, barcode-commands
Reference implementation of the full ESC/POS command set for Epson printers. Covers text, barcodes, QR codes, cut, cash drawer, and character table mapping.

Quantity and Metric

salespoint · score 7.8 · pos
Represents amounts with unit tracking using BigDecimal for precision and Metric for unit metadata. Enables type-safe quantity arithmetic for POS items.

Spree POS Engine

spree-point-of-sale · score 7.8 · pos, rails-engine, engine-init, config, infra
Rails engine initialization and configuration for POS extension.

generate_barcode_value (inventory.py)

retail-suite · score 7.8 · barcode-generation, checksum-validation, ean-upc-isbn, pos
Generates valid barcode values with checksums for EAN, UPC, ISBN, ISSN, and PZN formats in retail inventory management.

useProductsStore (products.js)

retail-suite · score 7.8 · pinia-store, state-management, product-catalog, pos
Manages product state via Pinia, exposing reactive data and computed getters.

Selling Code Auto-generator

lakasir · score 7.8 · pos
Observer that auto-generates sale transaction codes ('SELL0001' format), sets default date, associates user, and links to cash drawer.

get_rounding_options (Rounding_mode)

opensourcepos-mssql · score 7.7 · dev-tools, rounding-modes, i18n, reflection, pos
Returns all rounding mode constants as translated display labels keyed by their values, using reflection and language helper.

CashRegistersController

NexoPOS · score 7.7 · pos, cash-management, transactions, register-operations, pos-operations
Manages cash register operations (open, close, transactions) in the dashboard.

Sale_lib

OpensourcePOS · score 7.7 · pos, sale-processing, order-management
Sale library handling sale processing, registration, and management in CodeIgniter.

get_totals (Sale_lib)

ospos · score 7.7 · pos, cart-totals, tax-calculation, cash-rounding, payment-summary
Calculates cart sale totals including discounts, taxes, payments, cash rounding, amount due, item count, and units.

parse_barcode (Token_lib)

ospos · score 7.6 · barcode-parsing, pos-scanning, pos
Parses configured barcode formats to extract quantity, price, and item identifier from scanned barcode input, updating by reference. Enables flexible POS barcode handling.

Receipt/Nota Printer

tutorial-membuat-aplikasi-point-of-sales · score 7.6 · ui, receipt-printing, thermal-printer, nota-formats, pos
Prints sales receipts in multiple formats (large/thermal) with customizable nota types, adaptable for any retail system.

BarcodeGeneratorService

spree-point-of-sale · score 7.6 · pos
Generates PDF barcodes for products/variants using Barby and Prawn. Lifts out cleanly - just requires barby, prawn, and variant objects with name, options_text, price, and sku.

PrinterMiniPOS

open-retail · score 7.6 · pos, thermal-printer, barcode-printing, autocut, mini-pos
RAW printing utility for Mini POS thermal receipt printers, handling alignment, barcode, and cut commands.

ProductUnitQuantitiesCrud

NexoPOS · score 7.5 · pos, crud-operations, product-units, business-rules, validation
Manages CRUD operations for product unit quantities, enforcing business rules via exceptions.

applyChanges (inventoryService.js)

square-pos-api · score 7.5 · inventory-batch, batch-processing, inventory-adjustment, square-api, pos
Applies inventory changes in batch to Square's inventory system, returning affected counts, applied changes, and any errors.

get_cart (Sale_lib)

ospos · score 7.5 · pos, cart-state, session-management
Retrieves the sales cart from session, initializing it to an empty array if not set. Central accessor for cart state.

ProductService (product.service.ts)

point-of-sale-angular · score 7.5 · pagination, data-filtering, http-client, pos
Manages product data retrieval, state, pagination, and filtering through HTTP calls for an Angular e-commerce application.

get_pos_profile_taxes (invoice.py)

retail-suite · score 7.5 · payments, pos-taxes, tax-configuration, sales-taxes-template, pos
Retrieves tax configuration from a POS Profile including sales taxes template details for point-of-sale invoice processing.

Cart Redux Slice

react-pos-management-system · score 7.5 · integration, redux-state, cart-management, totals-calculation, pos
Redux slice managing cart state: addToCart, removeFromCart, clearCart, totals calculation, qty increment/decrement.

check_opening_shift (shifts.py)

retail-suite · score 7.5 · payments, pos-shifts, payment-aggregation, voucher-management, pos
Retrieves all open POS opening shift vouchers for a specified user, aggregating payment entries and invoice data for each shift.

asciifier

SalorHospitality · score 7.5 · pos, utf8-to-ascii, text-encoding, character-conversion, integration
Converts unicode/UTF-8 text to ASCII for receipt printers.

get_barcode_instance (Barcode_lib)

opensourcepos-mssql · score 7.5 · barcode-factory, encoder-factory, instance-provider, pos
Factory method that returns the appropriate barcode encoder instance based on the requested barcode type.

dompdf PDF Generator

pharmacy-pos · score 7.5 · pos
HTML to PDF converter with CSS2.1 support, used for generating receipts and reports in the POS system.

usePOSCartStore (posCart.js)

POSNext · score 7.5 · state-management, cart-management, stock-validation, offline-support, job-queue
Pinia store managing POS cart state, operations, and async task queuing for sales transactions with stock validation and offline support.

isOrderNew (pattern)

BookWorm · score 7.5 · pos, order-status, status-gating, backoffice-workflow, automation
Determines whether an order status is New, used to gate backoffice workflows on newly created orders.

AddToPurchaseCartRequest

laravel-pos · score 7.5 · pos, form-validation, cart-validation, purchase-validation
Form request validating purchase cart item addition with product and quantity rules.

OrderItem.php

laravel-pos · score 7.4 · database, eloquent-model, order-line-items, belongs-to-relationships, db-crud
Eloquent model representing order line items with price, quantity, and belongsTo relationships to Order and Product.

SaleController.php

InfoShop · score 7.4 · sales-management, receipt-rendering, sales-reporting, pos, rest-api
Sales retrieval and filtering controller providing REST API endpoints for POS systems to query sales records by customer, status, and date range.

OverAllowanceError (status_updater.py)

retail-suite · score 7.4 · error-handling, allowance-validation, pos-exceptions, pos
Custom exception class for validation errors when allowances are exceeded in POS retail status management.

SalesController

OpensourcePOS · score 7.4 · pos, transaction-management, order-processing, ecommerce
Manages sales transactions and order processing in a CodeIgniter e-commerce application.

PlaceOrderCommandHandler

postgresql-event-sourcing · score 7.4 · pos, cqrs, command-handler, order-processing, event-publishing
Processes place order commands and persists resulting events.

nfcbroadcast.py

greenaddress-pos-tools · score 7.4 · nfc-broadcast, websocket, realtime-sync, pos, realtime
Broadcasts NFC tag data to connected clients via WebSocket.

ItemLib

ospos-mpesa · score 7.4 · database, inventory, kit-handling, stock-management, item-search
Item management operations including search, kit handling, and stock.

WPOS Sales/POS

pharmacy-pos · score 7.3 · pos, cart-management, checkout-flow, sale-completion, payment-handling
Point-of-sale checkout logic: cart, totals, payment handling, and sale completion.