Meta Council Invoicing API
The invoicing API from Meta Council — 10 operation(s) for invoicing.
The invoicing API from Meta Council — 10 operation(s) for invoicing.
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/meta-council-com:meta-council-com-invoicing-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: Meta Council Invoicing API
description: 'Multi-expert LLM reasoning platform. A query is routed to a panel of expert AI agents (290+ available, 30 pre-built panels), each writing an independent analysis, then a synthesis step combines them into a decision document with executive summary, risk matrix, consensus + dissent, and an action plan.
Authenticate via `Authorization: Bearer ` (user-facing routes) or `Authorization: Bearer mc_...` / `X-API-Key: mc_...` (developer API under `/api/v1/`).
Ticket validation ingestion at `POST /api/tickets/{ticket_id}/scenarios/{scenario_id}/validation-runs` accepts a JWT or an API key carrying the opt-in `tickets:validate` scope; owner and actor identity are always derived from that verified credential.
Smart model routing: requests default to Claude Haiku 4.5 with a self-hosted Qwen fallback. Anonymous calls to `/api/council/run` are rate-limited; programmatic access requires an API key created at `/api/v1/keys`.'
contact:
name: Meta Council
url: https://meta-council.com/
license:
name: Proprietary
version: 0.3.0
tags:
- name: Invoicing
paths:
/api/invoicing/invoices:
get:
tags:
- Invoicing
summary: List Invoices
operationId: list_invoices_api_invoicing_invoices_get
parameters:
- name: status
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Status
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Invoicing
summary: Create Invoice
operationId: create_invoice_api_invoicing_invoices_post
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InvoiceCreateRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoicing/invoices/aging:
get:
tags:
- Invoicing
summary: Get Invoice Aging
operationId: get_invoice_aging_api_invoicing_invoices_aging_get
parameters:
- name: report_version
in: query
required: false
schema:
type: integer
default: 1
title: Report Version
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoicing/invoices/{invoice_id}:
get:
tags:
- Invoicing
summary: Get Invoice
operationId: get_invoice_api_invoicing_invoices__invoice_id__get
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'
put:
tags:
- Invoicing
summary: Update Invoice
description: 'Update header fields. Blocked once paid/void — a finalized invoice''s
terms shouldn''t change retroactively; void and re-issue instead.'
operationId: update_invoice_api_invoicing_invoices__invoice_id__put
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/InvoiceUpdateRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Invoicing
summary: Delete Invoice
description: 'Delete a draft. Once sent/paid/void an invoice is a durable record —
void it instead of deleting. Line items are deleted explicitly rather
than relying on the DB''s ON DELETE CASCADE, since that cascade is only
guaranteed to fire on backends that enforce FKs at the engine level.'
operationId: delete_invoice_api_invoicing_invoices__invoice_id__delete
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'
/api/invoicing/invoices/{invoice_id}/line-items:
post:
tags:
- Invoicing
summary: Add Line Item
operationId: add_line_item_api_invoicing_invoices__invoice_id__line_items_post
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/LineItemUpsertRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoicing/invoices/{invoice_id}/line-items/{item_id}:
put:
tags:
- Invoicing
summary: Update Line Item
operationId: update_line_item_api_invoicing_invoices__invoice_id__line_items__item_id__put
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
- name: item_id
in: path
required: true
schema:
type: string
title: Item Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/LineItemUpsertRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Invoicing
summary: Delete Line Item
operationId: delete_line_item_api_invoicing_invoices__invoice_id__line_items__item_id__delete
parameters:
- name: invoice_id
in: path
required: true
schema:
type: string
title: Invoice Id
- name: item_id
in: path
required: true
schema:
type: string
title: Item Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoicing/invoices/{invoice_id}/send:
post:
tags:
- Invoicing
summary: Send Invoice
description: 'draft -> sent. Stamps issued_at. Re-sending an already-sent invoice
is a harmless no-op rather than an error.'
operationId: send_invoice_api_invoicing_invoices__invoice_id__send_post
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'
/api/invoicing/invoices/{invoice_id}/mark-paid:
post:
tags:
- Invoicing
summary: Mark Invoice Paid
description: 'draft|sent -> paid. Stamps paid_at (and issued_at too, if a draft was
marked paid directly without ever being sent).'
operationId: mark_invoice_paid_api_invoicing_invoices__invoice_id__mark_paid_post
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'
/api/invoicing/invoices/{invoice_id}/void:
post:
tags:
- Invoicing
summary: Void Invoice
description: 'draft|sent -> void. A paid invoice cannot be voided here (issue a
credit note instead — out of scope for this feature).'
operationId: void_invoice_api_invoicing_invoices__invoice_id__void_post
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'
/api/invoicing/deals/{deal_id}/convert-to-invoice:
post:
tags:
- Invoicing
summary: Convert Deal To Invoice
description: 'Create a draft invoice from a deal: one line item for the deal''s
amount, client_name defaulted from the deal''s company/title. Lives on
the invoicing router (not outreach.py) so this feature stays additive
to files other pillars aren''t actively editing; the deal_id path
segment mirrors outreach.py''s own leads/{id}/convert-to-deal shape.'
operationId: convert_deal_to_invoice_api_invoicing_deals__deal_id__convert_to_invoice_post
parameters:
- name: deal_id
in: path
required: true
schema:
type: string
title: Deal Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ConvertDealToInvoiceRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/invoicing/invoices/{invoice_id}/render:
get:
tags:
- Invoicing
summary: Render Invoice
description: 'Standalone, print-friendly HTML for one invoice — the polished,
shareable document a business owner downloads/prints/forwards to a
client. Mirrors GET /api/history/{id}/print''s HTMLResponse convention.
Owner-authenticated only for now — no public share-link/token yet.'
operationId: render_invoice_api_invoicing_invoices__invoice_id__render_get
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'
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
InvoiceLineItemInput:
properties:
description:
type: string
maxLength: 500
minLength: 1
title: Description
quantity:
type: number
maximum: 1000000.0
exclusiveMinimum: 0.0
title: Quantity
default: 1
unit_price:
type: number
maximum: 999999999.0
minimum: 0.0
title: Unit Price
type: object
required:
- description
- unit_price
title: InvoiceLineItemInput
LineItemUpsertRequest:
properties:
description:
type: string
maxLength: 500
minLength: 1
title: Description
quantity:
type: number
maximum: 1000000.0
exclusiveMinimum: 0.0
title: Quantity
default: 1
unit_price:
type: number
maximum: 999999999.0
minimum: 0.0
title: Unit Price
type: object
required:
- description
- unit_price
title: LineItemUpsertRequest
InvoiceCreateRequest:
properties:
client_name:
type: string
maxLength: 200
minLength: 1
title: Client Name
client_email:
anyOf:
- type: string
maxLength: 320
- type: 'null'
title: Client Email
currency:
anyOf:
- type: string
maxLength: 3
minLength: 3
pattern: ^[A-Za-z]{3}$
- type: 'null'
title: Currency
tax_rate:
anyOf:
- type: number
maximum: 100.0
minimum: 0.0
- type: 'null'
title: Tax Rate
payment_terms:
anyOf:
- type: string
maxLength: 100
- type: 'null'
title: Payment Terms
due_date:
anyOf:
- type: string
- type: 'null'
title: Due Date
notes:
anyOf:
- type: string
maxLength: 10000
- type: 'null'
title: Notes
deal_id:
anyOf:
- type: string
- type: 'null'
title: Deal Id
line_items:
items:
$ref: '#/components/schemas/InvoiceLineItemInput'
type: array
maxItems: 200
title: Line Items
type: object
required:
- client_name
title: InvoiceCreateRequest
ConvertDealToInvoiceRequest:
properties:
client_name:
anyOf:
- type: string
maxLength: 200
- type: 'null'
title: Client Name
client_email:
anyOf:
- type: string
maxLength: 320
- type: 'null'
title: Client Email
tax_rate:
anyOf:
- type: number
maximum: 100.0
minimum: 0.0
- type: 'null'
title: Tax Rate
payment_terms:
anyOf:
- type: string
maxLength: 100
- type: 'null'
title: Payment Terms
due_date:
anyOf:
- type: string
- type: 'null'
title: Due Date
notes:
anyOf:
- type: string
maxLength: 10000
- type: 'null'
title: Notes
type: object
title: ConvertDealToInvoiceRequest
InvoiceUpdateRequest:
properties:
client_name:
anyOf:
- type: string
maxLength: 200
minLength: 1
- type: 'null'
title: Client Name
client_email:
anyOf:
- type: string
maxLength: 320
- type: 'null'
title: Client Email
currency:
anyOf:
- type: string
maxLength: 3
minLength: 3
pattern: ^[A-Za-z]{3}$
- type: 'null'
title: Currency
tax_rate:
anyOf:
- type: number
maximum: 100.0
minimum: 0.0
- type: 'null'
title: Tax Rate
payment_terms:
anyOf:
- type: string
maxLength: 100
- type: 'null'
title: Payment Terms
due_date:
anyOf:
- type: string
- type: 'null'
title: Due Date
notes:
anyOf:
- type: string
maxLength: 10000
- type: 'null'
title: Notes
type: object
title: InvoiceUpdateRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
VotingDeveloperBearer:
type: http
description: 'Meta Council developer API key in Authorization: Bearer.'
scheme: bearer
VotingDeveloperApiKey:
type: apiKey
description: Meta Council developer API key in X-API-Key.
in: header
name: X-API-Key
VotingJWTBearer:
type: http
description: Meta Council account access token.
scheme: bearer