plenty_taxhub_generator
Description
Create a Tax Hub Report with sales order and refunds from PlentyMarkets. Tax Hub is a report used by DutyPay.
Installation
poetry install plenty_taxhub_generator
or
python3 -m pip install plenty_taxhub_generator --user --upgrade
Usage
Prepare a configuration file with the following format:
[General]
base_url=https://{your-plenty-cloud}.plentymarkets-cloud01.com
[Mappings]
referrer_id={IDs of the order origins}
country_id=AT=2,CZ=6,ES=8,FR=10,GB=12,IT=15,PL=23 # list of countries where VAT is charged
[fixed_values]
source_zone=DE
market_zone_currency=EUR
And place the config at:
/home/user/.plenty_taxhub_generator_config.inifor Linux systemsC:\\Users\user\.plenty_taxhub_generator_config.inifor Windows systems
Create a API user on PlentyMarkets: Setup-> Settings-> User-> Accounts-> New-> Access: REST-API
Then just run the program:
python3 -m plenty_taxhub_generator --from 2020-09-01 --to 2020-09-30
Please provide the date in one of the following formats:
- YYYY-MM-DDTHH:MM:SS+UTC-OFFSET
- YYYY-MM-DDTHH:MM
- YYYY-MM-DD
You will be asked to provide your API credentials from Plentymarkets. Afterwards these will be saved into your Keyring (system intern password storage) for a certain amount of time.
The report will be placed by default at your current working directory. But you can provide a different location with the -o/--out option.
You can view the mappings in your config with the -m/--mappings option.
And you can change the base URL of your PlentyMarkets system with -c/--url/--change_url.
Metadata
Release files for plenty-taxhub-generator 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plenty_taxhub_generator-0.0.4.tar.gz | 20.6 kB | Without provenance | Details for plenty_taxhub_generator-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plenty_taxhub_generator-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for plenty_taxhub_generator-0.0.4-py3-none-any.whl |
Total release size: 43.2 kB
Release files / plenty_taxhub_generator-0.0.4.tar.gz
| Download URL | plenty_taxhub_generator-0.0.4.tar.gz |
|---|---|
| Size | 20.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0718a61d04af95c70efcae316da4a4b2de0756a21997956842b3350ea39a79a7
|
|
BLAKE2b-256 checksum How to use checksums |
2ce50b70dd540402e7acbd80a891db14aecf34614fc0437f3656b4b1dc2e58fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.5 Linux/5.6.0-1034-oem
|
Release files / plenty_taxhub_generator-0.0.4-py3-none-any.whl
| Download URL | plenty_taxhub_generator-0.0.4-py3-none-any.whl |
|---|---|
| Size | 22.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c024d901f552884ebb8979b1823aed57fc2eb7f6dfa49df5d7cf9637da90ea1
|
|
BLAKE2b-256 checksum How to use checksums |
9837def38d48f72148d414d187620a554c2eb42c0e71f97054f34a59ec6458f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.8.5 Linux/5.6.0-1034-oem
|
Security for plenty-taxhub-generator 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.