vericorp-invoice-extract
Official Python SDK for the VeriCorp Invoice Extract API — extract structured data from European invoices using AI.
Install
pip install vericorp-invoice-extract
Quick Start
from vericorp_invoice import VeriCorpInvoice
client = VeriCorpInvoice(api_key="your-rapidapi-key")
# Extract data from an invoice
invoice = client.extract("invoice.pdf")
print(invoice.issuer.name)
print(invoice.totals.total_amount)
print(invoice.line_items)
Async Support
from vericorp_invoice import AsyncVeriCorpInvoice
async with AsyncVeriCorpInvoice(api_key="your-rapidapi-key") as client:
invoice = await client.extract("invoice.pdf")
API
VeriCorpInvoice(api_key, *, timeout=30.0, max_retries=1)
Methods
extract(file, *, validate_nif=True, validate_iban=True, include_raw_text=False)— Extract structured data from an invoice (PDF, PNG, JPG, WebP)health()— API health and budget statussupported_formats()— List supported file formats and limits
Error Handling
from vericorp_invoice import VeriCorpInvoice
from vericorp_invoice.errors import (
InvalidFileError,
RateLimitError,
ExtractionFailedError,
)
try:
invoice = client.extract("invoice.pdf")
except InvalidFileError:
print("Invalid file format")
except RateLimitError:
print("Rate limited, try again later")
except ExtractionFailedError:
print("AI could not extract data")
License
MIT
Metadata
Release files for vericorp-invoice-extract 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vericorp_invoice_extract-1.0.0.tar.gz | 4.6 kB | Without provenance | Details for vericorp_invoice_extract-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vericorp_invoice_extract-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for vericorp_invoice_extract-1.0.0-py3-none-any.whl |
Total release size: 11.9 kB
Release files / vericorp_invoice_extract-1.0.0.tar.gz
| Download URL | vericorp_invoice_extract-1.0.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
673e496f1128e28c1b31c72ac4192f03ad8f33f286875e67fdc05b6ce7a3f616
|
|
BLAKE2b-256 checksum How to use checksums |
0fa35c117e736d4f3e2a5c59bb0c3f0417a7256d93faa227ccb4ed16bc82c9f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / vericorp_invoice_extract-1.0.0-py3-none-any.whl
| Download URL | vericorp_invoice_extract-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6b6a32eb0f779a158049079d23fcee23d9572cc5f9c81ecc7b0e5bf0f7e70e7
|
|
BLAKE2b-256 checksum How to use checksums |
1fa43ae777361aeb90b46618435627bc3b5cf880e22142102a3a4c90ae6ba5c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for vericorp-invoice-extract 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.