Billing API (Invoices API)
The Copaco Cloud Support Center Portal is capable of providing you with your invoices in different formats. This feature is called “Billing API” and is part of the Support Center Profile page https://supportcenter.services/profile. The Billing API enables your ERP system to request invoice details on demand from the Copaco Cloud Commerce Platform. These invoices are sent as structured data (you can choose between XML or JSON format).
There are multiple different endpoints in the Billing API:
invoicesendpoint retrieves your purchase invoices for a specified period (Reseller Invoices).
customerinvoicesendpoint retrieves your sales invoices for a specified period (Customer Invoices).
consolidatedinvoicesendpoint retrieves your purchase invoices and attempts to match customer sales prices in the same element. This merged set of reseller costs and customer sales prices for a specified period are provided on a best-effort bases. You should not rely on this for invoicing/accounting purposes.
subscriptiondetailsendpoint allows you to get additional data about a specified subscription. It provides details about the underlying “service plan”, “plan period“ “resources”, “resource rate” and when available “resource rate period” information. This information can be used to understand how an invoice line item was generated and gives the ability to apply your own billing logic on top of what our cloud platform provides.
Documentation Table of Contents