BP

BP Open API Invoices API

The OpenApiInvoices API from BP — 1 operation(s) for openapiinvoices.

Operations 1

GET /invoices Get invoices #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bp-openapiinvoices-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bp-openapiinvoices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenAPI Endpoints Open API Invoices API
  version: v1.0
security:
- Bearer: []
tags:
- name: OpenApiInvoices
paths:
  /invoices:
    get:
      tags:
      - OpenApiInvoices
      responses:
        '200':
          content:
            Application/Json:
              schema:
                $ref: '#/components/schemas/OpenApiInvoicesResponse'
          description: Success
        '400':
          content:
            Application/Json:
              schema:
                $ref: '#/components/schemas/ResultEntity'
          description: Bad Request
        '500':
          content:
            Application/Json:
              schema:
                $ref: '#/components/schemas/ErrorDetailsEntity'
          description: Server Error
      parameters:
      - in: query
        name: AuthorityIds
        schema:
          type: array
          items:
            type: string
        description: Only search invoices with matching authorityIds - Multiple authorities can be added via authorityIds=A123,authorityIds=A345,...
      - in: query
        name: StartDateTime
        schema:
          type: string
        description: Start date time for search
      - in: query
        name: EndDateTime
        schema:
          type: string
        description: End date time for search
      - in: query
        name: PageSize
        schema:
          type: integer
          format: int32
        description: Max results to return - If set must be between 1 and 1000
      - in: query
        name: Page
        schema:
          type: integer
          format: int32
        description: Page Number
      - in: query
        name: ParentIds
        schema:
          type: array
          items:
            type: string
        description: Only search invoices with matching parentIds
      - in: header
        name: x-correlation-id
        schema:
          type: string
          format: uuid
        description: Correlation Id
      summary: Get invoices
      x-summary-source: derived
      operationId: getInvoices
      x-operation-id-source: derived
components:
  schemas:
    ErrorDetailsEntity:
      type: object
      properties:
        errorCode:
          type: integer
          format: int32
        errorMessage:
          type:
          - string
          - 'null'
      additionalProperties: false
    OpenApiInvoicesResponse:
      type: object
      properties:
        invoices:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/OpenApiInvoiceResponse'
        numberOfRecords:
          type: integer
          format: int32
        moreInvoicesAvailable:
          type: boolean
      additionalProperties: false
    OpenApiInvoiceResponse:
      type: object
      properties:
        customer:
          type:
          - string
          - 'null'
          description: Customer.  Name of customer
        parentId:
          type:
          - string
          - 'null'
          description: Parent id.  Id of parent associated with the invoice
        invoiceId:
          type:
          - string
          - 'null'
          description: Invoice id
        parentName:
          type:
          - string
          - 'null'
          description: Parent name.  Name of parent associated with the invoice
        authorityId:
          type:
          - string
          - 'null'
          readOnly: true
          description: .  Id of authority associated with the invoice
        invoiceDate:
          type:
          - string
          - 'null'
          description: Invoice date
        invoiceType:
          type:
          - string
          - 'null'
        accountLevel:
          type:
          - string
          - 'null'
          description: Account level.  Value is either CU or PC
        invoiceCycle:
          type: integer
          format: int32
          description: Invoice cycle
        espCustomerNo:
          type:
          - integer
          - 'null'
          format: int64
          description: ESP customer number
        invoiceNumber:
          type:
          - string
          - 'null'
          description: Invoice number
        invoiceToDate:
          type:
          - string
          - 'null'
          description: Invoice to date
        issuerCountry:
          type:
          - string
          - 'null'
          description: Issuer country - Iso code for issuer country
        paymentMethod:
          type:
          - string
          - 'null'
          description: Payment method - This is a code with very little meaning e.g. 1 = DIRECT DEBIT 2 = BANK GIRO - Lookup is based on source system name and payment method.  There are 171 code defined
        supplyCountry:
          type:
          - string
          - 'null'
          description: Supply country - Iso code for supply country
        invoiceDueDate:
          type:
          - string
          - 'null'
          description: Invoice due date
        invoiceFromDate:
          type:
          - string
          - 'null'
          description: Invoice from date
        invoiceNetValue:
          type: number
          format: double
          description: Invoice net value
        invoiceVatValue:
          type: number
          format: double
          description: Invoice vat value
        productItemCount:
          type: integer
          format: int32
          description: Product item count
        invoiceTotalValue:
          type: number
          format: double
          description: Invoice total value
        issuerCountryName:
          type:
          - string
          - 'null'
          description: Issuer country name
        recordCreatedDate:
          type:
          - string
          - 'null'
          description: Record created date - Date time the inovoice was last updated
        invoiceRebateValue:
          type: number
          format: double
          description: Invoice rebate value
        recordModifiedDate:
          type:
          - string
          - 'null'
          description: Record modified date - Date time the inovoice was created
        summaryStatementId:
          type:
          - string
          - 'null'
          description: Summary statement id
        invoiceCurrencyCode:
          type:
          - string
          - 'null'
          description: Invoice currency code
        summaryStatementDate:
          type:
          - string
          - 'null'
          description: Summary statement date
        paymentMethodDescription:
          type:
          - string
          - 'null'
          description: Payment method description - Description for the payment method
      additionalProperties: false
    ResultEntity:
      type: object
      properties:
        message:
          type:
          - string
          - 'null'
        success:
          type: boolean
        errorDetails:
          $ref: '#/components/schemas/ErrorDetailsEntity'
        correlationId:
          type: string
          format: uuid
      additionalProperties: false
  securitySchemes:
    Bearer:
      in: header
      name: Authorization
      type: apiKey
      description: 'JWT Authorization header using the Bearer scheme (Example: ''Bearer 12345abcdef'')'