{ "info": { "author": "hastexo", "author_email": "code@hastexo.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Other/Nonlisted Topic" ], "description": "oscar\\_vat\\_moss\n================\n\nEnables EU VATMOSS processing for the Oscar e-commerce system\n-------------------------------------------------------------\n\n.. image:: https://travis-ci.org/hastexo/django-oscar-vat_moss.svg?branch=master\n :target: https://travis-ci.org/hastexo/django-oscar-vat_moss\n\n.. image:: https://codecov.io/github/hastexo/django-oscar-vat_moss/coverage.svg?branch=master\n :target: https://codecov.io/github/hastexo/django-oscar-vat_moss?branch=master\n\t\t \nThis package enables e-commerce application based on Django Oscar to\nassess and charge VAT (Value Added Tax) according to EU regulations.\n\nIt is based on\n`django-oscar `_\nand\n`vat_moss-python `_.\n\nInstallation\n------------\n\nFor now, install with\n\n::\n\n pip install https://github.com/hastexo/django-oscar-vat_moss/archive/master.zip\n\nto get the latest master. There are no named releases yet, and the\npackage isn't yet on PyPI.\n\nUse\n---\n\nTo use, you must\n\n- Enable a pricing ``Strategy`` that uses the ``DeferredTax`` tax mixin\n\n- Add a ``CheckoutSessionMixin`` to your checkout session, so taxes can\n be applied when the customer's shipping address is known\n\n- Optionally extend your data model with a field accommodating your\n customer's VATIN (VAT Identification Number) if you want to enable\n VAT-free B2B transactions under the reverse charge system. If all\n your transactions are B2C, this last bit may be safely omitted.\n\nEnabling a VAT-enabled pricing strategy\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nAdd ``oscar_vat_moss.partner.strategy.VATStrategy`` to your\n``partner/strategy.py`` module, and update your ``Selector`` to use it\nwhen appropriate:\n\n.. code:: python\n\n # partner/strategy.py\n\n from oscar_vat_moss.partner.strategy import VATStrategy\n\n class Selector(object):\n def strategy(self, request=None, user=None, **kwargs):\n # Apply your strategy selection logic, where appropriate:\n return VATStrategy(request)\n\nIf you only want one selector and you **always** want to apply\n``VATStrategy``, you may also simply use:\n\n.. code:: python\n\n # partner/strategy.py\n\n from oscar_vat_moss.partner.strategy import *\n\nApplying VAT on checkout\n~~~~~~~~~~~~~~~~~~~~~~~~\n\nAdd ``oscar_vat_moss.checkout.session.CheckoutSessionMixin`` to your\n``checkout/session.py`` module:\n\n.. code:: python\n\n # checkout/session.py\n\n from oscar_vat_moss.checkout.session import CheckoutSessionMixin", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hastexo/django-oscar-vat_moss", "keywords": "VATMOSS,Tax,Oscar", "license": "Copyright (c) 2016, hastexo Professional Services GmbH and individual contributors.", "maintainer": null, "maintainer_email": null, "name": "django-oscar-vat_moss", "package_url": "https://pypi.org/project/django-oscar-vat_moss/", "platform": "linux", "project_url": "https://pypi.org/project/django-oscar-vat_moss/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hastexo/django-oscar-vat_moss" }, "release_url": "https://pypi.org/project/django-oscar-vat_moss/0.1.dev20160124225843/", "requires_dist": null, "requires_python": null, "summary": "EU VATMOSS support for django-oscar", "version": "0.1.dev20160124225843" }, "last_serial": 1920774, "releases": { "0.1.dev20160124225843": [] }, "urls": [] }