Android Native Java

Barcode Invoice Generator App for Android

About this project

Barcode Invoice Generator is a native Android app for small shops, cafés and food counters that need fast, paperless billing. The cashier scans product barcodes with the phone camera, and each item is added to a live cart with its name and price. Quantities can be edited inline, and a customer name is added before one tap generates a branded PDF invoice with item rows, sub-total, tax and grand total. The invoice is saved to device storage and opens straight in the user’s PDF viewer, ready to share or print.

Key Features

  • Continuous live barcode scanning using the device camera
  • Automatic extraction of product ID and price from each scanned code
  • Duplicate-scan protection, so the same barcode is not added twice by accident
  • Real-time cart list with item name, price and editable quantity
  • Customer name field with input validation
  • One-tap PDF invoice with company logo, date, time, serial numbers, sub-total, tax and grand total
  • Unique invoice number generated for every bill
  • Automatic save to a custom folder and instant open in any PDF viewer
  • Fully offline, with no internet connection required

Technologies & Frameworks

JavaAndroidXConstraintLayoutRecyclerViewPdfDocument API

Integrations & APIs

CameraLocal storageFileProviderPDF viewer intent

Need something similar?

Farhan Saeed · Available for new projects