Skip to main content

Django app for invoicing.

Project description

Django app for invoicing with support for multiple export formats and integrations.

Full documentation: https://django-invoicing.readthedocs.io

Installation

pip install django-invoicing

Add invoicing to INSTALLED_APPS and run migrations:

python manage.py migrate invoicing

Quick configuration

# settings.py
INVOICING_SUPPLIER = {
    'name': 'Acme Ltd.',
    'street': 'Main Street 1',
    'city': 'Springfield',
    'zip': '12345',
    'country_code': 'SK',
    'registration_id': '12345678',
    'tax_id': '2012345678',
    'vat_id': 'SK2012345678',
    'bank': {
        'name': 'Good Bank',
        'street': 'Bank Street 1',
        'city': 'Springfield',
        'zip': '12345',
        'country_code': 'SK',
        'iban': 'SK0000000000000000000028',
        'swift_bic': 'GOODBANK',
    },
}

# Optional: add extra export managers beyond the default PDF and XLSX
INVOICING_MANAGERS = {
    "invoicing.exporters.pdf.managers.PdfManager": {},
    "invoicing.exporters.xlsx.managers.XlsxManager": {},
    "invoicing.exporters.isdoc.managers.IsdocManager": {},
    "invoicing.exporters.mrp.v1.managers.MrpV1Manager": {},
    "invoicing.exporters.mrp.v2.managers.MrpIssuedManager": {
        "API_URL": "https://your-mrp-instance.example.com/api/",
    },
    "invoicing.exporters.mrp.v2.managers.MrpReceivedManager": {
        "API_URL": "https://your-mrp-instance.example.com/api/",
    },
    "invoicing.exporters.ikros.managers.IKrosManager": {
        "API_URL": "https://eshops.inteo.sk/api/v1/invoices/",
        "API_KEY": "your-api-key",
    },
    "invoicing.exporters.profit365.managers.Profit365Manager": {
        "API_URL": "https://api.profit365.eu/1.6",
        "API_DATA": {
            "Authorization": "Bearer your-token",
            "bankAccountId": "12345",
            "ClientID": "your-client-id",
            "ClientSecret": "your-client-secret",
        },
    },
}

Features

  • Invoice management — issued/received invoices, credit notes, proforma and advance invoices

  • Automatic sequence generation and configurable number formatting

  • EU taxation policy with per-country VAT rates and VIES reverse-charge validation

  • Pluggable exporters: PDF, XLSX, ISDOC XML, MRP v1/v2 XML, IKROS API, Profit365 API

  • Asynchronous file exports delivered by email (via django-outputs)

  • Django Admin integration — export actions registered automatically for every configured manager

Requirements

  • Django 4.2+

  • See requirements.txt for the full dependency list

Development

pip install -r requirements-test.txt
pytest

License

See LICENSE file for details.

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

django_invoicing-12.0.0.tar.gz (136.6 kB view details)

Uploaded Source

File details

Details for the file django_invoicing-12.0.0.tar.gz.

File metadata

  • Download URL: django_invoicing-12.0.0.tar.gz
  • Upload date:
  • Size: 136.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for django_invoicing-12.0.0.tar.gz
Algorithm Hash digest
SHA256 3be6e1066d7019496b4a876cb694d89628c7e7690e8d6940f24630d1efc75d8c
MD5 15c74e934b0e318a126f5c7a125c335c
BLAKE2b-256 d88582ba7950ef38655fcc355c4f6d29eaa27332acdb233efdf392aa1c22c095

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