InvoiceOut
Questi contenuti non sono ancora disponibili nella tua lingua.
Manage outgoing invoices, including creation, update, deletion, and advanced search.
Invoices can be linked to subscriptions, customers, and plans, and support metadata and filtering.
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Operations
Sezione intitolata “Operations” POST /v2/invoice-out/index
Returns a paginated and filterable list of outgoing invoices.
Use POST to allow complex filters via JSON payload.
Request Body
Sezione intitolata “Request Body ”Parameters for searching outgoing invoices
object
object
ID of the outgoing invoice
Chargebee invoice number
Outgoing invoice number
Year of the outgoing invoice
Date of the outgoing invoice
ID of the subscription
ID of the customer
Customer data, or false if not available
ID of the plan
Item data, or false if not available
Total amount of the invoice
Amount of tax on the invoice
Amount paid towards the invoice
Date of the payment
Status of the payment
Currency of the invoice
The field of the model to sort the list for, use a minus to revert the sort. Es -name is to require the sort in reverse order
The field establishes whether to also include historized elements that are no longer active in the results. If you leave this parameter empty the response returns only actual entries.
Example
{ "filter": { "customer_id": "cus-1", "invoice_out_year": 2024 }, "per-page": 10, "page": 1, "sort": "invoice_out_num"}
Responses
Sezione intitolata “ Responses ”List of outgoing invoices
object
ID of the outgoing invoice
Chargebee invoice number
Outgoing invoice number
Year of the outgoing invoice
Date of the outgoing invoice
ID of the subscription
ID of the customer
Customer data, or false if not available
ID of the plan
Item data, or false if not available
Total amount of the invoice
Amount of tax on the invoice
Amount paid towards the invoice
Date of the payment
Status of the payment
Currency of the invoice
Example
{ "invoice_out_id": "inv-1", "invoice_out_num": "2024-001", "invoice_out_year": 2024, "customer_id": "cus-1", "amount_invoice": 1000, "currency": "EUR", "payment_status": "paid"}
Headers
Sezione intitolata “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
POST /v2/invoice-out/create
Create a new outgoing invoice by providing the required details.
Request Body required
Sezione intitolata “Request Body required ”Invoice out object to be created
object
ID of the outgoing invoice
Chargebee invoice number
Outgoing invoice number
Year of the outgoing invoice
Date of the outgoing invoice
ID of the subscription
ID of the customer
Customer data, or false if not available
ID of the plan
Item data, or false if not available
Total amount of the invoice
Amount of tax on the invoice
Amount paid towards the invoice
Date of the payment
Status of the payment
Currency of the invoice
Example
{ "invoice_out_num": "2024-002", "invoice_out_year": 2024, "customer_id": "cus-2", "amount_invoice": 500, "currency": "EUR", "payment_status": "pending"}
Responses
Sezione intitolata “ Responses ”Invoice out created successfully
object
ID of the outgoing invoice
Chargebee invoice number
Outgoing invoice number
Year of the outgoing invoice
Date of the outgoing invoice
ID of the subscription
ID of the customer
Customer data, or false if not available
ID of the plan
Item data, or false if not available
Total amount of the invoice
Amount of tax on the invoice
Amount paid towards the invoice
Date of the payment
Status of the payment
Currency of the invoice
Example
{ "invoice_out_id": "inv-2", "invoice_out_num": "2024-002", "invoice_out_year": 2024, "customer_id": "cus-2", "amount_invoice": 500, "currency": "EUR", "payment_status": "pending"}
GET /v2/invoice-out/view/{id}
Retrieve an outgoing invoice by its unique ID.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the invoice out to retrieve
Responses
Sezione intitolata “ Responses ”Invoice out found
object
ID of the outgoing invoice
Chargebee invoice number
Outgoing invoice number
Year of the outgoing invoice
Date of the outgoing invoice
ID of the subscription
ID of the customer
Customer data, or false if not available
ID of the plan
Item data, or false if not available
Total amount of the invoice
Amount of tax on the invoice
Amount paid towards the invoice
Date of the payment
Status of the payment
Currency of the invoice
Example
{ "invoice_out_id": "inv-1", "invoice_out_num": "2024-001", "invoice_out_year": 2024, "customer_id": "cus-1", "amount_invoice": 1000, "currency": "EUR", "payment_status": "paid"}
Invoice out not found
DELETE /v2/invoice-out/delete/{id}
Delete an outgoing invoice by its unique ID.
If force=true, all related entities will also be deleted.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the invoice out to delete
Query Parameters
Sezione intitolata “Query Parameters ”Force the deletion of the entity and all related entities
Responses
Sezione intitolata “ Responses ”Invoice out deleted successfully
If force=false, the operation is interrupted and the list of connected entities that will be deleted in case of confirmation (force=true) is returned
PUT /v2/invoice-out/update/{id}
Update an existing outgoing invoice by its unique ID.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the invoice out to update
Request Body required
Sezione intitolata “Request Body required ”Invoice out object with updated data
object
ID of the outgoing invoice
Chargebee invoice number
Outgoing invoice number
Year of the outgoing invoice
Date of the outgoing invoice
ID of the subscription
ID of the customer
Customer data, or false if not available
ID of the plan
Item data, or false if not available
Total amount of the invoice
Amount of tax on the invoice
Amount paid towards the invoice
Date of the payment
Status of the payment
Currency of the invoice
Example
{ "payment_status": "paid"}
Responses
Sezione intitolata “ Responses ”Invoice out updated successfully
object
ID of the outgoing invoice
Chargebee invoice number
Outgoing invoice number
Year of the outgoing invoice
Date of the outgoing invoice
ID of the subscription
ID of the customer
Customer data, or false if not available
ID of the plan
Item data, or false if not available
Total amount of the invoice
Amount of tax on the invoice
Amount paid towards the invoice
Date of the payment
Status of the payment
Currency of the invoice
Example
{ "invoice_out_id": "inv-1", "payment_status": "paid"}
Invoice out not found