REBoP 1.0.2
dotnet add package REBoP --version 1.0.2
NuGet\Install-Package REBoP -Version 1.0.2
<PackageReference Include="REBoP" Version="1.0.2" />
<PackageVersion Include="REBoP" Version="1.0.2" />
<PackageReference Include="REBoP" />
paket add REBoP --version 1.0.2
#r "nuget: REBoP, 1.0.2"
#:package REBoP@1.0.2
#addin nuget:?package=REBoP&version=1.0.2
#tool nuget:?package=REBoP&version=1.0.2
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 | Versions 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. |
-
net9.0
- JetBrains.Annotations (>= 2024.3.0)
- PdfPig (>= 0.1.10)
- System.Linq.Async (>= 6.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
# 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