Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

magento Invoices API

Invoice management for orders including invoice creation, retrieval, and payment capture operations.

magento Invoices API is one of 16 APIs that magento publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Invoices. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 3 operations across 3 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 2.4.

Requests are made against a single base URL, https://{store_domain}/rest/{store_code}.

3 operations 3 paths 4 schemas 2 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.4
Base URL
https://your-store.example.com/rest
Authentication
HTTP Bearer
Terms of Service
Resource Areas
1

Authentication & Security 1

magento Invoices API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — Bearer token obtained from the /V1/integration/admin/token or /V1/integration/customer/token endpoint. Include in the Authorization header as "Bearer {token}".

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Invoices 3

Invoice management for orders including invoice creation, retrieval, and payment capture operations.

GET
/V1/invoices
List invoices
listInvoices 4 params → 200401
GET
/V1/invoices/{invoiceId}
Get invoice by ID
getInvoice 1 param → 200401404
POST
/V1/order/{orderId}/invoice
Create an invoice for an order
createInvoice 1 param body → 200400401404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Invoice (7 properties), InvoiceRequest (3 properties), Error (2 properties), InvoiceSearchResults (2 properties). Each schema is shown below with its type and property counts.

InvoiceSearchResults
object
Paginated search results containing a list of invoices.
2 properties
Invoice
object
An invoice record associated with a sales order.
7 properties
InvoiceRequest
object
Request body for creating an invoice for an order.
3 properties
Error
object
Standard error response returned for 4xx and 5xx responses.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

magento-invoices-api-openapi.yml Raw ↑

Other APIs magento publishes across the network.

Magento GraphQL API
Magento SOAP API
Adobe Commerce Webhooks
Adobe Commerce Admin UI SDK
Adobe Commerce Eventing
magento Authentication API
magento Carts API
magento Categories API
magento Customers API
magento Inventory API
magento Orders API
magento Products API