{ "opencollection": "1.0.0", "info": { "name": "Rapidata Asset Invoice API", "version": "v1" }, "items": [ { "info": { "name": "Invoice", "type": "folder" }, "items": [ { "info": { "name": "Creates a Stripe draft invoice for a billing period.", "type": "http" }, "http": { "method": "POST", "url": "https://api.rapidata.ai/billing/invoice", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a Stripe draft invoice for a billing period." }, { "info": { "name": "Finalizes a draft invoice.", "type": "http" }, "http": { "method": "POST", "url": "https://api.rapidata.ai/invoice/:invoiceId/finalize", "params": [ { "name": "invoiceId", "value": "", "type": "path", "description": "The invoice to finalize." } ] }, "docs": "Finalizes a draft invoice." }, { "info": { "name": "Gets an invoice by ID.", "type": "http" }, "http": { "method": "GET", "url": "https://api.rapidata.ai/invoice/:invoiceId", "params": [ { "name": "invoiceId", "value": "", "type": "path", "description": "The invoice ID." } ] }, "docs": "Gets an invoice by ID." }, { "info": { "name": "Queries invoices with filtering, sorting, and pagination.", "type": "http" }, "http": { "method": "GET", "url": "https://api.rapidata.ai/invoices", "params": [ { "name": "page", "value": "", "type": "query", "description": "The 1-based page index." }, { "name": "page_size", "value": "", "type": "query", "description": "The number of items per page." }, { "name": "sort", "value": "", "type": "query", "description": "Sort fields. Prefix with - for descending order (e.g. -created_at)." }, { "name": "status", "value": "", "type": "query", "description": "Filter by status." }, { "name": "owner_id", "value": "", "type": "query", "description": "Filter by owner_id." }, { "name": "billing_period_id", "value": "", "type": "query", "description": "Filter by billing_period_id." }, { "name": "created_at", "value": "", "type": "query", "description": "Filter by created_at." }, { "name": "logic", "value": "", "type": "query", "description": "How to combine the field filters: \"and\" (default) requires every filter to match, \"or\" requires any of them to match." } ] }, "docs": "Queries invoices with filtering, sorting, and pagination." }, { "info": { "name": "Voids an invoice.", "type": "http" }, "http": { "method": "POST", "url": "https://api.rapidata.ai/invoice/:invoiceId/void", "params": [ { "name": "invoiceId", "value": "", "type": "path", "description": "The invoice to void." } ] }, "docs": "Voids an invoice." } ] } ], "bundled": true }