Sage · Example Payload

Sage Create Sales Invoice Example

AccountingBusiness ManagementCloud SoftwareERPPayrollHR

Sage Create Sales Invoice Example is an example object payload from Sage, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.accounting.sage.com/v3.1/sales_invoices",
    "headers": {
      "Authorization": "Bearer {access_token}",
      "Content-Type": "application/json"
    },
    "body": {
      "sales_invoice": {
        "contact_id": "crd-001",
        "date": "2026-05-02",
        "due_date": "2026-06-01",
        "reference": "INV-2026-001",
        "line_items": [
          {
            "description": "Web Development Services - May 2026",
            "quantity": 40,
            "unit_price": 150.00,
            "ledger_account_id": "la-sales",
            "tax_rate_id": "tr-20"
          },
          {
            "description": "Hosting & Infrastructure",
            "quantity": 1,
            "unit_price": 500.00,
            "ledger_account_id": "la-sales",
            "tax_rate_id": "tr-20"
          }
        ]
      }
    }
  },
  "response": {
    "status": 201,
    "body": {
      "id": "inv-001",
      "displayed_as": "INV-2026-001",
      "date": "2026-05-02",
      "due_date": "2026-06-01",
      "reference": "INV-2026-001",
      "status": {
        "id": "DRAFT",
        "displayed_as": "Draft"
      },
      "contact": {
        "id": "crd-001",
        "displayed_as": "Acme Corporation"
      },
      "line_items": [
        {
          "id": "li-001",
          "description": "Web Development Services - May 2026",
          "quantity": 40,
          "unit_price": 150.00,
          "net_amount": 6000.00,
          "tax_amount": 1200.00,
          "total_amount": 7200.00,
          "tax_rate": {
            "id": "tr-20",
            "displayed_as": "20% VAT"
          }
        },
        {
          "id": "li-002",
          "description": "Hosting & Infrastructure",
          "quantity": 1,
          "unit_price": 500.00,
          "net_amount": 500.00,
          "tax_amount": 100.00,
          "total_amount": 600.00,
          "tax_rate": {
            "id": "tr-20",
            "displayed_as": "20% VAT"
          }
        }
      ],
      "net_amount": 6500.00,
      "tax_amount": 1300.00,
      "total_amount": 7800.00,
      "outstanding_amount": 7800.00,
      "currency": {
        "id": "USD",
        "displayed_as": "US Dollar"
      }
    }
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • 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 example
curl "https://apis.io/api/v1/examples/sage-create-sales-invoice-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

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

Get an API key

Free tier, no email required.

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