Ruzora Invoices API
The invoices API from Ruzora — 10 operation(s) for invoices.
The invoices API from Ruzora — 10 operation(s) for invoices.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/ruzora-com:ruzora-com-invoices-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Ruzora Candidate CRM Invoices API
description: Candidate pipeline, sourcing, and LinkedIn automation
version: 1.0.0
tags:
- name: Invoices
paths:
/api/invoices:
get:
tags:
- Invoices
summary: List Invoices
description: 'List invoices
Founders see all invoices
Client users see only their company''s invoices'
operationId: list_invoices_api_invoices_get
security:
- HTTPBearer: []
parameters:
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by status
title: Status
description: Filter by status
- name: client_id
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Filter by client
title: Client Id
description: Filter by client
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/InvoiceResponse'
title: Response List Invoices Api Invoices Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Invoices
summary: Create Invoice
description: 'Create and send invoice (founder only)
Creates invoice in database and Stripe, then sends email'
operationId: create_invoice_api_invoices_post
security:
- HTTPBearer: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InvoiceCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InvoiceResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoices/overdue:
get:
tags:
- Invoices
summary: Get Overdue Invoices
description: 'Get all overdue invoices (founder only)
Returns invoices with status != Paid and due_date in past'
operationId: get_overdue_invoices_api_invoices_overdue_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/InvoiceResponse'
type: array
title: Response Get Overdue Invoices Api Invoices Overdue Get
security:
- HTTPBearer: []
/api/invoices/pending:
get:
tags:
- Invoices
summary: Get Pending Invoices
description: 'Get all draft invoices pending CEO review (founder only).
These are auto-generated invoices waiting for approval before
being sent to Stripe and emailed to clients.'
operationId: get_pending_invoices_api_invoices_pending_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
items:
$ref: '#/components/schemas/InvoiceResponse'
type: array
title: Response Get Pending Invoices Api Invoices Pending Get
security:
- HTTPBearer: []
/api/invoices/{invoice_id}:
get:
tags:
- Invoices
summary: Get Invoice
description: Get single invoice by ID
operationId: get_invoice_api_invoices__invoice_id__get
security:
- HTTPBearer: []
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InvoiceResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Invoices
summary: Update Invoice
description: 'Update invoice (founder only)
Typically used to mark as Paid manually'
operationId: update_invoice_api_invoices__invoice_id__patch
security:
- HTTPBearer: []
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: New status
title: Status
description: New status
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InvoiceResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoices/generate:
post:
tags:
- Invoices
summary: Trigger Invoice Generation
description: 'Manually trigger monthly invoice generation (founder only).
Same logic as the monthly cron job — generates Draft invoices
for all active placements with billing_start_date <= today.
Useful for testing or running mid-month.'
operationId: trigger_invoice_generation_api_invoices_generate_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
security:
- HTTPBearer: []
/api/invoices/{invoice_id}/approve:
post:
tags:
- Invoices
summary: Approve And Send Invoice
description: 'Approve a draft invoice and send via Stripe (founder only).
This is the CEO approval step — converts Draft → Sent.
Creates the Stripe invoice and emails the client.'
operationId: approve_and_send_invoice_api_invoices__invoice_id__approve_post
security:
- HTTPBearer: []
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InvoiceResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoices/{invoice_id}/send:
post:
tags:
- Invoices
summary: Send Invoice
description: 'Send invoice email (founder only)
For invoices that weren''t auto-sent'
operationId: send_invoice_api_invoices__invoice_id__send_post
security:
- HTTPBearer: []
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/InvoiceResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoices/{invoice_id}/remind:
post:
tags:
- Invoices
summary: Send Payment Reminder
description: 'Send payment reminder email (founder only)
For overdue invoices'
operationId: send_payment_reminder_api_invoices__invoice_id__remind_post
security:
- HTTPBearer: []
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Send Payment Reminder Api Invoices Invoice Id Remind Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoices/{invoice_id}/document:
get:
tags:
- Invoices
summary: Get Invoice Document Html
description: 'Get invoice as a rendered HTML document.
Returns a printable, professional invoice page.
Clients can print or save as PDF from their browser.'
operationId: get_invoice_document_html_api_invoices__invoice_id__document_get
security:
- HTTPBearer: []
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoices/{invoice_id}/document/pdf:
get:
tags:
- Invoices
summary: Get Invoice Document Pdf
description: 'Download invoice as a PDF file.
Generates a professional PDF invoice document.
Requires weasyprint to be installed.'
operationId: get_invoice_document_pdf_api_invoices__invoice_id__document_pdf_get
security:
- HTTPBearer: []
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
InvoiceCreate:
properties:
client_id:
type: string
title: Client Id
description: Company record ID
placement_ids:
items:
type: string
type: array
minItems: 1
title: Placement Ids
description: One or more placement IDs
billing_period:
type: string
pattern: ^[A-Za-z]+ \d{4}$
title: Billing Period
description: e.g., 'February 2026'
amount:
type: integer
minimum: 1.0
title: Amount
description: Total amount in cents
due_date:
type: string
format: date
title: Due Date
description: Payment due date
type: object
required:
- client_id
- placement_ids
- billing_period
- amount
- due_date
title: InvoiceCreate
description: Request model for creating an invoice
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
InvoiceResponse:
properties:
id:
type: string
title: Id
invoice_number:
type: string
title: Invoice Number
client:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Client
placements:
anyOf:
- items:
additionalProperties: true
type: object
type: array
- type: 'null'
title: Placements
billing_period:
type: string
title: Billing Period
amount:
type: integer
title: Amount
status:
type: string
title: Status
stripe_invoice_id:
anyOf:
- type: string
- type: 'null'
title: Stripe Invoice Id
due_date:
type: string
format: date
title: Due Date
sent_date:
anyOf:
- type: string
format: date
- type: 'null'
title: Sent Date
paid_date:
anyOf:
- type: string
format: date
- type: 'null'
title: Paid Date
payment_method:
anyOf:
- type: string
- type: 'null'
title: Payment Method
days_overdue:
type: integer
title: Days Overdue
default: 0
perk_code:
anyOf:
- type: string
- type: 'null'
title: Perk Code
perk_credit_cents:
anyOf:
- type: integer
- type: 'null'
title: Perk Credit Cents
created_at:
type: string
format: date-time
title: Created At
type: object
required:
- id
- invoice_number
- billing_period
- amount
- status
- due_date
- created_at
title: InvoiceResponse
description: Response model for invoice data
securitySchemes:
HTTPBearer:
type: http
scheme: bearer