Python Implementation of Deutsche Post Internetmarke Online Franking
Go to file
Georg Sauthoff b2ebe4042f update prices for book and wares (BüWa) shipments
> Zum 01.01.2024 werden die Preise für die "Bücher- und Warensendung
500" und die "Bücher- und Warensendung 1000" um jeweils 30 Cent
angehoben. Der neue Preis beträgt dann 2,25 EUR für die BüWa 500 und
2,55 EUR für die BüWa 1000. Notwendig ist die Preiserhöhung wegen stark
gestiegener Personalkosten nach dem Tarifabschluss im März 2023 sowie
durch drastisch gestiegene Preise aufgrund der Inflation.

Source: https://www.deutschepost.de/de/w/buecherundwarensendung.html

In other news: DPDHL 2022 EBIT was > 8 * 10**9 €
    (which yields an EBIT margin of almost 9 % or so)
2023-12-30 23:12:56 +01:00
examples fix key names 2023-01-01 18:56:03 +01:00
inema update prices for book and wares (BüWa) shipments 2023-12-30 23:12:56 +01:00
.gitignore initial import of code 2016-07-14 01:32:12 +02:00
LICENSE re-license under (more permissive) LGPLv3+ 2023-01-01 21:30:58 +01:00
Makefile initial import of code 2016-07-14 01:32:12 +02:00
README.rst README.rst: add section on authors / history 2021-03-07 10:54:18 +01:00
setup.cfg initial import of code 2016-07-14 01:32:12 +02:00
setup.py update prices for book and wares (BüWa) shipments 2023-12-30 23:12:56 +01:00

README.rst

python-inema
============

This is a python module for interfacing the "Internetmarke" API provided
by the German postal company "Deutsche Post".  It implements V3 of this
API.  It also implements the new (2020) "Warenpost International API".

The Internetmarke API allows you to buy online franking for national and
international postal products like post cards and letters of all weight
classes and service classes (normal, registered, ...).

Internetmarke API
-----------------

In order to use the Internetmarke API (SOAP), you will need to be registered
with Deutsche Post for accessing the "1C4A Webservice".  You can request
related details from pcf-1click@deutschepost.de.  Upon registration, you
will receive your individual parameters PARTNER_ID, KEY and KEY_PHASE.

This module makes use of the fairly new "zeep" module for SOAP/WSDL.


Warenpost International API
---------------------------

In order to use the Warenpost International API (REST), you will need to
be separately registered with Deutsche Post for accessing that API.
Upon registration, you will have the following individual parameters,
which you must use when initializing the WarenpostInt() class:

- PARTNER_ID
- SCHLUESSEL_DPWN_PARTNER (same as KEY?)
- EKP
- KEY_PHASE


Portokasse
----------

Furthermore, for actual payment of purchases made via both APIs, you
will need the user name (email address) and password to a "Portokasse"
account.


Authors / History
-----------------

python-inema was originally developed by Harald Welte <hwelte@sysmocom.de>
for internal use at his company sysmocom, in order to provide franking
from the Odoo based logistics system.  Like most other software at sysmocom,
it was released as open source software under a strong network copyleft
license.

Shortly after the initial release, Georg Sauthoff <mail@georg.so> joined
the development and improved and extended the code im various ways.  He
also added the command-line ``frank.py`` tool.