cURL
curl --request POST \ --url https://api.rntor.com/v1/invoices \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'X-Client-ID: <api-key>' \ --data ' { "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "due_date": "2023-12-25" } '
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "invoice_number": "INV-2024-001", "customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "status": "pending", "subtotal": 100, "tax_amount": 10, "total_amount": 110, "currency": "USD", "due_date": "2024-02-15", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }, "meta": { "request_id": "req_abc123def456", "timestamp": "2024-01-15T10:30:00Z" } }
Create a new invoice
Your API client secret
Your API client ID
Invoice created
Show child attributes