Barcode Scans Receipt Generator avatar
Barcode Scans Receipt Generator

Pricing

Pay per usage

Go to Apify Store
Barcode Scans Receipt Generator

Barcode Scans Receipt Generator

Generates a high-quality PNG receipt with CSV output from decoded barcode scans, aggregating items by name. This actor works especially well with CSV to Barcode Generator, forming a complete barcode-to-receipt workflow.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Babak Karimi Bavandpour

Babak Karimi Bavandpour

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

4 days ago

Last modified

Share

Barcode Scans Receipt Generator – Generate PNG receipt from barcode scans

Barcode Scans Receipt Generator

Generate a PNG receipt from newline-separated decoded barcode scans in key=value;key=value format.
Items are aggregated by name and quantities and totals are computed automatically.
The actor outputs a PNG and a CSV receipt file.

This actor is designed to be used as the final step in a barcode-to-receipt workflow, working especially well with CSV to Barcode Generator .


Features

  • Parse newline-separated barcode scans
  • Aggregate items by name
  • Compute quantities and totals
  • Generate a PNG and a CSV receipt
  • Outputs downloadable PNG and CSV files
  • Designed to pair with CSV to Barcode Generator for end-to-end workflows

Works well with

CSV to Barcode Generator
This actor consumes decoded barcode values that can be generated and printed using the CSV to Barcode Generator actor, forming a complete barcode-to-receip workflow.


Typical workflow

  1. Generate barcode images using the CSV to Barcode Generator actor
  2. Print and scan the barcodes using any barcode scanner
  3. Collect decoded scan results as newline-separated text
  4. Provide the scan output as input to this actor
  5. Receive PNG and CSV receipts with aggregated items and totals

Input

body (required)

Newline-separated barcode scans in key=value;key=value format.

id=1;name=Apple;price=0.99
id=2;name=Banana;price=1.25
id=3;name=Apple;price=0.99

Output

The actor produces a PNG receipt file containing the aggregated items. It also produces a CSV version listing all items with their quantities and prices, including a final row showing the total amount.

Example dataset item:

{
"png": "https://api.apify.com/v2/key-value-stores/STORE_ID/records/receipt.png",
"csv": "https://api.apify.com/v2/key-value-stores/STORE_ID/records/receipt.csv"
}

Usage

  1. Provide newline-separated barcode scans in the body input field
  2. Run the actor
  3. Download the generated PNG receipt

Notes

  • Items are automatically aggregated by name and quantities summed.
  • Prices are summed for total calculations.
  • The actor expects decoded barcode text, not raw barcode images.

License

MIT