Quick Start with Postman
Get started with the Contazen API in seconds using our pre-configured Postman collection.Download Postman Collection
Complete collection with all API endpoints and examples
What’s Included
Our Postman collection includes:- ✅ All API endpoints - Clients, Invoices, Products, and Settings
- ✅ Pre-configured examples - Ready-to-use request bodies
- ✅ Environment variables - Easy configuration for your API key
- ✅ Request descriptions - Inline documentation for each endpoint
- ✅ Test examples - Sample test scripts for common scenarios
Import Instructions
1
Download Postman
If you haven’t already, download Postman for your platform.
2
Download Collection
Click the download button above to get the latest collection file.
3
Import in Postman
- Open Postman
- Click Import in the top left
- Select the downloaded
Contazen_API.postman_collection.json
file - Click Import
4
Configure Environment
Create a new environment with these variables:
Replace
Variable | Value |
---|---|
base_url | https://api.contazen.ro/v1 |
api_key | sk_live_YOUR_API_KEY |
YOUR_API_KEY
with your actual API key from Settings.5
Make Your First Request
- Select the Contazen API environment
- Navigate to Clients → List Clients
- Click Send
Collection Structure
Environment Variables
Our collection uses environment variables for easy configuration:Invoice Endpoints Explained
Core Invoice Operations
- List Invoices - Retrieve all invoices with filtering and pagination
- Create Invoice - Create new invoices with multiple examples for different scenarios
- Retrieve Invoice - Get detailed information about a specific invoice
Email & Delivery
- Send Invoice - Send invoice by email to the client
- Download Invoice PDF - Get the invoice as a PDF file or URL
e-Factura Operations
- Send to SPV - Submit invoice to SPV test environment for e-Factura testing
Payment Management
- Mark Invoice Paid - Record full or partial payments on invoices
Invoice Status Management
- Void Invoice - Cancel an invoice following Romanian accounting rules
- Unvoid Invoice - Restore a previously voided invoice
- Delete Invoice - Permanently remove draft or voided invoices
Example Requests
Create Invoice with Items
Create B2B Client
Testing Features
The collection includes pre-request scripts and tests:Pre-request Scripts
- Automatic timestamp generation
- Dynamic data creation
- Environment variable validation
Test Examples
Tips for Testing
Use Test Invoice Series
Use Test Invoice Series
Create a dedicated TEST series to keep test invoices separate from production data. See our Testing Guide for details.
Start with Draft Invoices
Start with Draft Invoices
When testing, use
"is_draft": true
to create draft invoices that can be easily deleted.Test with Romanian VAT Rates
Test with Romanian VAT Rates
Use the correct VAT rates: 19% (standard), 9% (reduced), 5% (reduced), or 0% (exempt).
Handle Rate Limits
Handle Rate Limits
The API allows 100 requests per minute. The collection includes retry logic for rate-limited requests.
Troubleshooting
401 Unauthorized: Check that your API key is correctly set in the environment variables and includes the
Bearer
prefix in the Authorization header.SSL Certificate Errors: If you encounter SSL errors during local testing, you can temporarily disable SSL verification in Postman settings (not recommended for production).
Updates
We regularly update our Postman collection with new endpoints and improvements. Check back periodically for the latest version. Current version: v1.0 (Last updated: August 2025)Need Help?
- Check our API Reference for detailed endpoint documentation
- Review common errors and their solutions
- Contact support@contazen.ro for assistance