A Python Client/ORM library for integration to Visma e-Accounting, Visma e-Ekonomi
Project description
=====
Visma
=====
A Python Client/ORM library for integration to Visma eAccounting, Visma eEkonomi
Installation
============
Using the library requires Python 3.6 or higher
.. code-block:: python
pip install visma
Access to Visma API
===================
After installation you will need to set up access to the Visma eAccounting API
As of now it is not possible to get access by yourself so you will need to contact
Visma at eaccountingapi@visma.com.
See full documentation for more info on how to get access and how to set it up.
Using the library
=================
The api is inspired from the Django ORM. The Visma API is well documented and
supports filtering according to Odata which makes the operations very similar
to database access. We want to be able interact with all objects as normal python objects
.. code-block:: python
customers = Customer.objects.all()
invoice = CustomerInvoiceDraft.objects.get('e629baaf-642b-4079-9180-1b8463d24dc2')
invoice.your_reference = 'Mr finance guy'
invoice.save()
invoice2 = CustomerInvoiceDraft.objects.get('ff9839do-642b-4079-9180-1b8463d24dc2')
invoice2.delete()
# or
CustomerInvoiceDraft.objects.delete('ff9839do-642b-4079-9180-1b8463d24dc2')
Supported functions:
* Getting all objects
* Getting single object
* Saving new objects and updating existing via .save()
* Deleting objects
Todo:
* filtering via Odata parameters, should be similar to Django QuerySets
* manage pagination
Available Objects
-----------------
Some objects we use and have tried out. But other code is made from generating
marshmallow schemas with `swagger-marshmallow-codegen
<https://github.com/podhmo/swagger-marshmallow-codegen/>`_.
We have not tried all of it since we wont have the use cases.
We would be happy to receive some comments if something is not working.
Tested
^^^^^
* Customer
* TermsOfPayment
* CustomerInvoiceDraft
Commercial Support and Development
==================================
The library is developed by Palmlund Wahlgren Innovative Technology AB, a certified Visma Partner.
`Visma Integration Catalog <https://integrationer.vismaspcs.se/appar/python-client-orm/>`_.
We offer software development and integration services to Visma eAccounting (eEkonomi) and can develop your integration or offer support to your team on this library.
Check us out at `pwit.se <https://pwit.se>`_ or contact us on `info@pwit.se <mailto://info@pwit.se>`_ .
Documentation
=============
Full documentation can be found at https://visma.readthedocs.io/ .
API reference
=============
https://eaccountingapi.vismaonline.com/swagger/ui/index
Visma Environments
==================
Test (Sandbox)
--------------
Visma eAccounting client
https://eaccounting-sandbox.test.vismaonline.com
Visma eAccounting API
https://eaccountingapi-sandbox.test.vismaonline.com/v2
Visma IdentityServer Authorization
https://identity-sandbox.test.vismaonline.com/connect/authorize
Visma IdentityServer Token
https://identity-sandbox.test.vismaonline.com/connect/token
Production
----------
Visma eAccounting client
https://eaccounting.vismaonline.com
Visma eAccounting API
https://eaccountingapi.vismaonline.com/v2
Visma IdentityServer Authorization
https://identity.vismaonline.com/connect/authorize
Visma IdentityServer Token
https://identity.vismaonline.com/connect/token
=========
Changelog
=========
0.0.3
-----
Added handling of enveloped schemas.
0.0.2
-----
Handling of allowed methods on objects. Adding methods and endpoints to all models
0.0.1
-----
Initial release. Use Visma API objects in an ORM:y way. get, create, update
and delete function. All objects added after editing output from
swagger-marshmallow-codegen. But only some is working properly.
Visma
=====
A Python Client/ORM library for integration to Visma eAccounting, Visma eEkonomi
Installation
============
Using the library requires Python 3.6 or higher
.. code-block:: python
pip install visma
Access to Visma API
===================
After installation you will need to set up access to the Visma eAccounting API
As of now it is not possible to get access by yourself so you will need to contact
Visma at eaccountingapi@visma.com.
See full documentation for more info on how to get access and how to set it up.
Using the library
=================
The api is inspired from the Django ORM. The Visma API is well documented and
supports filtering according to Odata which makes the operations very similar
to database access. We want to be able interact with all objects as normal python objects
.. code-block:: python
customers = Customer.objects.all()
invoice = CustomerInvoiceDraft.objects.get('e629baaf-642b-4079-9180-1b8463d24dc2')
invoice.your_reference = 'Mr finance guy'
invoice.save()
invoice2 = CustomerInvoiceDraft.objects.get('ff9839do-642b-4079-9180-1b8463d24dc2')
invoice2.delete()
# or
CustomerInvoiceDraft.objects.delete('ff9839do-642b-4079-9180-1b8463d24dc2')
Supported functions:
* Getting all objects
* Getting single object
* Saving new objects and updating existing via .save()
* Deleting objects
Todo:
* filtering via Odata parameters, should be similar to Django QuerySets
* manage pagination
Available Objects
-----------------
Some objects we use and have tried out. But other code is made from generating
marshmallow schemas with `swagger-marshmallow-codegen
<https://github.com/podhmo/swagger-marshmallow-codegen/>`_.
We have not tried all of it since we wont have the use cases.
We would be happy to receive some comments if something is not working.
Tested
^^^^^
* Customer
* TermsOfPayment
* CustomerInvoiceDraft
Commercial Support and Development
==================================
The library is developed by Palmlund Wahlgren Innovative Technology AB, a certified Visma Partner.
`Visma Integration Catalog <https://integrationer.vismaspcs.se/appar/python-client-orm/>`_.
We offer software development and integration services to Visma eAccounting (eEkonomi) and can develop your integration or offer support to your team on this library.
Check us out at `pwit.se <https://pwit.se>`_ or contact us on `info@pwit.se <mailto://info@pwit.se>`_ .
Documentation
=============
Full documentation can be found at https://visma.readthedocs.io/ .
API reference
=============
https://eaccountingapi.vismaonline.com/swagger/ui/index
Visma Environments
==================
Test (Sandbox)
--------------
Visma eAccounting client
https://eaccounting-sandbox.test.vismaonline.com
Visma eAccounting API
https://eaccountingapi-sandbox.test.vismaonline.com/v2
Visma IdentityServer Authorization
https://identity-sandbox.test.vismaonline.com/connect/authorize
Visma IdentityServer Token
https://identity-sandbox.test.vismaonline.com/connect/token
Production
----------
Visma eAccounting client
https://eaccounting.vismaonline.com
Visma eAccounting API
https://eaccountingapi.vismaonline.com/v2
Visma IdentityServer Authorization
https://identity.vismaonline.com/connect/authorize
Visma IdentityServer Token
https://identity.vismaonline.com/connect/token
=========
Changelog
=========
0.0.3
-----
Added handling of enveloped schemas.
0.0.2
-----
Handling of allowed methods on objects. Adding methods and endpoints to all models
0.0.1
-----
Initial release. Use Visma API objects in an ORM:y way. get, create, update
and delete function. All objects added after editing output from
swagger-marshmallow-codegen. But only some is working properly.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
visma-0.1.0.tar.gz
(48.7 kB
view details)
Built Distribution
visma-0.1.0-py3-none-any.whl
(59.5 kB
view details)
File details
Details for the file visma-0.1.0.tar.gz
.
File metadata
- Download URL: visma-0.1.0.tar.gz
- Upload date:
- Size: 48.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d14f08b1401ec9bc01239cc3ab9a247bb108ef79fd00366851869c0e248d1fd5 |
|
MD5 | 38ff3c5efc0483f5f249371224ce25c4 |
|
BLAKE2b-256 | 74b56e71037a4e6e76ccf0eb6a15c58da9f73ff2cae62fc41df0981fa7e5db40 |
File details
Details for the file visma-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: visma-0.1.0-py3-none-any.whl
- Upload date:
- Size: 59.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68104638b6824cc4aa0b787f5145b3bf8ac43bf63ecbf8f394d06d0a313d0ff4 |
|
MD5 | 3f5ef999d7bc233b50e7d9ad3a887c24 |
|
BLAKE2b-256 | 934e59371f28e680d85e39ef8f42b2b87ae2155ee5f502c57350be03c30fa2d8 |