Open API
Open REST APIs and pre‑built connectors for SAP, Oracle, QuickBooks, Xero, and other ERP/accounting systems, allowing seamless embedding of Vendex modules into existing enterprise workflows.
API Overview
Base URLs:
Sandbox: https://sandbox-api.getvendex.com/v1
Production: https://api.getvendex.com/v1Authentication:
All API requests require authentication using API keys:
Authorization: Bearer {YOUR_API_KEY}Obtaining API Keys:
Navigate to Settings > Security > API Keys
Click "+ Generate New Key"
Provide key name
Set permissions level
Copy key (shown once only)
Store securely
Request Format:
Content-Type:
application/jsonAccept:
application/jsonAll dates in ISO 8601 format:
YYYY-MM-DDTHH:MM:SSZ
Response Format:
Error Format:
Rate Limiting:
Standard
1,000
10,000
Premium
10,000
100,000
Enterprise
Unlimited
Unlimited
Rate Limit Headers:
API Resources
Core Resources:
Invoices: Create, retrieve, update, send invoices
Orders: Manage order lifecycle
Customers: Customer management
Products: Product/service catalog
Payments: Payment tracking and reconciliation
FIRS: E-invoicing compliance operations
Invoices API
Create Invoice
Request Body:
Response:
Retrieve Invoice
Response:
List Invoices
Query Parameters:
status
string
Filter by status: draft, pending, paid, overdue
customer_id
string
Filter by customer ID
from_date
date
Filter invoices issued after this date
to_date
date
Filter invoices issued before this date
limit
integer
Number of results (max 100)
offset
integer
Pagination offset
Response:
Send Invoice
Request Body:
Response:
Record Payment
Request Body:
Response:
Customers API
Create Customer
Request Body:
Response:
Retrieve Customer
List Customers
Orders API
Create Order
Request Body:
Response:
Update Order Status
Request Body:
Products API
Create Product
Request Body:
Response:
List Products
FIRS API
Validate IRN
Request Body:
Response:
Check Transmission Status
Response:
Report Fiscalization
Request Body:
Response:
Error Codes
invalid_request
400
Request is malformed or missing required fields
authentication_failed
401
Invalid or missing API key
permission_denied
403
API key lacks required permissions
resource_not_found
404
Requested resource doesn't exist
duplicate_resource
409
Resource already exists (e.g., duplicate invoice number)
validation_error
422
Request data failed validation
rate_limit_exceeded
429
Too many requests, retry after rate limit resets
server_error
500
Internal server error
service_unavailable
503
Temporary service outage
Testing and Sandbox
Sandbox Features
Separate from production data
Test FIRS integration safely
No actual invoice transmission
Reset data anytime
Same API endpoints and authentication
Sandbox API Keys
Generate sandbox keys separately:
Enable "Test Mode" toggle in Settings
Generate API key
Key works only with sandbox URL
Prefix:
sk_test_...
Production API Keys
Generate with test mode disabled
Prefix:
sk_live_...Only works with production URL
Transitioning to Production
Complete integration in sandbox
Obtain production FIRS credentials
Generate production API keys
Update API base URL to production
Run smoke tests
Monitor initial transactions closely
Last updated