Trimble · Schema

PutApInvoice

ConstructionTransportationGeospatialGPSMappingBIMFleet ManagementCollaborationAgriculture

Properties

Name Type Description
vendorId string
vendorBillNumber string
vendorBillAmount number
vendorBillDate string Date: yyyy-MM-dd
vendorBillReference string
currencyCode string The currency code. If not provided, retrieved from the vendor profile. If no currency code is found for the vendor, the request will fail.
poNumber string
equipmentId string
powerUnitId string
trailerId string
payableType string
payableHold string
payableTerms string Payment terms. If not provided, retrieved from the vendor profile.
payableAgingDate string Date: yyyy-MM-dd. If not provided, calculated from the vendor profile payment terms.
payableDiscount number Payable discount. If not provided, calculated from the vendor profile payment terms.
payableDiscountDate string Date: yyyy-MM-dd. If not provided, calculated from the vendor profile payment terms.
payableDueDate string Date: yyyy-MM-dd. If not provided, calculated from the vendor profile payment terms.
glAccount string General ledger account. If not provided, retrieved from the vendor profile (based on vendorId and currencyCode).
autoForeignExchange string
isIntercompany string Indicates if the invoice is intercompany. If not provided, retrieved from the vendor profile.
View JSON Schema on GitHub

JSON Schema

trimble-put-ap-invoice-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trimble/json-schema/trimble-put-ap-invoice-schema.json",
  "title": "PutApInvoice",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trimble-truckmate-finance-openapi.yml#/components/schemas/PutApInvoice",
  "type": "object",
  "properties": {
    "vendorId": {
      "type": "string",
      "nullable": false,
      "maxLength": 10
    },
    "vendorBillNumber": {
      "type": "string",
      "nullable": false,
      "maxLength": 20
    },
    "vendorBillAmount": {
      "type": "number"
    },
    "vendorBillDate": {
      "type": "string",
      "description": "Date: yyyy-MM-dd",
      "pattern": "^\\d{4}-(?:(0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|02-(0[1-9]|1\\d|2[0-9]))$",
      "nullable": false
    },
    "vendorBillReference": {
      "type": "string",
      "maxLength": 40
    },
    "currencyCode": {
      "type": "string",
      "description": "The currency code. If not provided, retrieved from the vendor profile. If no currency code is found for the vendor, the request will fail.",
      "maxLength": 3
    },
    "poNumber": {
      "type": "string",
      "maxLength": 25
    },
    "equipmentId": {
      "type": "string",
      "maxLength": 10
    },
    "powerUnitId": {
      "type": "string",
      "maxLength": 10
    },
    "trailerId": {
      "type": "string",
      "maxLength": 10
    },
    "payableType": {
      "type": "string",
      "enum": [
        "bill",
        "credit",
        "debit"
      ]
    },
    "payableHold": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "payableTerms": {
      "type": "string",
      "description": "Payment terms. If not provided, retrieved from the vendor profile.",
      "maxLength": 10
    },
    "payableAgingDate": {
      "type": "string",
      "description": "Date: yyyy-MM-dd. If not provided, calculated from the vendor profile payment terms.",
      "pattern": "^\\d{4}-(?:(0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|02-(0[1-9]|1\\d|2[0-9]))$"
    },
    "payableDiscount": {
      "type": "number",
      "description": "Payable discount. If not provided, calculated from the vendor profile payment terms."
    },
    "payableDiscountDate": {
      "type": "string",
      "description": "Date: yyyy-MM-dd. If not provided, calculated from the vendor profile payment terms.",
      "pattern": "^\\d{4}-(?:(0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|02-(0[1-9]|1\\d|2[0-9]))$"
    },
    "payableDueDate": {
      "type": "string",
      "description": "Date: yyyy-MM-dd. If not provided, calculated from the vendor profile payment terms.",
      "pattern": "^\\d{4}-(?:(0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|02-(0[1-9]|1\\d|2[0-9]))$"
    },
    "glAccount": {
      "type": "string",
      "description": "General ledger account. If not provided, retrieved from the vendor profile (based on vendorId and currencyCode).",
      "maxLength": 50,
      "pattern": "^[A-Za-z0-9]+(-[A-Za-z0-9]+){0,4}$"
    },
    "autoForeignExchange": {
      "type": "string",
      "enum": [
        "False",
        "True"
      ]
    },
    "isIntercompany": {
      "type": "string",
      "description": "Indicates if the invoice is intercompany. If not provided, retrieved from the vendor profile.",
      "enum": [
        "False",
        "True"
      ]
    }
  }
}

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/trimble-put-ap-invoice"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.

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