# Contazen API Documentation ## Docs - [Create a Bank Account](https://docs.contazen.ro/api-reference/endpoints/bank-accounts/create.md): Add a new IBAN bank account - [Delete a Bank Account](https://docs.contazen.ro/api-reference/endpoints/bank-accounts/delete.md): Permanently delete a bank account - [List Bank Accounts](https://docs.contazen.ro/api-reference/endpoints/bank-accounts/list.md): List all IBAN bank accounts - [Update a Bank Account](https://docs.contazen.ro/api-reference/endpoints/bank-accounts/update.md): Update bank account details - [Create Client](https://docs.contazen.ro/api-reference/endpoints/clients/create.md): Create a new client - [Delete Client](https://docs.contazen.ro/api-reference/endpoints/clients/delete.md): Delete a client - [List Clients](https://docs.contazen.ro/api-reference/endpoints/clients/list.md): Retrieve a paginated list of all clients - [Retrieve Client](https://docs.contazen.ro/api-reference/endpoints/clients/retrieve.md): Retrieve a specific client by ID - [Update Client](https://docs.contazen.ro/api-reference/endpoints/clients/update.md): Update an existing client - [Company Lookup](https://docs.contazen.ro/api-reference/endpoints/company-lookup/lookup.md): Look up a Romanian company by CUI/CIF number - [Retrieve balance sheet](https://docs.contazen.ro/api-reference/endpoints/conta/get-balance-sheet.md): Get a balance sheet for a specific year, including all ANAF indicators - [Retrieve fiscal profile](https://docs.contazen.ro/api-reference/endpoints/conta/get-profile.md): Get the cached ANAF v9 PlatitorTVA snapshot for the authenticated firm - [List balance sheets](https://docs.contazen.ro/api-reference/endpoints/conta/list-balance-sheets.md): List all locally cached balance sheets for the firm, ordered by year - [Conta overview](https://docs.contazen.ro/api-reference/endpoints/conta/overview.md): Public ANAF data for the firm — fiscal profile and annual balance sheets - [Sync balance sheets](https://docs.contazen.ro/api-reference/endpoints/conta/sync-balance-sheets.md): Fetch a single year, backfill a range, or sync the latest published year - [Sync fiscal profile](https://docs.contazen.ro/api-reference/endpoints/conta/sync-profile.md): Refresh the fiscal profile from ANAF v9 PlatitorTVA - [Enable Currency](https://docs.contazen.ro/api-reference/endpoints/currencies/create.md): Enable a currency for the firm. - [Disable Currency](https://docs.contazen.ro/api-reference/endpoints/currencies/delete.md): Remove a currency from the firm. - [List Currencies](https://docs.contazen.ro/api-reference/endpoints/currencies/list.md): List firm-enabled currencies and the catalog available to enable. - [Get E-Factura Status](https://docs.contazen.ro/api-reference/endpoints/efactura/status.md): Get e-Factura configuration and OAuth connection status - [Create Expense Category](https://docs.contazen.ro/api-reference/endpoints/expense-categories/create.md): Create a new custom expense category for your firm - [Delete Expense Category](https://docs.contazen.ro/api-reference/endpoints/expense-categories/delete.md): Delete a custom expense category from your firm - [List Expense Categories](https://docs.contazen.ro/api-reference/endpoints/expense-categories/list.md): Retrieve a list of expense categories for your firm, including both system and custom categories - [Retrieve Expense Category](https://docs.contazen.ro/api-reference/endpoints/expense-categories/retrieve.md): Get details of a specific expense category by its ID - [Update Expense Category](https://docs.contazen.ro/api-reference/endpoints/expense-categories/update.md): Update an existing custom expense category - [AI-categorize expenses](https://docs.contazen.ro/api-reference/endpoints/expenses/ai-categorize-batch.md): Sweep every uncategorized expense in the firm and assign a category from the existing list using AI classification. - [Upload Attachment](https://docs.contazen.ro/api-reference/endpoints/expenses/attachment.md): Upload and attach files to an expense for documentation and compliance purposes - [Check for duplicate expense](https://docs.contazen.ro/api-reference/endpoints/expenses/check-duplicate.md): Probe the firm's books for an existing expense that would collide with a prospective payload. Useful before posting a scanned receipt. - [Create Expense](https://docs.contazen.ro/api-reference/endpoints/expenses/create.md): Create a new expense record with minimal required fields and smart defaults for optional fields - [Delete Expense](https://docs.contazen.ro/api-reference/endpoints/expenses/delete.md): Delete an expense record with proper validation and soft delete functionality - [Download e-Factura PDF](https://docs.contazen.ro/api-reference/endpoints/expenses/efactura-pdf.md): Stream the ANAF e-Factura PDF for an expense imported from the SPV inbox - [Export Expenses](https://docs.contazen.ro/api-reference/endpoints/expenses/export.md): Export expense data to CSV or PDF format with all filtering options available - [List Expenses](https://docs.contazen.ro/api-reference/endpoints/expenses/list.md): Retrieve a paginated list of expenses with comprehensive filtering options - [Scan receipt (OCR)](https://docs.contazen.ro/api-reference/endpoints/expenses/ocr-extract.md): Upload a receipt or invoice image and get a structured prefill payload ready to feed into Create Expense. - [Mark Expense as Paid](https://docs.contazen.ro/api-reference/endpoints/expenses/pay.md): Mark an unpaid expense as paid by providing payment date and method - [Retrieve Expense](https://docs.contazen.ro/api-reference/endpoints/expenses/retrieve.md): Get detailed information about a specific expense by its CzUid - [Update Expense](https://docs.contazen.ro/api-reference/endpoints/expenses/update.md): Update an existing expense with new information while preserving data integrity - [Create an Invoice Series](https://docs.contazen.ro/api-reference/endpoints/invoice-series/create.md): Create a new invoice numbering series - [List Invoice Series](https://docs.contazen.ro/api-reference/endpoints/invoice-series/list.md): List all invoice numbering series - [List Reservations](https://docs.contazen.ro/api-reference/endpoints/invoice-series/list-reservations.md): List pending number reservations owned by the caller mobile device. - [Lock Series to Mobile Device](https://docs.contazen.ro/api-reference/endpoints/invoice-series/lock.md): Bind an invoice series to the caller mobile device so only that device can issue invoices against it. - [Release Reservation](https://docs.contazen.ro/api-reference/endpoints/invoice-series/release-reservation.md): Give up a pending reservation the device no longer plans to use. - [Reserve Numbers](https://docs.contazen.ro/api-reference/endpoints/invoice-series/reserve-numbers.md): Pre-allocate N invoice numbers from a locked series so the mobile device can emit invoices offline with correct numbering. - [Set Series as Primary](https://docs.contazen.ro/api-reference/endpoints/invoice-series/set-primary.md): Set an invoice series as the default for its document type - [Unlock Series](https://docs.contazen.ro/api-reference/endpoints/invoice-series/unlock.md): Release the mobile-device lock on an invoice series. - [Update an Invoice Series](https://docs.contazen.ro/api-reference/endpoints/invoice-series/update.md): Update an existing invoice series - [Create Invoice](https://docs.contazen.ro/api-reference/endpoints/invoices/create.md): Create a new invoice with optional client creation - [Delete Invoice](https://docs.contazen.ro/api-reference/endpoints/invoices/delete.md): Permanently delete a voided or draft invoice - [Download Invoice PDF](https://docs.contazen.ro/api-reference/endpoints/invoices/download-pdf.md): Download an invoice as PDF - [Get Invoice History](https://docs.contazen.ro/api-reference/endpoints/invoices/history.md): Audit trail of all changes to a fiscal invoice. - [List Invoices](https://docs.contazen.ro/api-reference/endpoints/invoices/list.md): Retrieve a paginated list of invoices - [Mark Invoice Paid](https://docs.contazen.ro/api-reference/endpoints/invoices/pay.md): Record a payment for an invoice - [Estimate Payment Date](https://docs.contazen.ro/api-reference/endpoints/invoices/payment-estimate.md): Predict when an unpaid invoice is likely to be paid, based on client history - [Retrieve Invoice](https://docs.contazen.ro/api-reference/endpoints/invoices/retrieve.md): Retrieve a specific invoice - [Send Invoice](https://docs.contazen.ro/api-reference/endpoints/invoices/send.md): Send an invoice by email - [Send to SPV](https://docs.contazen.ro/api-reference/endpoints/invoices/send-to-spv.md): Send invoice to Romanian SPV (e-Factura) system - [Get Invoice Statistics](https://docs.contazen.ro/api-reference/endpoints/invoices/stats.md): Get comprehensive invoice statistics and trends - [Storno Invoice](https://docs.contazen.ro/api-reference/endpoints/invoices/storno.md): Create a reversal invoice for a fiscal invoice. - [Get Invoice Totals](https://docs.contazen.ro/api-reference/endpoints/invoices/totals.md): Get aggregated invoice totals for a specific period - [Unvoid Invoice](https://docs.contazen.ro/api-reference/endpoints/invoices/unvoid.md): Reactivate a voided invoice - [Update Invoice](https://docs.contazen.ro/api-reference/endpoints/invoices/update.md): Update header-level fields on an existing invoice. - [Void Invoice](https://docs.contazen.ro/api-reference/endpoints/invoices/void.md): Void an existing invoice - [Enable Language](https://docs.contazen.ro/api-reference/endpoints/languages/create.md): Enable a bill-template language for the firm. - [Disable Language](https://docs.contazen.ro/api-reference/endpoints/languages/delete.md): Remove a language from the firm. - [List Languages](https://docs.contazen.ro/api-reference/endpoints/languages/list.md): List firm-enabled bill-template languages. - [List Payments](https://docs.contazen.ro/api-reference/endpoints/payments/list.md): List all payments across invoices - [Retrieve a Payment](https://docs.contazen.ro/api-reference/endpoints/payments/retrieve.md): Get details of a specific payment - [Create Product](https://docs.contazen.ro/api-reference/endpoints/products/create.md): Create a new product - [Delete Product](https://docs.contazen.ro/api-reference/endpoints/products/delete.md): Delete a product - [List Products](https://docs.contazen.ro/api-reference/endpoints/products/list.md): Retrieve a paginated list of products - [Retrieve Product](https://docs.contazen.ro/api-reference/endpoints/products/retrieve.md): Retrieve a specific product by ID - [Update Product](https://docs.contazen.ro/api-reference/endpoints/products/update.md): Update an existing product - [Create a Receipt](https://docs.contazen.ro/api-reference/endpoints/receipts/create.md): Issue a chitanță, optionally paired with an invoice - [Delete a Receipt](https://docs.contazen.ro/api-reference/endpoints/receipts/delete.md): Soft-delete a chitanță and undo any linked invoice payment - [List Receipts](https://docs.contazen.ro/api-reference/endpoints/receipts/list.md): List chitanțe (cash receipts) for the firm - [Retrieve a Receipt](https://docs.contazen.ro/api-reference/endpoints/receipts/retrieve.md): Get details of a specific chitanță - [Update a Receipt](https://docs.contazen.ro/api-reference/endpoints/receipts/update.md): Update an existing chitanță - [Get Settings](https://docs.contazen.ro/api-reference/endpoints/settings/get.md): Retrieve account settings and configuration - [Delete Supplier Bill](https://docs.contazen.ro/api-reference/endpoints/supplier-bills/delete.md): Soft-delete a supplier bill (deleted_at timestamp). - [Download e-Factura PDF](https://docs.contazen.ro/api-reference/endpoints/supplier-bills/efactura-pdf.md): Stream the ANAF-rendered PDF for a supplier bill. - [List Supplier Bills](https://docs.contazen.ro/api-reference/endpoints/supplier-bills/list.md): List supplier invoices received from the ANAF SPV inbox (e-Factura). - [Mark Bill as Paid](https://docs.contazen.ro/api-reference/endpoints/supplier-bills/mark-paid.md): Record a payment on a supplier bill. Supports partial payments. - [Mark Bill as Unpaid](https://docs.contazen.ro/api-reference/endpoints/supplier-bills/mark-unpaid.md): Reset a supplier bill to unpaid status, clearing payment fields. - [Retrieve Supplier Bill](https://docs.contazen.ro/api-reference/endpoints/supplier-bills/retrieve.md): Get a single supplier bill, including supplier balance and reciprocal client. - [Sync from SPV](https://docs.contazen.ro/api-reference/endpoints/supplier-bills/sync.md): Pull fresh supplier invoices from the ANAF SPV inbox. - [Create Supplier](https://docs.contazen.ro/api-reference/endpoints/suppliers/create.md): Create a new supplier - [Delete Supplier](https://docs.contazen.ro/api-reference/endpoints/suppliers/delete.md): Delete a supplier - [List Suppliers](https://docs.contazen.ro/api-reference/endpoints/suppliers/list.md): Retrieve a paginated list of all suppliers - [Retrieve Supplier](https://docs.contazen.ro/api-reference/endpoints/suppliers/retrieve.md): Retrieve a specific supplier by ID - [Update Supplier](https://docs.contazen.ro/api-reference/endpoints/suppliers/update.md): Update an existing supplier - [Create VAT Rate](https://docs.contazen.ro/api-reference/endpoints/vat-rates/create.md): Add a firm-scoped custom VAT rate. - [Delete VAT Rate](https://docs.contazen.ro/api-reference/endpoints/vat-rates/delete.md): Remove a firm-scoped VAT rate. - [List VAT Rates](https://docs.contazen.ro/api-reference/endpoints/vat-rates/list.md): List firm-scoped VAT rates plus the full Romanian catalog. - [Update VAT Rate](https://docs.contazen.ro/api-reference/endpoints/vat-rates/update.md): Update the description of a firm VAT rate. - [API Reference](https://docs.contazen.ro/api-reference/introduction.md): Complete reference for all Contazen API endpoints - [Testing Your Integration](https://docs.contazen.ro/api-reference/testing.md): Best practices for testing the Contazen API without affecting production data - [Authentication](https://docs.contazen.ro/authentication.md): Secure your API requests with Bearer token authentication - [e-Factura Integration](https://docs.contazen.ro/concepts/efactura.md): Complete guide to integrating with the Romanian e-Factura (SPV) system - [Expanding Objects](https://docs.contazen.ro/concepts/expanding-objects.md): Include related objects in API responses - [Expense Lines & VAT Breakdown](https://docs.contazen.ro/concepts/expense-lines.md): Model itemized expenses with per-line VAT rates, mixed-rate receipts, and bit-exact header totals - [Invoice Lifecycle](https://docs.contazen.ro/concepts/invoice-lifecycle.md): Understanding invoice states and transitions in the Contazen API - [Localization](https://docs.contazen.ro/concepts/localization.md): Access the API in multiple languages - [Multi-Work-Point Access](https://docs.contazen.ro/concepts/multi-work-point.md): Manage data across multiple business locations with a single API key - [Offline Mode & Mobile Series Lock](https://docs.contazen.ro/concepts/offline-mode.md): How the Contazen mobile app issues invoices with correct, gapless numbers while offline. - [Pagination](https://docs.contazen.ro/concepts/pagination.md): Navigate through large datasets efficiently - [Error Handling](https://docs.contazen.ro/errors.md): Understanding and handling API errors gracefully - [Introduction](https://docs.contazen.ro/introduction.md): Build powerful integrations with the Contazen invoicing platform - [Postman Collection](https://docs.contazen.ro/postman-collection.md): Import our ready-to-use Postman collection for quick API testing - [Quickstart](https://docs.contazen.ro/quickstart.md): Start building with the Contazen API in under 5 minutes - [Rate Limiting](https://docs.contazen.ro/rate-limiting.md): Understanding API rate limits and best practices - [SDKs & Libraries](https://docs.contazen.ro/sdks.md): Official and community SDKs for the Contazen API - [Security](https://docs.contazen.ro/security.md): Security best practices and features in the Contazen API - [Versioning](https://docs.contazen.ro/versioning.md): API versioning approach ## OpenAPI Specs - [contazen-api.openapi](https://docs.contazen.ro/contazen-api.openapi.yaml) - [openapi](https://docs.contazen.ro/api-reference/openapi.json)