REBoP 1.0.2

dotnet add package REBoP --version 1.0.2
                    
NuGet\Install-Package REBoP -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="REBoP" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="REBoP" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="REBoP" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add REBoP --version 1.0.2
                    
#r "nuget: REBoP, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package REBoP@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=REBoP&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=REBoP&version=1.0.2
                    
Install as a Cake Tool

Rewe E-Bon Processor (REBoP)

Read your REWE e-bon PDFs using C#!

Features

The component doing all the heavy work is ReweReceiptLineInterpreter. It can interpret the most important stuff, but is nowhere near to reading everything that is available.

It's also pretty fragile, so newer e-bon layouts might break it. Support this project by providing your own examples! See CONTRIBUTING.md.

This library can read the following details off of a REWE receipt:

  • market details:
    • address
    • VAT-ID
    • REWE market ID
  • receipt metadata:
    • total
    • date & time
    • receipt number
    • (if available) trace number
  • receipt items:
    • line number
    • label
    • line total
    • quantity bought
    • (if available) unit prices
    • (if available) unit (e.g. "kg", "Stk")
    • tax bracket applied
    • whether or not it qualifies for discounts and REWE bonus points
    • (if available) concessionaire (e.g. "X01" when buying from eat happy ToGo GmbH inside REWE)
  • tax details:
    • tax brackets used on the receipt
    • amounts paid per bracket in net, tax and gross
    • (if applicable) tax details for concessionaires

What it can't read:

  • images
  • payment details (e.g. payment method, last 4 digits of card number, security info...)
  • PAYBACK/REWE Bonus information
  • additional text below the receipt (special offers, ads)

Installation

dotnet add package REBoP

License

MIT. For full license, see LICENSE.md.

Disclaimer

This project is not affiliated with REWE Group or any of its retailers.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 213 7/20/2025
1.0.1 211 7/20/2025
1.0.0 214 7/19/2025

# 1.0.2
* Fixed some warnings related to parsing
* Fixed an issue where the whole receipt was treated as the market address
# 1.0.1
* Added GitHub Actions workflows (build & publish)
* Widened return type for `IPdfSource.OpenRead` from `FileStream` to `Stream` to allow more generic implementations
* Include `PartnerCode` in debugger display for `TaxDetailItem` and `TaxTotalItem`
# 1.0.0
* Initial release
* Provides services for scanning REWE receipt PDFs and interpreting them to generate usable data structures