Skip to main content

A project for invoice generation and NFC integration.

Project description

Django Sage Invoice

Django Sage Invoice is a Django application for managing invoices. It provides a robust admin interface to create, view, and manage invoices and their related components like categories, items, and totals.

Features

  • Create and manage invoices with detailed customer information.
  • Customize invoices with logos, backgrounds, signatures, and stamps.
  • Add custom columns to each invoice for additional information.
  • Generate invoice totals automatically, including tax and discount calculations.
  • Export invoices as HTML files bundled in a ZIP archive.
  • Choose from predefined templates or define your own.

Installation

Using pip with virtualenv

  1. Create a Virtual Environment:

    python -m venv .venv
    
  2. Activate the Virtual Environment:

    • On Windows:

      .venv\Scripts\activate
      
    • On macOS/Linux:

      source .venv/bin/activate
      
  3. Install django-sage-invoice:

    pip install django-sage-invoice
    

Using poetry

  1. Initialize Poetry (if not already initialized):

    poetry init
    
  2. Install django-sage-invoice:

    poetry add django-sage-invoice
    
  3. Apply Migrations:

    After installation, make sure to run the following commands to create the necessary database tables:

    python manage.py makemigrations
    python manage.py migrate
    

Configuration

Django Settings

Add django-sage-invoice to your INSTALLED_APPS in the Django settings and configure the SAGE_MODEL_PREFIX and SAGE_MODEL_TEMPLATE:

INSTALLED_APPS = [
    # other packages
    "sage_tools",
    "sage_invoice",
]
SAGE_MODEL_PREFIX = "invoice"
SAGE_MODEL_TEMPLATE = "sage_invoice"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_sage_invoice-0.1.6.tar.gz (295.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_sage_invoice-0.1.6-py3-none-any.whl (335.6 kB view details)

Uploaded Python 3

File details

Details for the file django_sage_invoice-0.1.6.tar.gz.

File metadata

  • Download URL: django_sage_invoice-0.1.6.tar.gz
  • Upload date:
  • Size: 295.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Windows/11

File hashes

Hashes for django_sage_invoice-0.1.6.tar.gz
Algorithm Hash digest
SHA256 5322e5e448ba64f211767fd2fcfe2cbd2a93ad4c4f4d45893ceb34cef9dc90b5
MD5 95bed54124cc877fcccf6e8a5d30a868
BLAKE2b-256 97a031d435d3db07a7c48eea1427d4fd6ad358ceddc2603a2d8a594d1e2d9d5f

See more details on using hashes here.

File details

Details for the file django_sage_invoice-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for django_sage_invoice-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d140e84ab829ac56a8648d2b6c34b34932fafd11122105b2a2a964de49bd1dae
MD5 d87c999e3e197b0a0471aa825a756418
BLAKE2b-256 0b332a1d6b742958d42e18b0c6fdd522253680aea3958f70724449662d4fc5c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page