Paigo · Schema

CreateInvoicesDto

BillingUsage-Based BillingMeteringInvoicingPricingSoftware-as-a-ServiceSubscriptionDeveloper ToolsFinOps

Properties

Name Type Description
customerId string The client ID assocaited with the Business Entity, this is the name for the business which will be used in the invoce

Example: `"Khols"`
items array The Itemized collection of elements to be billed. These could be instance compute hours, or number of users

Example: `[{ "name": "MyService", "quantity": 1, "unitCost": 100.09 }]`
invoiceDate string The date the invoice is to be generated for

Example: `"2020-09-18T17:34:02.666Z"`
currency string The currency the invoice is to be generated in. If no Currency is passed in the currency used by the customer will be used.

Example: `"EUR"`
invoicePaymentTerm string The Payment Term for the invoice. This is the number of days until the invoice is considered past due. Default is "none". String `""` represents "none".

Example: `"30"`
storePaymentAsCredit boolean If storePaymentAsCredit is `true` then the payment on the invoice will ADD to the customers credit balance. By default it is false, meaning that the payment of an invoice inside of paigo will first, d
View JSON Schema on GitHub

JSON Schema

paigo-create-invoices.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://paigo.tech/json-schema/CreateInvoicesDto.json",
  "title": "CreateInvoicesDto",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "description": "The client ID assocaited with the Business Entity, this is the name for the business which will be used in the invoce\n<br><br>\nExample: `\"Khols\"`",
      "example": "Khols"
    },
    "items": {
      "description": "The Itemized collection of elements to be billed. These could be instance compute hours, or number of users\n<br><br>\nExample: `[{ \"name\": \"MyService\", \"quantity\": 1, \"unitCost\": 100.09 }]`",
      "example": [
        {
          "name": "Paigo Pro",
          "quantity": 1,
          "unitCost": 100.09
        }
      ],
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "invoiceDate": {
      "type": "string",
      "description": "The date the invoice is to be generated for\n<br><br>\nExample: `\"2020-09-18T17:34:02.666Z\"`",
      "example": "2020-09-18T17:34:02.666Z"
    },
    "currency": {
      "description": "The currency the invoice is to be generated in. If no Currency is passed in the currency used by the customer will be used.\n<br><br>\nExample: `\"EUR\"`",
      "example": "EUR",
      "enum": [
        "USD",
        "EUR",
        "CNY"
      ],
      "type": "string"
    },
    "invoicePaymentTerm": {
      "description": "The Payment Term for the invoice. This is the number of days until the invoice is considered past due. Default is \"none\". String `\"\"` represents \"none\".\n<br><br>\nExample: `\"30\"`",
      "example": "30",
      "enum": [
        "30",
        "60",
        ""
      ],
      "type": "string"
    },
    "storePaymentAsCredit": {
      "type": "boolean",
      "description": "If storePaymentAsCredit is `true` then the payment on the invoice will ADD to the customers credit balance. By default it is false, meaning that the payment of an invoice inside of paigo will first, deduct from the credit balance and then charge the payment method on file.\n<br><br>\nExample: `true`",
      "example": true
    }
  },
  "required": [
    "customerId",
    "items"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/paigo-create-invoices"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.