PHPackages                             einfacharchiv/rechnungsmail.de - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. einfacharchiv/rechnungsmail.de

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

einfacharchiv/rechnungsmail.de
==============================

Extract billing data from text according to rechnungsmail.de

v2.0.0(1y ago)0352↓100%MITPHPPHP ^7.0 || ^8.0

Since Jul 31Pushed 1y ago1 watchersCompare

[ Source](https://github.com/einfachArchiv/rechnungsmail.de)[ Packagist](https://packagist.org/packages/einfacharchiv/rechnungsmail.de)[ Docs](https://github.com/einfachArchiv/rechnungsmail.de)[ RSS](/packages/einfacharchiv-rechnungsmailde/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

Extract billing data from text according to rechnungsmail.de
============================================================

[](#extract-billing-data-from-text-according-to-rechnungsmailde)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

This package provides an easy way to extract billing data from text according to [rechnungsmail.de](http://rechnungsmail.de).

einfachArchiv is a German SaaS product to organize your documents in one place and meet all legal requirements. You'll find us [on our website](https://www.einfacharchiv.com).

Requirements
------------

[](#requirements)

PHP 7.0 and later.

Installation
------------

[](#installation)

You can install this package via [Composer](http://getcomposer.org/). Run the following command:

```
composer require einfacharchiv/rechnungsmail.de
```

Usage
-----

[](#usage)

Extracting billing data is easy.

```
$email = getInvoiceDate();
    $rechnungsmail->getInvoiceAmount(); // Returns an array
    $rechnungsmail->getCustomerId();
    $rechnungsmail->getNetAmount(); // Returns an array
    $rechnungsmail->getTax(); // Returns an array
    $rechnungsmail->getSenderName();
    $rechnungsmail->getOrderId();
    $rechnungsmail->getContractId();
}
```

If a field is not present or invalid, the method returns `null`.

The method `->getInvoiceAmount()` returns an array like this one:

```
[
    'amount' => 119,
    'currency' => 'EUR',
];
```

The methods `->getNetAmount()` and `->getTax()` return arrays like this one:

```
[
    'amount' => 100,
    'currency' => 'EUR',
    'taxRate' => 19
];
```

All amounts are returned as `floats`.

The invoice date is, if present, a valid date and can be used like this:

```
$invoiceDate = $rechnungsmail->getInvoiceDate();

if ($invoiceDate) {
    \Carbon\Carbon::parse($invoiceDate)->toDateString();
}
```

Contributing
------------

[](#contributing)

Contributions are **welcome**.

We accept contributions via Pull Requests on [Github](https://github.com/einfachArchiv/rechnungsmail.de).

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improvement? Feel free to [create an issue on GitHub](https://github.com/einfachArchiv/rechnungsmail.de/issues), we'll try to address it as soon as possible.

If you've found a security issue, please email  instead of using the issue tracker.

**Happy coding**!

Credits
-------

[](#credits)

- [Philip Günther](https://github.com/Pag-Man)
- [All Contributors](https://github.com/einfachArchiv/rechnungsmail.de/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~430 days

Recently: every ~536 days

Total

6

Last Release

689d ago

Major Versions

v1.0.4 → v2.0.02024-06-22

PHP version history (3 changes)v1.0PHP ^7.0

v1.0.4PHP ~7.0

v2.0.0PHP ^7.0 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7369d061aa626fd1c448315ca5e53d01daf448c6e5f37be95a46946cda406e8e?d=identicon)[Pag-Man](/maintainers/Pag-Man)

---

Top Contributors

[![philipgunther](https://avatars.githubusercontent.com/u/15112900?v=4)](https://github.com/philipgunther "philipgunther (1 commits)")

---

Tags

data-extractionphprechnungsmailtextphpbillingdataemailextractiontexteinfachArchivrechnungsmail.derechnungsmail

### Embed Badge

![Health badge](/badges/einfacharchiv-rechnungsmailde/health.svg)

```
[![Health](https://phpackages.com/badges/einfacharchiv-rechnungsmailde/health.svg)](https://phpackages.com/packages/einfacharchiv-rechnungsmailde)
```

###  Alternatives

[soundasleep/html2text

A PHP script to convert HTML into a plain text format

48419.5M75](/packages/soundasleep-html2text)[henrique-borba/php-sieve-manager

A modern (started in 2022) PHP library for the ManageSieve protocol (RFC5804) to create/edit Sieve scripts (RFC5228). Used by Cypht Webmail.

23125.7k2](/packages/henrique-borba-php-sieve-manager)[hafael/azure-mailer-driver

Supercharge your Laravel or Symfony app with Microsoft Azure Communication Services (ACS)! Effortlessly add email, chat, voice, video, and telephony-over-IP for next-level communication. 🚀

14109.2k](/packages/hafael-azure-mailer-driver)[naif/php-cpanel-email

Manage cPanel Email Addresses

211.3k](/packages/naif-php-cpanel-email)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
