Server definition
- Hash
- sha256:8db0ce243983d1c44b662d33eed4ebca8bebecf55063747996e95eaaed2f951f
- What it is
- What a remote MCP server returned when asked what it offers: 11 tools
The blob, as servednamed by its sha256
{
"instructions": "tools/list shows the tools registered for this server. The catalog server registers list_apis, search_endpoints, describe_endpoint, call_endpoint, and contact_us; every MCP server registers contact_us for support. Discovery tools return catalog information (APIs, endpoints, schemas, prices). Paid tools and call_endpoint wrap the existing POST APIs. Use an account API key when available, or pay as you go when a call returns payment terms in the tool result. Retry with the payment in params._meta[\"x402/payment\"], or send payment-signature. Pay-as-you-go settlement happens only after a successful result. No account or API key needed for pay-as-you-go calls; sign in for a monthly free quota.",
"tools": [
{
"description": "Flag amount mismatches, negative figures, date-order problems, and repeated lines that are present on the invoice. Docs: https://www.brainiac.software/api/accounts-payable/invoice-anomaly-detect Keywords: before you approve or pay an invoice, invoice, file, checkedAt, paymentInitiated, findings, Detect invoice anomalies, invoice anomaly detect.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"description": "file, object. Optional.",
"properties": {
"fileBase64": {
"description": "fileBase64, string, length 1 to 12000000. Required.",
"maxLength": 12000000,
"minLength": 1,
"type": "string"
},
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mediaType": {
"description": "mediaType, string, one of application/pdf, text/plain, text/csv. Required.",
"enum": [
"application/pdf",
"text/plain",
"text/csv"
],
"type": "string"
}
},
"required": [
"mediaType",
"fileBase64"
],
"type": "object"
},
"invoice": {
"description": "invoice, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"name": "accounts-payable_invoice-anomaly-detect",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"checkedAt": {
"description": "checkedAt. String.",
"type": "string"
},
"findings": {
"description": "findings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"code": {
"description": "code. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"severity": {
"description": "severity. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"limitations": {
"description": "limitations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"paymentInitiated": {
"description": "paymentInitiated. Boolean.",
"type": "boolean"
},
"status": {
"description": "status. String.",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Extract supplier, invoice number, dates, currency, purchase-order number, terms, and amounts from a supplied invoice or a text-based PDF. Docs: https://www.brainiac.software/api/accounts-payable/invoice-data-extract Keywords: before you approve or pay an invoice, invoice, file, checkedAt, paymentInitiated, source, fields, findings, Extract invoice data, invoice data extract.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"description": "file, object. Optional.",
"properties": {
"fileBase64": {
"description": "fileBase64, string, length 1 to 12000000. Required.",
"maxLength": 12000000,
"minLength": 1,
"type": "string"
},
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mediaType": {
"description": "mediaType, string, one of application/pdf, text/plain, text/csv. Required.",
"enum": [
"application/pdf",
"text/plain",
"text/csv"
],
"type": "string"
}
},
"required": [
"mediaType",
"fileBase64"
],
"type": "object"
},
"invoice": {
"description": "invoice, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"name": "accounts-payable_invoice-data-extract",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"checkedAt": {
"description": "checkedAt. String.",
"type": "string"
},
"fields": {
"description": "fields. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"evidence": {
"description": "evidence. String.",
"type": "string"
},
"name": {
"description": "name. String.",
"type": "string"
},
"status": {
"description": "status. String.",
"type": "string"
},
"value": {
"description": "value. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"findings": {
"description": "findings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"code": {
"description": "code. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"severity": {
"description": "severity. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"limitations": {
"description": "limitations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"paymentInitiated": {
"description": "paymentInitiated. Boolean.",
"type": "boolean"
},
"source": {
"description": "source. String.",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Compare one invoice with other invoices supplied in the same request using the supplier and invoice number, and a content fingerprint. Docs: https://www.brainiac.software/api/accounts-payable/invoice-duplicate-detect Keywords: before you approve or pay an invoice, invoice, file, candidates, checkedAt, paymentInitiated, supplierName, invoiceNumber, fingerprint, fingerprintComplete, matches, findings, Detect duplicate invoices, invoice duplicate detect.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"candidates": {
"description": "candidates, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 80. Required.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"id"
],
"type": "object"
},
"type": "array"
},
"file": {
"description": "file, object. Optional.",
"properties": {
"fileBase64": {
"description": "fileBase64, string, length 1 to 12000000. Required.",
"maxLength": 12000000,
"minLength": 1,
"type": "string"
},
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mediaType": {
"description": "mediaType, string, one of application/pdf, text/plain, text/csv. Required.",
"enum": [
"application/pdf",
"text/plain",
"text/csv"
],
"type": "string"
}
},
"required": [
"mediaType",
"fileBase64"
],
"type": "object"
},
"invoice": {
"description": "invoice, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"name": "accounts-payable_invoice-duplicate-detect",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"checkedAt": {
"description": "checkedAt. String.",
"type": "string"
},
"findings": {
"description": "findings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"code": {
"description": "code. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"severity": {
"description": "severity. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"fingerprint": {
"description": "fingerprint. String.",
"type": "string"
},
"fingerprintComplete": {
"description": "fingerprintComplete. Boolean.",
"type": "boolean"
},
"invoiceNumber": {
"description": "invoiceNumber. String.",
"type": "string"
},
"limitations": {
"description": "limitations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"matches": {
"description": "matches. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"candidateId": {
"description": "candidateId. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"relation": {
"description": "relation. String.",
"type": "string"
},
"severity": {
"description": "severity. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"paymentInitiated": {
"description": "paymentInitiated. Boolean.",
"type": "boolean"
},
"status": {
"description": "status. String.",
"type": "string"
},
"supplierName": {
"description": "supplierName. String.",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Extract invoice line descriptions, quantities, unit prices, and amounts from supplied lines or selectable document text. Docs: https://www.brainiac.software/api/accounts-payable/invoice-line-item-extract Keywords: before you approve or pay an invoice, invoice, file, checkedAt, paymentInitiated, lines, findings, Extract invoice line items, invoice line item extract.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"description": "file, object. Optional.",
"properties": {
"fileBase64": {
"description": "fileBase64, string, length 1 to 12000000. Required.",
"maxLength": 12000000,
"minLength": 1,
"type": "string"
},
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mediaType": {
"description": "mediaType, string, one of application/pdf, text/plain, text/csv. Required.",
"enum": [
"application/pdf",
"text/plain",
"text/csv"
],
"type": "string"
}
},
"required": [
"mediaType",
"fileBase64"
],
"type": "object"
},
"invoice": {
"description": "invoice, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"name": "accounts-payable_invoice-line-item-extract",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"checkedAt": {
"description": "checkedAt. String.",
"type": "string"
},
"findings": {
"description": "findings. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"limitations": {
"description": "limitations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"lines": {
"description": "lines. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"description": {
"description": "description. String.",
"type": "string"
},
"quantity": {
"description": "quantity. Number.",
"type": "number"
},
"sku": {
"description": "sku. String.",
"type": "string"
},
"source": {
"description": "source. String.",
"type": "string"
},
"tax": {
"description": "tax. Number.",
"type": "number"
},
"unitPrice": {
"description": "unitPrice. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"paymentInitiated": {
"description": "paymentInitiated. Boolean.",
"type": "boolean"
}
},
"type": "object"
}
},
{
"description": "Check a printed or supplied tax amount against a printed or supplied rate and subtotal. Docs: https://www.brainiac.software/api/accounts-payable/invoice-tax-validate Keywords: before you approve or pay an invoice, invoice, file, checkedAt, paymentInitiated, tax, taxRate, expectedTax, findings, Validate invoice tax, invoice tax validate.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"description": "file, object. Optional.",
"properties": {
"fileBase64": {
"description": "fileBase64, string, length 1 to 12000000. Required.",
"maxLength": 12000000,
"minLength": 1,
"type": "string"
},
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mediaType": {
"description": "mediaType, string, one of application/pdf, text/plain, text/csv. Required.",
"enum": [
"application/pdf",
"text/plain",
"text/csv"
],
"type": "string"
}
},
"required": [
"mediaType",
"fileBase64"
],
"type": "object"
},
"invoice": {
"description": "invoice, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"name": "accounts-payable_invoice-tax-validate",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"checkedAt": {
"description": "checkedAt. String.",
"type": "string"
},
"expectedTax": {
"description": "expectedTax. Number.",
"type": "number"
},
"findings": {
"description": "findings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"code": {
"description": "code. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"severity": {
"description": "severity. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"limitations": {
"description": "limitations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"paymentInitiated": {
"description": "paymentInitiated. Boolean.",
"type": "boolean"
},
"status": {
"description": "status. String.",
"type": "string"
},
"tax": {
"description": "tax. Number.",
"type": "number"
},
"taxRate": {
"description": "taxRate. Number.",
"type": "number"
}
},
"type": "object"
}
},
{
"description": "Recompute the total from line amounts, subtotal, tax, discount, and shipping figures that are actually present. Docs: https://www.brainiac.software/api/accounts-payable/invoice-total-validate Keywords: before you approve or pay an invoice, invoice, file, checkedAt, paymentInitiated, subtotal, discount, tax, shipping, lineTotal, expectedTotal, total, Validate invoice totals, invoice total validate.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"description": "file, object. Optional.",
"properties": {
"fileBase64": {
"description": "fileBase64, string, length 1 to 12000000. Required.",
"maxLength": 12000000,
"minLength": 1,
"type": "string"
},
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mediaType": {
"description": "mediaType, string, one of application/pdf, text/plain, text/csv. Required.",
"enum": [
"application/pdf",
"text/plain",
"text/csv"
],
"type": "string"
}
},
"required": [
"mediaType",
"fileBase64"
],
"type": "object"
},
"invoice": {
"description": "invoice, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"name": "accounts-payable_invoice-total-validate",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"checkedAt": {
"description": "checkedAt. String.",
"type": "string"
},
"discount": {
"description": "discount. Number.",
"type": "number"
},
"expectedTotal": {
"description": "expectedTotal. Number.",
"type": "number"
},
"findings": {
"description": "findings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"code": {
"description": "code. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"severity": {
"description": "severity. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"limitations": {
"description": "limitations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"lineTotal": {
"description": "lineTotal. Number.",
"type": "number"
},
"paymentInitiated": {
"description": "paymentInitiated. Boolean.",
"type": "boolean"
},
"shipping": {
"description": "shipping. Number.",
"type": "number"
},
"status": {
"description": "status. String.",
"type": "string"
},
"subtotal": {
"description": "subtotal. Number.",
"type": "number"
},
"tax": {
"description": "tax. Number.",
"type": "number"
},
"total": {
"description": "total. Number.",
"type": "number"
}
},
"type": "object"
}
},
{
"description": "Return a stated due date, or calculate one from an invoice date plus terms that were actually stated. Docs: https://www.brainiac.software/api/accounts-payable/payment-due-date-calculate Keywords: before you approve or pay an invoice, invoice, file, checkedAt, paymentInitiated, approvesPayment, invoiceDate, paymentTerms, dueDate, basis, findings, Calculate a payment due date, payment due date calculate.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"description": "file, object. Optional.",
"properties": {
"fileBase64": {
"description": "fileBase64, string, length 1 to 12000000. Required.",
"maxLength": 12000000,
"minLength": 1,
"type": "string"
},
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mediaType": {
"description": "mediaType, string, one of application/pdf, text/plain, text/csv. Required.",
"enum": [
"application/pdf",
"text/plain",
"text/csv"
],
"type": "string"
}
},
"required": [
"mediaType",
"fileBase64"
],
"type": "object"
},
"invoice": {
"description": "invoice, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"name": "accounts-payable_payment-due-date-calculate",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"approvesPayment": {
"description": "approvesPayment. Boolean.",
"type": "boolean"
},
"basis": {
"description": "basis. String.",
"type": "string"
},
"checkedAt": {
"description": "checkedAt. String.",
"type": "string"
},
"dueDate": {
"description": "dueDate. String.",
"type": "string"
},
"findings": {
"description": "findings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"code": {
"description": "code. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"severity": {
"description": "severity. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"invoiceDate": {
"description": "invoiceDate. String.",
"type": "string"
},
"limitations": {
"description": "limitations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"paymentInitiated": {
"description": "paymentInitiated. Boolean.",
"type": "boolean"
},
"paymentTerms": {
"description": "paymentTerms. String.",
"type": "string"
},
"status": {
"description": "status. String.",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Read payment terms only when they are supplied or printed, including Net N, due on receipt, and a stated discount such as 2/10 Net 30. Docs: https://www.brainiac.software/api/accounts-payable/payment-terms-extract Keywords: before you approve or pay an invoice, invoice, file, checkedAt, paymentInitiated, paymentTerms, netDays, discountPercent, discountDays, basis, evidence, findings, Extract payment terms, payment terms extract.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"description": "file, object. Optional.",
"properties": {
"fileBase64": {
"description": "fileBase64, string, length 1 to 12000000. Required.",
"maxLength": 12000000,
"minLength": 1,
"type": "string"
},
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mediaType": {
"description": "mediaType, string, one of application/pdf, text/plain, text/csv. Required.",
"enum": [
"application/pdf",
"text/plain",
"text/csv"
],
"type": "string"
}
},
"required": [
"mediaType",
"fileBase64"
],
"type": "object"
},
"invoice": {
"description": "invoice, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"type": "object"
}
},
"type": "object"
},
"name": "accounts-payable_payment-terms-extract",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"basis": {
"description": "basis. String.",
"type": "string"
},
"checkedAt": {
"description": "checkedAt. String.",
"type": "string"
},
"discountDays": {
"description": "discountDays. Number.",
"type": "number"
},
"discountPercent": {
"description": "discountPercent. Number.",
"type": "number"
},
"evidence": {
"description": "evidence. String.",
"type": "string"
},
"findings": {
"description": "findings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"code": {
"description": "code. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"severity": {
"description": "severity. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"limitations": {
"description": "limitations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"netDays": {
"description": "netDays. Number.",
"type": "number"
},
"paymentInitiated": {
"description": "paymentInitiated. Boolean.",
"type": "boolean"
},
"paymentTerms": {
"description": "paymentTerms. String.",
"type": "string"
},
"status": {
"description": "status. String.",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Match the invoice to a purchase order supplied in the request. Docs: https://www.brainiac.software/api/accounts-payable/purchase-order-match Keywords: before you approve or pay an invoice, invoice, file, purchaseOrder, checkedAt, paymentInitiated, poNumber, lines, findings, Match an invoice to a purchase order, purchase order match.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"file": {
"description": "file, object. Optional.",
"properties": {
"fileBase64": {
"description": "fileBase64, string, length 1 to 12000000. Required.",
"maxLength": 12000000,
"minLength": 1,
"type": "string"
},
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mediaType": {
"description": "mediaType, string, one of application/pdf, text/plain, text/csv. Required.",
"enum": [
"application/pdf",
"text/plain",
"text/csv"
],
"type": "string"
}
},
"required": [
"mediaType",
"fileBase64"
],
"type": "object"
},
"invoice": {
"description": "invoice, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"type": "object"
},
"purchaseOrder": {
"description": "purchaseOrder, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Required.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"poNumber"
],
"type": "object"
}
},
"type": "object"
},
"name": "accounts-payable_purchase-order-match",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"checkedAt": {
"description": "checkedAt. String.",
"type": "string"
},
"findings": {
"description": "findings. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"code": {
"description": "code. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"severity": {
"description": "severity. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"limitations": {
"description": "limitations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"lines": {
"description": "lines. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"description": {
"description": "description. String.",
"type": "string"
},
"detail": {
"description": "detail. String.",
"type": "string"
},
"sku": {
"description": "sku. String.",
"type": "string"
},
"source": {
"description": "source. String.",
"type": "string"
},
"status": {
"description": "status. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"paymentInitiated": {
"description": "paymentInitiated. Boolean.",
"type": "boolean"
},
"poNumber": {
"description": "poNumber. String.",
"type": "string"
},
"status": {
"description": "status. String.",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Combine the invoice checks into one review. Docs: https://www.brainiac.software/api/accounts-payable/review Keywords: before you approve or pay an invoice, invoice, file, purchaseOrder, candidates, checkedAt, paymentInitiated, approvesPayment, assessment, summary, lines, sections, counts, findings, Review an invoice for payment.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"candidates": {
"description": "candidates, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"id": {
"description": "id, string, length 1 to 80. Required.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"id"
],
"type": "object"
},
"type": "array"
},
"file": {
"description": "file, object. Optional.",
"properties": {
"fileBase64": {
"description": "fileBase64, string, length 1 to 12000000. Required.",
"maxLength": 12000000,
"minLength": 1,
"type": "string"
},
"filename": {
"description": "filename, string, length 1 to 180. Optional.",
"maxLength": 180,
"minLength": 1,
"type": "string"
},
"mediaType": {
"description": "mediaType, string, one of application/pdf, text/plain, text/csv. Required.",
"enum": [
"application/pdf",
"text/plain",
"text/csv"
],
"type": "string"
}
},
"required": [
"mediaType",
"fileBase64"
],
"type": "object"
},
"invoice": {
"description": "invoice, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"discount": {
"description": "discount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"dueDate": {
"description": "dueDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate, string, date. Optional.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\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-8])))$",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"paymentTerms": {
"description": "paymentTerms, string, length 1 to 120. Optional.",
"maxLength": 120,
"minLength": 1,
"type": "string"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"shipping": {
"description": "shipping, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"subtotal": {
"description": "subtotal, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"taxRate": {
"description": "taxRate, number, from 0 to 100. Optional.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"type": "object"
},
"purchaseOrder": {
"description": "purchaseOrder, object. Optional.",
"properties": {
"currency": {
"description": "currency, string. Optional.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"lines": {
"description": "lines, array. Optional.",
"items": {
"description": "item, object. Required.",
"properties": {
"amount": {
"description": "amount, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"description": {
"description": "description, string, length 1 to 300. Required.",
"maxLength": 300,
"minLength": 1,
"type": "string"
},
"quantity": {
"description": "quantity, number, from -1000000000 to 1000000000. Optional.",
"maximum": 1000000000,
"minimum": -1000000000,
"type": "number"
},
"sku": {
"description": "sku, string, length 1 to 80. Optional.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"tax": {
"description": "tax, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
},
"unitPrice": {
"description": "unitPrice, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"description"
],
"type": "object"
},
"type": "array"
},
"poNumber": {
"description": "poNumber, string, length 1 to 80. Required.",
"maxLength": 80,
"minLength": 1,
"type": "string"
},
"supplierName": {
"description": "supplierName, string, length 1 to 200. Optional.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"total": {
"description": "total, number, from -1000000000000 to 1000000000000. Optional.",
"maximum": 1000000000000,
"minimum": -1000000000000,
"type": "number"
}
},
"required": [
"poNumber"
],
"type": "object"
}
},
"type": "object"
},
"name": "accounts-payable_review",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": {},
"properties": {
"approvesPayment": {
"description": "approvesPayment. Boolean.",
"type": "boolean"
},
"assessment": {
"description": "assessment. String.",
"type": "string"
},
"checkedAt": {
"description": "checkedAt. String.",
"type": "string"
},
"counts": {
"additionalProperties": {},
"description": "counts. Object.",
"properties": {
"error": {
"description": "error. Number.",
"type": "number"
},
"unavailable": {
"description": "unavailable. Number.",
"type": "number"
},
"warning": {
"description": "warning. Number.",
"type": "number"
}
},
"type": "object"
},
"findings": {
"description": "findings. Array.",
"items": {
"description": "Item. String.",
"type": "string"
},
"type": "array"
},
"invoice": {
"additionalProperties": {},
"description": "invoice. Object.",
"properties": {
"currency": {
"description": "currency. String.",
"type": "string"
},
"discount": {
"description": "discount. Number.",
"type": "number"
},
"dueDate": {
"description": "dueDate. String.",
"type": "string"
},
"invoiceDate": {
"description": "invoiceDate. String.",
"type": "string"
},
"invoiceNumber": {
"description": "invoiceNumber. String.",
"type": "string"
},
"paymentTerms": {
"description": "paymentTerms. String.",
"type": "string"
},
"poNumber": {
"description": "poNumber. String.",
"type": "string"
},
"shipping": {
"description": "shipping. Number.",
"type": "number"
},
"subtotal": {
"description": "subtotal. Number.",
"type": "number"
},
"supplierName": {
"description": "supplierName. String.",
"type": "string"
},
"tax": {
"description": "tax. Number.",
"type": "number"
},
"taxRate": {
"description": "taxRate. Number.",
"type": "number"
},
"total": {
"description": "total. Number.",
"type": "number"
}
},
"type": "object"
},
"limitations": {
"description": "limitations. Array.",
"items": {
"description": "item. String.",
"type": "string"
},
"type": "array"
},
"lines": {
"description": "lines. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"amount": {
"description": "amount. Number.",
"type": "number"
},
"description": {
"description": "description. String.",
"type": "string"
},
"quantity": {
"description": "quantity. Number.",
"type": "number"
},
"sku": {
"description": "sku. String.",
"type": "string"
},
"source": {
"description": "source. String.",
"type": "string"
},
"tax": {
"description": "tax. Number.",
"type": "number"
},
"unitPrice": {
"description": "unitPrice. Number.",
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"paymentInitiated": {
"description": "paymentInitiated. Boolean.",
"type": "boolean"
},
"sections": {
"description": "sections. Array.",
"items": {
"additionalProperties": {},
"description": "item. Object.",
"properties": {
"name": {
"description": "name. String.",
"type": "string"
},
"status": {
"description": "status. String.",
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"summary": {
"description": "summary. String.",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "How to contact BRAINIAC.software support: email, page URL, what to include in a message, and what not to send. Free. Does not send email.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "contact_us",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"doNotSend": {
"description": "What not to email.",
"items": {
"type": "string"
},
"type": "array"
},
"email": {
"description": "Support email address.",
"type": "string"
},
"include": {
"description": "What to include when writing support.",
"items": {
"type": "string"
},
"type": "array"
},
"page": {
"description": "Contact Us page URL.",
"type": "string"
},
"topics": {
"description": "Common support topics.",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"email",
"page",
"include",
"doNotSend",
"topics"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:8db0ce243983d1c44b662d33eed4ebca8bebecf55063747996e95eaaed2f951f | sha256sum