{ "opencollection": "1.0.0", "info": { "name": "HEVN 2FA invoices API", "version": "0.1.2" }, "items": [ { "info": { "name": "invoices", "type": "folder" }, "items": [ { "info": { "name": "List invoices for current user", "type": "http" }, "http": { "method": "GET", "url": "https://api.hevn.finance/api/v1/documents/contracts/invoices", "headers": [ { "name": "x-api-key", "value": "" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List invoices for current user" }, { "info": { "name": "Create invoice", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/documents/contracts/invoices", "headers": [ { "name": "x-api-key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create invoice" }, { "info": { "name": "Create incoming invoice from uploaded document", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/documents/contracts/invoices/uploaded", "headers": [ { "name": "x-api-key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create incoming invoice from uploaded document" }, { "info": { "name": "Generate a share link for invoice creation", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/documents/contracts/invoices/share_link", "headers": [ { "name": "x-api-key", "value": "" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Generate a share link for invoice creation" }, { "info": { "name": "Generate invoices for multiple contracts", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/documents/contracts/invoices/batch_invoicing", "headers": [ { "name": "x-api-key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Generate invoices for multiple contracts" }, { "info": { "name": "Get invoice by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.hevn.finance/api/v1/documents/contracts/invoices/:invoice_id", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "invoice_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get invoice by ID" }, { "info": { "name": "Update invoice (set transaction_hash)", "type": "http" }, "http": { "method": "PUT", "url": "https://api.hevn.finance/api/v1/documents/contracts/invoices/:invoice_id", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "invoice_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update invoice (set transaction_hash)" }, { "info": { "name": "Create invoice from contract", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/documents/contracts/:contract_id/create-invoice", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "contract_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create invoice from contract" }, { "info": { "name": "AI parse invoice PDF and return invoice preview", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/documents/contracts/invoices/ai_parse", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "document_id", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "AI parse invoice PDF and return invoice preview" }, { "info": { "name": "List invoices for current user", "type": "http" }, "http": { "method": "GET", "url": "https://api.hevn.finance/api/v1/invoices/documents/contracts/invoices", "headers": [ { "name": "x-api-key", "value": "" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List invoices for current user" }, { "info": { "name": "Create invoice", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/invoices/documents/contracts/invoices", "headers": [ { "name": "x-api-key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create invoice" }, { "info": { "name": "Create incoming invoice from uploaded document", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/invoices/documents/contracts/invoices/uploaded", "headers": [ { "name": "x-api-key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create incoming invoice from uploaded document" }, { "info": { "name": "Generate a share link for invoice creation", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/invoices/documents/contracts/invoices/share_link", "headers": [ { "name": "x-api-key", "value": "" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Generate a share link for invoice creation" }, { "info": { "name": "Generate invoices for multiple contracts", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/invoices/documents/contracts/invoices/batch_invoicing", "headers": [ { "name": "x-api-key", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Generate invoices for multiple contracts" }, { "info": { "name": "Get invoice by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.hevn.finance/api/v1/invoices/documents/contracts/invoices/:invoice_id", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "invoice_id", "value": "", "type": "path" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get invoice by ID" }, { "info": { "name": "Update invoice (set transaction_hash)", "type": "http" }, "http": { "method": "PUT", "url": "https://api.hevn.finance/api/v1/invoices/documents/contracts/invoices/:invoice_id", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "invoice_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update invoice (set transaction_hash)" }, { "info": { "name": "Create invoice from contract", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/invoices/documents/contracts/:contract_id/create-invoice", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "contract_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create invoice from contract" }, { "info": { "name": "AI parse invoice PDF and return invoice preview", "type": "http" }, "http": { "method": "POST", "url": "https://api.hevn.finance/api/v1/invoices/documents/contracts/invoices/ai_parse", "headers": [ { "name": "x-api-key", "value": "" } ], "params": [ { "name": "document_id", "value": "", "type": "query" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "AI parse invoice PDF and return invoice preview" } ] } ], "bundled": true }