Python client for the Easybill REST API
Project description
Easybill API Client
Python client for the Easybill REST API.
Installation
pip install easybill-api-client
Usage
from easybill_client import EasybillClient
with EasybillClient(api_key="your-api-key") as client:
# Get all customers
customers = client.get_customers()
# Get invoices for a year
invoices = client.get_invoices(year=2025)
# Get all documents
documents = client.get_documents()
# Get projects
projects = client.get_projects()
API
EasybillClient
get_customers(limit=1000)- Get all customersget_customer(customer_id)- Get single customerget_documents(document_type, start_date, end_date, customer_id, status, limit)- Get documentsget_invoices(year, start_date, end_date, customer_id)- Get invoicesget_document(document_id, with_items=True)- Get single documentget_document_pdf(document_id)- Download document PDFget_projects(customer_id, limit)- Get projects
Document Types
from easybill_client import DOC_TYPE_INVOICE, DOC_TYPE_CREDIT, DOC_TYPE_OFFER, DOC_TYPE_ORDER, DOC_TYPE_RECURRING
Exceptions
EasybillError- Base exceptionEasybillAuthenticationError- Authentication failedEasybillRateLimitError- Rate limit exceededEasybillNotFoundError- Resource not found
Models
EasybillCustomer- Customer dataEasybillDocument- Invoice/document dataEasybillDocumentItem- Line item in documentEasybillProject- Project data
License
MIT
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file easybill_api_client-0.1.0.tar.gz.
File metadata
- Download URL: easybill_api_client-0.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85e9febe5101ec501f953f9f95d52c11baf62eee1168526f943e84bdcb81285d
|
|
| MD5 |
008f08b46a088e0034aae7f4100685df
|
|
| BLAKE2b-256 |
f00ab0107e76b626f31f72d7acf01e7f5d2c5d98515dbafef6aea65d5d4fc362
|
File details
Details for the file easybill_api_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: easybill_api_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a32d6d5544014c5a24defef04a5d374a9448f28b256e040d22092446a1346e41
|
|
| MD5 |
90f405db7a696bb4d88cdd4f0610b76f
|
|
| BLAKE2b-256 |
fb24479638389b47442b13b9bfc2b197e9e342566520816eac6169b9450bcbbe
|