Fat Zebra Invoices API

The Invoices API from Fat Zebra — 2 operation(s) for invoices.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /invoices/{reference} Get an invoice by reference · Fetch an invoice #
Ask an LLM
“How do I look up one invoice by its reference?”
“Can I fetch a single invoice by its reference?”
Tell an agent
Get invoice {reference}.
Fetch the invoice with reference {reference}.
PUT /invoices Replace all invoices · Replace all invoices #
Ask an LLM
“How do I replace every invoice in the system at once?”
“Does replacing all invoices delete the old ones?”
Tell an agent
Replace all invoices with this batch.
Overwrite the invoice list with my new batch.

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/fat-zebra:fat-zebra-invoices-api"
All apis
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.

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. 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 Specification

fat-zebra-invoices-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: gateway Invoices API
  version: '1.0'
servers:
- url: https://gateway.pmnts-sandbox.io/v1.0
security:
- sec0: []
tags:
- name: Invoices
paths:
  /invoices/{reference}:
    get:
      summary: Fetch an invoice
      description: Individual invoices can be retrieved by their reference.
      operationId: fetch-an-invoice
      parameters:
      - name: reference
        in: path
        description: Reference of the invoice to be fetched.
        schema:
          type: string
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"successful\": true,\n  \"response\": {\n    \"amount\": 7500,\n    \"currency\": \"AUD\",\n    \"description\": \"Animal Registrations\",\n    \"reference\": \"X2\",\n    \"payable\": true\n  },\n  \"errors\": [],\n  \"test\": true\n}"
              schema:
                type: object
                properties:
                  successful:
                    type: boolean
                    example: true
                    default: true
                  response:
                    type: object
                    properties:
                      amount:
                        type: integer
                        example: 7500
                        default: 0
                      currency:
                        type: string
                        example: AUD
                      description:
                        type: string
                        example: Animal Registrations
                      reference:
                        type: string
                        example: X2
                      payable:
                        type: boolean
                        example: true
                        default: true
                  errors:
                    type: array
                  test:
                    type: boolean
                    example: true
                    default: true
      deprecated: false
      x-readme:
        code-samples:
        - language: curl
          code: curl https://gateway.pmnts-sandbox.io/v1.0/invoices/X2 -u TEST:TEST
        samples-languages:
        - curl
      tags:
      - Invoices
  /invoices:
    put:
      summary: Replace all invoices
      description: '**Note: This action will replace all existing invoices.**'
      operationId: import-invoices
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"successful\":true,\n  \"response\":{\n    \"uuid\":\"4a70e8d5-1d7d-441d-9ea2-30d15ff0f2e8\",\n    \"status\":\"pending\"\n  },\n  \"errors\":[],\n  \"test\":true\n}"
              schema:
                type: object
                properties:
                  successful:
                    type: boolean
                    example: true
                    default: true
                  response:
                    type: object
                    properties:
                      uuid:
                        type: string
                        example: 4a70e8d5-1d7d-441d-9ea2-30d15ff0f2e8
                      status:
                        type: string
                        example: pending
                  errors:
                    type: array
                  test:
                    type: boolean
                    example: true
                    default: true
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      x-readme:
        code-samples:
        - language: curl
          code: 'curl -X PUT https://gateway.pmnts-sandbox.io/v1.0/invoices -u TEST:TEST --data-binary @invoices.csv -H "Content-Type: text/csv'
        samples-languages:
        - curl
      tags:
      - Invoices
components:
  securitySchemes:
    sec0:
      type: http
      scheme: basic
x-readme:
  headers: []
  explorer-enabled: true
  proxy-enabled: true
x-readme-fauxas: true