{ "info": { "author": "radzhome", "author_email": "radzhome@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Fedex Commercial Invoice #\r\n\r\nFedex Commercial Invoice Generation using Python (using reportlab)\r\n\r\n### What is this repository for? ###\r\n\r\n* A way to generate a commercial fedex invoice\r\n* https://github.com/radzhome/fedex-commercial-invoice\r\n\r\n### How do I get set up? ###\r\n\r\n* download repo, install requirements.txt using pip\r\n* to install globally, use `[sudo] python setup.py install`\r\n\r\n### Usage ###\r\n\r\nGenerate Commercial Invoice\r\n
\r\n# generate_invoice test\r\nfrom fedex_invoice.invoice import generate_commercial_invoice\r\n\r\n\r\n# Includes company info.\r\nexport_data = {'company': 'Radtek Inc.', 'address': '123 Main St.',\r\n               'city': 'Toronto', 'state_code': 'ON', 'postal_code': 'L8J 1V4', 'country_code': 'CA',\r\n               'waybill_no': '9999 9999 9999', 'export_date': '12/20/2015', 'export_refs': '999432423, 14314321423',\r\n               'export_country': 'USA', 'manufacture_country': 'CHINA',\r\n               'destination_country': 'CANADA'}\r\n\r\nimporter_data = {'first_name': 'Real First Name',\r\n                 'last_name': 'Real Last Name',\r\n                 'postal_code': 'M5A 3C6', 'country_code': 'CA', 'state_code': 'ON',\r\n                 'city': 'North York', 'address': '123 Import St.'}\r\n\r\nexporter_data = {'first_name': 'Real First Name',\r\n                 'last_name': 'Real Last Name',\r\n                 'postal_code': 'M5A 3C6', 'country_code': 'CA', 'state_code': 'ON',\r\n                 'city': 'North York', 'address': '123 Export St.'}\r\n\r\ncosignee_data = {'first_name': 'Real First Name',\r\n                 'last_name': 'Real Last Name',\r\n                 'postal_code': 'M5A 3C6', 'country_code': 'CA', 'state_code': 'ON',\r\n                 'city': 'North York', 'address': '123 Cosignee St.'}\r\n\r\nproduct1 = {'marks_nos': '1234', 'no_packages': 1, 'package_type': 'BOX',\r\n            'description': 'a description of the goods in a full and up to date way', 'quantity': 1,\r\n            'measure_unit': 'lbs', 'weight': 25, 'unit_value': 23.24, 'total_value': 23.24}\r\n\r\nproduct2 = {'marks_nos': '12', 'no_packages': 1, 'package_type': 'OWN_PACKAGING',\r\n            'description': 'a description of the goods, another product to describe', 'quantity': 2,\r\n            'measure_unit': 'lbs', 'weight': 5, 'unit_value': 43.44, 'total_value': 43.44}\r\n\r\nflags = {'fob': True, 'caf': True, 'cif': False}\r\n\r\nproducts = [product1, product2, product1, product2, product1, product2]\r\n\r\ngenerate_commercial_invoice(export_data, exporter_data, cosignee_data, products, flags, importer_data)\r\n
\r\nSee Sample for output example.\r\n\r\n\r\nThis repository can be used as a starting point for generating your own invoice. If you have a useful script, don't\r\nhesitate to add it to the project.", "description_content_type": null, "docs_url": null, "download_url": "TODO", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/radzhome/fedex-commercial-invoice/", "keywords": "fedex commercial invoice generator using reportlab", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "fedex-invoice", "package_url": "https://pypi.org/project/fedex-invoice/", "platform": "Platform Independent", "project_url": "https://pypi.org/project/fedex-invoice/", "project_urls": { "Download": "TODO", "Homepage": "https://github.com/radzhome/fedex-commercial-invoice/" }, "release_url": "https://pypi.org/project/fedex-invoice/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Fedex Commercial Invoice generator, invoice templating using reportlab", "version": "1.0.1" }, "last_serial": 2088046, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "837697671a8474eba2906b0d238cfe0c", "sha256": "a3533d3e3f375a673c6daf5a64285b5a44ab5ad4191e3340e05e74d4c8c3e347" }, "downloads": -1, "filename": "fedex-invoice-1.0.1.tar.gz", "has_sig": false, "md5_digest": "837697671a8474eba2906b0d238cfe0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6161, "upload_time": "2016-04-28T06:05:25", "url": "https://files.pythonhosted.org/packages/c4/1c/66acb63e3f678b39fe99cc184dc0cee248f89a2b79116dde74fc8b38ce1d/fedex-invoice-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "837697671a8474eba2906b0d238cfe0c", "sha256": "a3533d3e3f375a673c6daf5a64285b5a44ab5ad4191e3340e05e74d4c8c3e347" }, "downloads": -1, "filename": "fedex-invoice-1.0.1.tar.gz", "has_sig": false, "md5_digest": "837697671a8474eba2906b0d238cfe0c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6161, "upload_time": "2016-04-28T06:05:25", "url": "https://files.pythonhosted.org/packages/c4/1c/66acb63e3f678b39fe99cc184dc0cee248f89a2b79116dde74fc8b38ce1d/fedex-invoice-1.0.1.tar.gz" } ] }