{"name":"io.github.BigRedCloud/red-mcp-server","slug":"bigredcloud-red-mcp-server","title":"Red by Big Red Cloud","description":"Secure MCP access to Big Red Cloud accounting data, workflows, help and training.","url":"https://mcp.market/server/bigredcloud-red-mcp-server","rating":null,"grade":"B","score":79,"certified":false,"status":"active","category":"finance","tags":["finance"],"presence":{"score":20,"stars":0,"forks":0,"downloads_week":null,"last_push_at":"2026-08-27T13:29:58.000Z","license":"Apache-2.0"},"uptime":{"percent":100,"checks":28,"ok":28,"last_checked_at":"2026-11-04T05:10:38.766Z","last_ok_at":"2026-11-04T05:10:38.766Z","latency_ms":343},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":"https://github.com/BigRedCloud/red-mcp-server","website":null,"version":"1.4.0","remotes":[{"type":"streamable-http","url":"https://red.bigredcloud.com/mcp"}],"packages":[],"tools":[{"name":"brc_batch_cash_payments","description":"Processes cash payments in supplier-ledger, bank-lodgement or analysed-expense mode. Results are reported per submitted item and partial success is possible. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"type":"number","const":1,"description":"BRC batch create operation code. Must be 1."},"item":{"oneOf":[{"type":"object","properties":{"total":{"type":"number","exclusiveMinimum":0,"description":"Positive Cash Payment total."},"note":{"type":"string","minLength":1,"description":"Cash Payment note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"number","const":2,"description":"Cash Payment book transaction type id. Must be 2."},"discount":{"type":"number"},"supplierId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC supplier id."},"acCode":{"type":"string","minLength":1,"description":"Supplier account code."},"ledger":{"type":"number","exclusiveMinimum":0,"description":"Supplier-ledger amount; must equal total."}},"required":["total","note","entryDate","procDate","bookTranTypeId","supplierId","acCode","ledger"],"additionalProperties":false},{"type":"object","properties":{"total":{"type":"number","exclusiveMinimum":0,"description":"Positive Cash Payment total."},"note":{"type":"string","minLength":1,"description":"Cash Payment note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"number","const":2,"description":"Cash Payment book transaction type id. Must be 2."},"discount":{"type":"number"},"bankAccountId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC bank account id receiving the lodgement."},"bankAccountCode":{"type":"string","minLength":1,"description":"BRC bank account code receiving the lodgement."},"lodgement":{"type":"number","exclusiveMinimum":0,"description":"Bank lodgement amount; must equal total."}},"required":["total","note","entryDate","procDate","bookTranTypeId","bankAccountId","bankAccountCode","lodgement"],"additionalProperties":false},{"type":"object","properties":{"total":{"type":"number","exclusiveMinimum":0,"description":"Positive Cash Payment total."},"note":{"type":"string","minLength":1,"description":"Cash Payment note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"number","const":2,"description":"Cash Payment book transaction type id. Must be 2."},"discount":{"type":"number"},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Cash Payments analysis category id."},"accountCode":{"type":"string","minLength":1,"description":"Cash Payments analysis account code."},"description":{"type":"string","minLength":1,"description":"Analysis-line description."}},"required":["total","note","entryDate","procDate","bookTranTypeId","analysisCategoryId","accountCode","description"],"additionalProperties":false}]}},"required":["opCode","item"],"additionalProperties":false},"description":"Batch items to process. Maximum 20 items per request."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_cash_receipts","description":"Processes a batch of BRC cash receipts. Maximum 20 items per batch request. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"type":"number","const":1,"description":"BRC batch create operation code. Must be 1."},"item":{"oneOf":[{"type":"object","properties":{"total":{"type":"number","exclusiveMinimum":0,"description":"Positive Cash Receipt total."},"note":{"type":"string","minLength":1,"description":"Cash Receipt note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"number","const":1,"description":"Cash Receipt book transaction type id. Must be 1."},"reference":{"type":"string"},"discount":{"type":"number"},"acEntries":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":0,"maximum":9007199254740991},"accountCode":{"type":"string","minLength":1,"description":"Cash Receipts analysis account code."},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Cash Receipts analysis category id."},"description":{"type":"string","minLength":1,"description":"Analysis-line description."},"value":{"type":"number","exclusiveMinimum":0,"description":"Positive portion of the receipt total assigned to this analysis entry."}},"required":["accountCode","analysisCategoryId","description","value"],"additionalProperties":false}},"vatEntries":{"description":"Optional manual VAT split. Removed before transmission when Enable VAT on Cash Receipts is disabled.","minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":0,"maximum":9007199254740991},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT rate id."},"percentage":{"type":"number","description":"VAT percentage."},"amount":{"type":"number","exclusiveMinimum":0,"description":"Positive portion of the receipt total assigned to this VAT rate; this is not the VAT amount."}},"required":["vatRateId","percentage","amount"],"additionalProperties":false}}},"required":["total","note","entryDate","procDate","bookTranTypeId","acEntries"],"additionalProperties":false},{"oneOf":[{"type":"object","properties":{"total":{"type":"number","exclusiveMinimum":0,"description":"Positive Cash Receipt total."},"note":{"type":"string","minLength":1,"description":"Cash Receipt note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"number","const":1,"description":"Cash Receipt book transaction type id. Must be 1."},"reference":{"type":"string"},"discount":{"type":"number"},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Cash Receipts analysis category id."},"accountCode":{"type":"string","minLength":1,"description":"Cash Receipts analysis account code."},"description":{"type":"string","minLength":1,"description":"Analysis-line description."}},"required":["total","note","entryDate","procDate","bookTranTypeId","analysisCategoryId","accountCode","description"],"additionalProperties":false},{"type":"object","properties":{"total":{"type":"number","exclusiveMinimum":0,"description":"Positive Cash Receipt total."},"note":{"type":"string","minLength":1,"description":"Cash Receipt note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"number","const":1,"description":"Cash Receipt book transaction type id. Must be 1."},"reference":{"type":"string"},"discount":{"type":"number"},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Cash Receipts analysis category id."},"accountCode":{"type":"string","minLength":1,"description":"Cash Receipts analysis account code."},"description":{"type":"string","minLength":1,"description":"Analysis-line description."},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT rate id."},"vatPercentage":{"type":"number","description":"VAT percentage. Must be supplied with vatRateId."}},"required":["total","note","entryDate","procDate","bookTranTypeId","analysisCategoryId","accountCode","description","vatRateId","vatPercentage"],"additionalProperties":false}]},{"type":"object","properties":{"total":{"type":"number","exclusiveMinimum":0,"description":"Positive Cash Receipt total."},"note":{"type":"string","minLength":1,"description":"Cash Receipt note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"number","const":1,"description":"Cash Receipt book transaction type id. Must be 1."},"reference":{"type":"string"},"discount":{"type":"number"},"customerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC customer id."},"acCode":{"type":"string","minLength":1,"description":"Customer account code."},"ledger":{"type":"number","exclusiveMinimum":0,"description":"Customer-ledger amount; must equal total."}},"required":["total","note","entryDate","procDate","bookTranTypeId","customerId","acCode","ledger"],"additionalProperties":false}]}},"required":["opCode","item"],"additionalProperties":false},"description":"Batch items to process. Maximum 20 items per request."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_customers","description":"Processes a batch of customers using explicit identity, VAT classification, and optional contact fields. Maximum 20 items per batch request. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"type":"number","const":1,"description":"BRC batch create operation code. Must be 1."},"item":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":8,"description":"BRC account code, maximum eight characters."},"name":{"type":"string","minLength":1,"description":"Customer or supplier name."},"vatType":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT type integer. Resolve the intended value from the connected company's VAT reference data."},"vatAnalysisTypeId":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"BRC VAT analysis type id."},"contact":{"description":"Optional contact name. Blank values are accepted and omitted by the existing builder.","type":"string"},"email":{"description":"Optional email address. Blank values are accepted and omitted by the existing builder.","type":"string"},"phone":{"description":"Optional phone number. Blank values are accepted and omitted by the existing builder.","type":"string"},"mobile":{"description":"Optional mobile number. Blank values are accepted and omitted by the existing builder.","type":"string"},"fax":{"description":"Optional fax number. Blank values are accepted and omitted by the existing builder.","type":"string"},"vatReg":{"description":"Optional VAT registration number. Blank values are accepted and omitted by the existing builder.","type":"string"},"address":{"description":"Optional address lines.","type":"array","items":{"type":"string"}},"additionalEmails":{"description":"Optional additional email addresses.","type":"array","items":{"type":"string"}},"businessIdentifierCode":{"description":"Optional BIC. Blank values are accepted and omitted by the existing builder.","type":"string"},"internationalBankAccountNumber":{"description":"Optional IBAN. Blank values are accepted and omitted by the existing builder.","type":"string"},"creditTerms":{"description":"Optional credit terms in days.","type":"integer","minimum":0,"maximum":9007199254740991},"vatRegistered":{"description":"Whether the owner is VAT registered.","type":"boolean"}},"required":["code","name","vatType","vatAnalysisTypeId"],"additionalProperties":false}},"required":["opCode","item"],"additionalProperties":false},"description":"Batch items to process. Maximum 20 items per request."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_payments","description":"Processes supplier or analysed bank payments in a batch. Results are reported per submitted item and partial success is possible. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"type":"number","const":1,"description":"BRC batch create operation code. Must be 1."},"item":{"oneOf":[{"type":"object","properties":{"total":{"type":"number","exclusiveMinimum":0,"description":"Positive Payment total."},"note":{"type":"string","minLength":1,"description":"Payment note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"number","const":3,"description":"Payments book transaction type id. Must be 3."},"bankAccountId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC bank account id."},"bankAccountCode":{"type":"string","minLength":1,"description":"BRC bank account code."},"reference":{"type":"string"},"discount":{"type":"number"},"supplierId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC supplier id."},"acCode":{"type":"string","minLength":1,"description":"Supplier account code."}},"required":["total","note","entryDate","procDate","bookTranTypeId","bankAccountId","bankAccountCode","supplierId","acCode"],"additionalProperties":false},{"type":"object","properties":{"total":{"type":"number","exclusiveMinimum":0,"description":"Positive Payment total."},"note":{"type":"string","minLength":1,"description":"Payment note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"number","const":3,"description":"Payments book transaction type id. Must be 3."},"bankAccountId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC bank account id."},"bankAccountCode":{"type":"string","minLength":1,"description":"BRC bank account code."},"reference":{"type":"string"},"discount":{"type":"number"},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Payments-book analysis category id for the non-supplier payment."},"accountCode":{"type":"string","minLength":1,"description":"Payments-book analysis account code for the non-supplier payment."},"description":{"type":"string","minLength":1,"description":"Description for the payment analysis line."}},"required":["total","note","entryDate","procDate","bookTranTypeId","bankAccountId","bankAccountCode","analysisCategoryId","accountCode","description"],"additionalProperties":false}]}},"required":["opCode","item"],"additionalProperties":false},"description":"Batch items to process. Maximum 20 items per request."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_products","description":"Processes a batch of products using explicit product type, VAT classification, price, and description fields. Maximum 20 items per batch request. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"type":"number","const":1,"description":"BRC batch create operation code. Must be 1."},"item":{"type":"object","properties":{"stockCode":{"type":"string","minLength":1,"description":"BRC product code. BRC may enforce additional server-side code limits."},"details":{"minItems":1,"type":"array","items":{"type":"string","minLength":1},"description":"One or more non-empty product description lines."},"productTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC product type id. Select the intended product type explicitly."},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT rate id. Select the intended VAT rate explicitly."},"vatAnalysisTypeId":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"BRC product VAT analysis type id."},"unitPrice":{"type":"number","minimum":0,"description":"Product unit price. Zero is valid for products whose price is supplied at transaction time."},"grossUnitPrice":{"type":"boolean","description":"Whether unitPrice is VAT-inclusive."},"hasDefaultVatRate":{"type":"boolean","description":"Whether the product uses its selected default VAT rate."}},"required":["stockCode","details","productTypeId","vatRateId","vatAnalysisTypeId","unitPrice","grossUnitPrice","hasDefaultVatRate"],"additionalProperties":false}},"required":["opCode","item"],"additionalProperties":false},"description":"Batch items to process. Maximum 20 items per request."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_purchases","description":"Processes purchases in a batch using structured generated-reference purchase items. Results are reported per submitted item and partial success is possible. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"default":1,"description":"BRC batch operation code. Use 1 to create a purchase.","type":"number","const":1},"item":{"type":"object","properties":{"supplierId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC supplier id."},"acCode":{"type":"string","description":"Supplier account code."},"bookTranTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Purchase book transaction type id; use 4."},"entryDate":{"type":"string","description":"Purchase entry date in ISO format."},"procDate":{"type":"string","description":"Purchase processing date in ISO format."},"description":{"type":"string","description":"Purchase analysis-line description."},"note":{"type":"string","description":"Purchase note."},"accountCode":{"type":"string","description":"Nominal account code for the analysis entry."},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Purchases analysis category id."},"netAmount":{"type":"number","exclusiveMinimum":0,"description":"Net amount before VAT."},"vatPercentage":{"type":"number","description":"VAT percentage."},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT rate id."},"totalNet":{"description":"Optional caller-calculated net total; RED recalculates it from netAmount.","type":"number"},"totalVAT":{"description":"Optional caller-calculated VAT total; RED recalculates it from netAmount and vatPercentage.","type":"number"},"total":{"description":"Optional caller-calculated gross total; RED recalculates it.","type":"number"},"unpaid":{"description":"Optional caller-calculated unpaid amount; RED recalculates it.","type":"number"},"vatTypeId":{"description":"Optional purchase VAT type; the current builder emits Domestic VAT type 1.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["supplierId","acCode","bookTranTypeId","entryDate","procDate","description","note","accountCode","analysisCategoryId","netAmount","vatPercentage","vatRateId"],"description":"Structured purchase input matching brc_create_purchase_gen_ref and the batch purchase builder."}},"required":["item"]},"description":"Batch items to process. Maximum 20 items per request."},"confirmCrAnalysisCategory":{"description":"Applies to every sales document item in this batch. Set true only after the user confirms a CR (customer) sales analysis account code is intentional for these product lines.","type":"boolean"},"priceBasis":{"description":"Applies to every sales invoice/credit note item in this batch. Required when Gross Price Entry is enabled. Use `gross` when unit prices are VAT-inclusive/gross. Use `net` when unit prices are VAT-exclusive/net.","type":"string","enum":["net","gross"]},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_quotes","description":"Processes a batch of quotes using either verified flat creator fields or a complete nested BRC Quote payload. Maximum 20 items per batch request. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"type":"number","const":1,"description":"BRC batch create operation code. Must be 1."},"item":{"oneOf":[{"type":"object","properties":{"companyId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC company id."},"customerOwnerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC customer owner id."},"acCode":{"type":"string","minLength":1,"description":"Customer account code."},"customerOwnerName":{"type":"string","minLength":1,"description":"Customer name."},"comments":{"type":"string","minLength":1,"description":"Quote comments."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"vatTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT type id."},"saleRepId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC sales representative id."},"saleRepCode":{"type":"string","minLength":1,"description":"BRC sales representative code."},"reference":{"description":"Optional manual quote reference, maximum six characters.","type":"string","maxLength":6},"poNumber":{"type":"string"},"ddNumber":{"type":"string"},"deliveryTo":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"layoutType":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Quote layout type id."},"productId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC product id; placeholder ids 0 and 1 are prohibited."},"productCode":{"type":"string","minLength":1,"description":"BRC product code."},"quantity":{"type":"number","exclusiveMinimum":0},"unitPrice":{"type":"number","exclusiveMinimum":0},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT rate id."},"vatPercentage":{"type":"number"},"tranNote":{"type":"string","minLength":1,"description":"Quote product-line note."},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales analysis category id."},"accountCode":{"type":"string","minLength":1,"description":"Sales analysis account code."}},"required":["companyId","customerOwnerId","acCode","customerOwnerName","comments","entryDate","procDate","saleRepId","saleRepCode","productId","productCode","quantity","unitPrice","vatRateId","vatPercentage","tranNote","analysisCategoryId","accountCode"],"additionalProperties":false},{"type":"object","properties":{"companyId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC company id."},"customerOwnerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC customer owner id."},"vatTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT type id."},"saleRepId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC sales representative id."},"saleRepCode":{"type":"string","minLength":1,"description":"BRC sales representative code."},"saleInvoiceId":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"closedDate":{"anyOf":[{"type":"string"},{"type":"null"}]},"reference":{"description":"Optional manual quote reference, maximum six characters.","type":"string","maxLength":6},"poNumber":{"type":"string"},"ddNumber":{"type":"string"},"customerOwnerName":{"type":"string","minLength":1,"description":"Customer name."},"deliveryList":{"type":"string"},"deliveryTo":{"type":"array","items":{"type":"string"}},"comments":{"type":"string","minLength":1,"description":"Quote comments."},"layoutType":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Quote layout type id."},"total":{"type":"number","exclusiveMinimum":0},"totalVat":{"type":"number","minimum":0},"totalNet":{"type":"number","exclusiveMinimum":0},"note":{"type":"string"},"acCode":{"type":"string","minLength":1,"description":"Customer account code."},"productTrans":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":0,"maximum":9007199254740991},"companyId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC company id."},"percentage":{"type":"number"},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT rate id."},"productId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC product id; placeholder ids 0 and 1 are prohibited."},"productCode":{"type":"string","minLength":1,"description":"BRC product code."},"quantity":{"type":"number","exclusiveMinimum":0},"unitPrice":{"type":"number","exclusiveMinimum":0},"amount":{"type":"number","exclusiveMinimum":0},"vatAmount":{"type":"number","minimum":0},"tranNotes":{"minItems":1,"type":"array","items":{"type":"string"}},"acEntries":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":0,"maximum":9007199254740991},"companyId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC company id."},"accountCode":{"type":"string","minLength":1,"description":"Sales analysis account code."},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales analysis category id."},"quoteProductTranId":{"type":"integer","minimum":0,"maximum":9007199254740991},"value":{"type":"number","exclusiveMinimum":0}},"required":["companyId","accountCode","analysisCategoryId","value"],"additionalProperties":false}},"vatAnalysisTypeId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["companyId","percentage","vatRateId","productId","productCode","quantity","unitPrice","amount","vatAmount","tranNotes","acEntries","vatAnalysisTypeId"],"additionalProperties":false}},"customFields":{"type":"array","items":{}}},"required":["companyId","customerOwnerId","vatTypeId","saleRepId","saleRepCode","entryDate","procDate","customerOwnerName","comments","layoutType","total","totalVat","totalNet","note","acCode","productTrans","customFields"],"additionalProperties":false}]}},"required":["opCode","item"],"additionalProperties":false},"description":"Batch items to process. Maximum 20 items per request."},"confirmCrAnalysisCategory":{"description":"Applies to every sales document item in this batch. Set true only after the user confirms a CR (customer) sales analysis account code is intentional for these product lines.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_sales_credit_notes","description":"Processes sales credit notes in a batch using reconciled product, VAT and Sales-analysis lines. Results are reported per submitted item and partial success is possible. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"type":"number","const":1,"description":"BRC batch create operation code. Must be 1."},"item":{"oneOf":[{"type":"object","properties":{"customerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC customer id."},"acCode":{"type":"string","minLength":1,"description":"Customer account code."},"note":{"type":"string","minLength":1,"description":"Sales credit note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales Credit Note book transaction type id; use 7."},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales analysis category id."},"accountCode":{"type":"string","minLength":1,"description":"Sales analysis account code."},"description":{"type":"string","minLength":1,"description":"Product-line analysis description."},"netAmount":{"type":"number","exclusiveMinimum":0},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT rate id."},"vatPercentage":{"type":"number"},"productId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC product id; placeholder ids 0 and 1 are prohibited."},"productCode":{"type":"string","minLength":1,"description":"BRC product code."},"quantity":{"type":"number","exclusiveMinimum":0},"unitPrice":{"type":"number","exclusiveMinimum":0},"saleRepId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC sales representative id."},"saleRepCode":{"type":"string","minLength":1,"description":"BRC sales representative code."},"reference":{"type":"string"}},"required":["customerId","acCode","note","entryDate","procDate","bookTranTypeId","analysisCategoryId","accountCode","description","netAmount","vatRateId","vatPercentage","productId","productCode","quantity","unitPrice","saleRepId","saleRepCode"],"additionalProperties":false},{"type":"object","properties":{"productTrans":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","exclusiveMaximum":0},"amountNet":{"type":"number","exclusiveMaximum":0},"percentage":{"type":"number"},"productId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC product id; placeholder ids 0 and 1 are prohibited."},"productCode":{"type":"string","minLength":1,"description":"BRC product code."},"quantity":{"type":"number","exclusiveMaximum":0},"unitPrice":{"type":"number","exclusiveMinimum":0},"vat":{"type":"number","exclusiveMaximum":0},"vatAmount":{"type":"number","exclusiveMaximum":0},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT rate id."},"vatAnalysisTypeId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"useTaxInclusiveUnitPrice":{"type":"boolean"},"tranNotes":{"minItems":1,"type":"array","items":{"type":"string"}},"acEntries":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":0,"maximum":9007199254740991},"accountCode":{"type":"string","minLength":1,"description":"Sales analysis account code."},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales analysis category id."},"description":{"type":"string"},"value":{"type":"number","exclusiveMaximum":0}},"required":["accountCode","analysisCategoryId","value"],"additionalProperties":false}}},"required":["amount","amountNet","percentage","productId","productCode","quantity","unitPrice","vat","vatRateId","vatAnalysisTypeId","tranNotes","acEntries"],"additionalProperties":false}},"quoteId":{"type":"integer","minimum":0,"maximum":9007199254740991},"saleRepId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC sales representative id."},"saleRepCode":{"type":"string","minLength":1,"description":"BRC sales representative code."},"useTaxInclusiveUnitPrice":{"type":"boolean"},"customerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC customer id."},"details":{"anyOf":[{},{"type":"null"}]},"unpaid":{"type":"number","exclusiveMaximum":0},"netGoods":{"type":"number"},"netServices":{"type":"number"},"vatTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT type id."},"totalNet":{"type":"number","exclusiveMaximum":0},"totalVAT":{"type":"number","exclusiveMaximum":0},"id":{"type":"integer","minimum":0,"maximum":9007199254740991},"bookTranTypeId":{"type":"number","const":7},"acCode":{"type":"string","minLength":1,"description":"Customer account code."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"total":{"type":"number","exclusiveMaximum":0},"customFields":{"type":"array","items":{}},"note":{"type":"string"},"deliveryTo":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"reference":{"type":"string"},"ourReference":{"type":"string"},"yourReference":{"type":"string"},"loType":{"type":"string"}},"required":["productTrans","saleRepId","saleRepCode","customerId","unpaid","vatTypeId","totalNet","totalVAT","bookTranTypeId","acCode","entryDate","procDate","total","customFields"],"additionalProperties":false}]}},"required":["opCode","item"],"additionalProperties":false},"description":"Batch items to process. Maximum 20 items per request."},"confirmCrAnalysisCategory":{"description":"Applies to every sales document item in this batch. Set true only after the user confirms a CR (customer) sales analysis account code is intentional for these product lines.","type":"boolean"},"priceBasis":{"description":"Applies to every sales invoice/credit note item in this batch. Required when Gross Price Entry is enabled. Use `gross` when unit prices are VAT-inclusive/gross. Use `net` when unit prices are VAT-exclusive/net.","type":"string","enum":["net","gross"]},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_sales_entries","description":"Processes a batch of sales entries using verified structured creator fields. Maximum 20 items per batch request. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"type":"number","const":1,"description":"BRC batch create operation code. Must be 1."},"item":{"type":"object","properties":{"customerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC customer id."},"acCode":{"type":"string","minLength":1,"description":"Customer account code."},"note":{"type":"string","minLength":1,"description":"Sales Entry note."},"entryDate":{"type":"string","minLength":1,"description":"Entry date in ISO format."},"procDate":{"type":"string","minLength":1,"description":"Processing date in ISO format."},"bookTranTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales Entry book transaction type id; use 5."},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales analysis category id."},"accountCode":{"type":"string","minLength":1,"description":"Sales analysis account code."},"description":{"type":"string","minLength":1,"description":"Analysis-line description."},"netAmount":{"type":"number","exclusiveMinimum":0,"description":"Positive net amount before VAT."},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT rate id."},"vatPercentage":{"type":"number","description":"VAT percentage."}},"required":["customerId","acCode","note","entryDate","procDate","bookTranTypeId","analysisCategoryId","accountCode","description","netAmount","vatRateId","vatPercentage"],"additionalProperties":false}},"required":["opCode","item"],"additionalProperties":false},"description":"Batch items to process. Maximum 20 items per request."},"confirmCrAnalysisCategory":{"description":"Applies to every sales document item in this batch. Set true only after the user confirms a CR (customer) sales analysis account code is intentional for these product lines.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_sales_invoices","description":"Processes sales invoices in a batch using reconciled product, VAT and Sales-analysis lines. Results are reported per submitted item and partial success is possible. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"default":1,"description":"BRC batch operation code. Use 1 to create a sales invoice.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"item":{"type":"object","properties":{"customerId":{"type":"number"},"acCode":{"type":"string","minLength":1},"entryDate":{"type":"string","minLength":1},"procDate":{"type":"string","minLength":1},"saleRepId":{"type":"number"},"saleRepCode":{"type":"string","minLength":1},"bookTranTypeId":{"type":"number"},"totalNet":{"type":"number"},"totalVAT":{"type":"number"},"total":{"type":"number"},"unpaid":{"type":"number"},"note":{"type":"string"},"deliveryTo":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"vatTypeId":{"type":"number"},"useTaxInclusiveUnitPrice":{"type":"boolean"},"customFields":{"type":"array","items":{}},"id":{"type":"number"},"quoteId":{"type":"number"},"netGoods":{"type":"number"},"netServices":{"type":"number"},"productTrans":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"amount":{"type":"number"},"amountNet":{"type":"number"},"percentage":{"type":"number"},"productId":{"type":"number"},"productCode":{"type":"string","minLength":1},"quantity":{"type":"number"},"unitPrice":{"type":"number"},"vat":{"type":"number"},"vatRateId":{"type":"number"},"vatAnalysisTypeId":{"type":"number"},"useTaxInclusiveUnitPrice":{"type":"boolean"},"tranNotes":{"type":"array","items":{"type":"string"}},"acEntries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"accountCode":{"type":"string","minLength":1},"analysisCategoryId":{"type":"number"},"description":{"type":"string"},"value":{"type":"number"}},"required":["accountCode","analysisCategoryId","value"],"additionalProperties":{}}}},"required":["amount","amountNet","percentage","productCode","quantity","unitPrice","vat","vatRateId","vatAnalysisTypeId","tranNotes"],"additionalProperties":{}}}},"required":["customerId","acCode","entryDate","procDate","saleRepId","saleRepCode","bookTranTypeId","totalNet","totalVAT","total"],"additionalProperties":{},"description":"Complete BRC sales-invoice payload. Use nested productTrans lines with nested acEntries, matching brc_create_sales_invoice_gen_ref."}},"required":["item"],"additionalProperties":{}},"description":"Batch items to process. Maximum 20 items per request."},"confirmCrAnalysisCategory":{"description":"Applies to every sales document item in this batch. Set true only after the user confirms a CR (customer) sales analysis account code is intentional for these product lines.","type":"boolean"},"priceBasis":{"description":"Applies to every sales invoice/credit note item in this batch. Required when Gross Price Entry is enabled. Use `gross` when unit prices are VAT-inclusive/gross. Use `net` when unit prices are VAT-exclusive/net.","type":"string","enum":["net","gross"]},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_sales_reps","description":"Processes a batch of sales representatives using explicit code and name fields. Maximum 20 items per batch request. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"type":"number","const":1,"description":"BRC batch create operation code. Must be 1."},"item":{"type":"object","properties":{"code":{"type":"string","minLength":1,"description":"BRC sales representative code. BRC may enforce additional server-side code limits."},"name":{"type":"string","minLength":1,"description":"Sales representative name."}},"required":["code","name"],"additionalProperties":false}},"required":["opCode","item"],"additionalProperties":false},"description":"Batch items to process. Maximum 20 items per request."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_batch_suppliers","description":"Processes a batch of suppliers using explicit identity, VAT classification, and optional contact fields. Maximum 20 items per batch request. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"items":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"opCode":{"type":"number","const":1,"description":"BRC batch create operation code. Must be 1."},"item":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":8,"description":"BRC account code, maximum eight characters."},"name":{"type":"string","minLength":1,"description":"Customer or supplier name."},"vatType":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC VAT type integer. Resolve the intended value from the connected company's VAT reference data."},"vatAnalysisTypeId":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"BRC VAT analysis type id."},"contact":{"description":"Optional contact name. Blank values are accepted and omitted by the existing builder.","type":"string"},"email":{"description":"Optional email address. Blank values are accepted and omitted by the existing builder.","type":"string"},"phone":{"description":"Optional phone number. Blank values are accepted and omitted by the existing builder.","type":"string"},"mobile":{"description":"Optional mobile number. Blank values are accepted and omitted by the existing builder.","type":"string"},"fax":{"description":"Optional fax number. Blank values are accepted and omitted by the existing builder.","type":"string"},"vatReg":{"description":"Optional VAT registration number. Blank values are accepted and omitted by the existing builder.","type":"string"},"address":{"description":"Optional address lines.","type":"array","items":{"type":"string"}},"additionalEmails":{"description":"Optional additional email addresses.","type":"array","items":{"type":"string"}},"businessIdentifierCode":{"description":"Optional BIC. Blank values are accepted and omitted by the existing builder.","type":"string"},"internationalBankAccountNumber":{"description":"Optional IBAN. Blank values are accepted and omitted by the existing builder.","type":"string"},"creditTerms":{"description":"Optional credit terms in days.","type":"integer","minimum":0,"maximum":9007199254740991},"vatRegistered":{"description":"Whether the owner is VAT registered.","type":"boolean"}},"required":["code","name","vatType","vatAnalysisTypeId"],"additionalProperties":false}},"required":["opCode","item"],"additionalProperties":false},"description":"Batch items to process. Maximum 20 items per request."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","items","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_check_transaction_settings","description":"Returns processing-setting warnings for one specified transaction workflow. It does not provide an overall company-readiness score.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"workflow":{"type":"string","enum":["sales_invoice","purchase","cash_receipt","statement"],"description":"The workflow to check against the company processing settings."}},"required":["companyName","workflow"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_clear_all_company_api_keys","description":"Clears all connection credentials for all company contexts from MCP server memory.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_clear_audit_log","description":"Clear the Red audit log for this MCP server session. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"confirmClear":{"default":false,"description":"Must be true to confirm that the session audit log should be cleared.","type":"boolean"},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_clear_company_api_key","description":"Clears the API key for a named company context from MCP server memory.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_close_quote","description":"Closes a BRC quote. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Quote id."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_company_readiness_check","description":"Returns overall company readiness across connection, financial year, reference data, VAT, analysis categories and settings.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_confirm_company_connection","description":"Confirms a short-lived company-connection code and returns the connected companies plus a reusable opaque connection reference. Connection credentials are not returned.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"code":{"type":"string","minLength":1,"description":"The connection code from the secure Red connection page success message."}},"required":["code"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_accrual","description":"Creates an accrual after returning an unconfirmed payload preview. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"acCode":{"type":"string","minLength":1,"description":"Nominal account code, for example 4000."},"entryDate":{"type":"string","minLength":1,"description":"Entry date, for example 2024-03-01T00:00:00."},"procDate":{"type":"string","minLength":1,"description":"Processing date, for example 2024-03-15T00:00:00."},"reference":{"type":"string","minLength":1,"description":"Accrual reference, for example ACC0001."},"total":{"type":"number","description":"Accrual total amount."},"firstDetail":{"default":"","description":"First detail text.","type":"string"},"secondDetail":{"default":"","description":"Second detail text.","type":"string"},"confirmWrite":{"description":"Must be true only after the user explicitly confirms creating this accrual.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","acCode","entryDate","procDate","reference","total","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_bank_account","description":"Creates a bank account after an unconfirmed preview. confirmCreate applies the previewed creation. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"payload":{"description":"Optional raw bank account payload.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"acCode":{"description":"Bank account code, for example 1603.","type":"string"},"details":{"description":"Bank account description/name.","type":"string"},"nominalAcCode":{"description":"Existing linked nominal account code. This must already exist in Big Red Cloud and will be sent to the API as account.acCode.","type":"string"},"lastChq":{"description":"Last cheque number, for example 000001.","type":"string"},"categoryId":{"description":"Bank Payments category type id from brc_list_category_types.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"balance":{"default":0,"description":"Opening/current starting balance.","type":"number"},"isDefaultBank":{"default":false,"type":"boolean"},"address":{"type":"array","items":{"type":"string"}},"accountName":{"type":"string"},"businessIdentifierCode":{"type":"string"},"internationalBankAccountNumber":{"type":"string"},"creditorScheme":{"type":"string"},"sortCode":{"type":"string"},"accountNumber":{"type":"string"},"bankFeedsSource":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"confirmCreate":{"default":false,"description":"Must be true only after the user explicitly confirms creation.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_cash_payment","description":"Creates a cash payment in supplier-ledger, bank-lodgement or analysed-expense mode. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"note":{"type":"string"},"entryDate":{"description":"Entry date in ISO format. Defaults to today.","type":"string"},"procDate":{"description":"Processing date in ISO format. Defaults to entryDate.","type":"string"},"bookTranTypeId":{"default":2,"description":"Cash Payment book transaction type id.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total":{"type":"number","exclusiveMinimum":0},"supplierId":{"description":"Supplier id for ledger payments.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acCode":{"description":"Supplier account code for ledger payments.","type":"string"},"ledger":{"description":"Ledger amount; must equal total for supplier payments.","type":"number"},"discount":{"type":"number"},"bankAccountId":{"description":"Bank account id for lodgements.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"bankAccountCode":{"description":"Bank account code for lodgements.","type":"string"},"lodgement":{"description":"Lodgement amount; must equal total when lodging to bank.","type":"number"},"analysisCategoryId":{"description":"Cash Payments analysis category id (categoryTypeId 1391170).","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountCode":{"description":"Analysis account code matching analysisCategoryId, for example CP01.","type":"string"},"description":{"description":"Analysis line description.","type":"string"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","note","total","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_cash_receipt","description":"Creates a BRC cash receipt. Accepts either a raw payload object or common flat fields. entryDate/procDate default to today. VAT rate fields are only sent when the company's VAT on Cash Receipt setting is enabled. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"payload":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"note":{"type":"string"},"reference":{"type":"string"},"details":{"type":"string"},"entryDate":{"type":"string"},"procDate":{"type":"string"},"bookTranTypeId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total":{"type":"number"},"customerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acCode":{"type":"string"},"ledger":{"type":"number"},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountCode":{"type":"string"},"description":{"type":"string"},"discount":{"type":"number"},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"vatPercentage":{"type":"number"},"percentage":{"type":"number"},"vatTypeId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalNet":{"type":"number"},"totalVat":{"type":"number"},"totalVAT":{"type":"number"},"unallocated":{"type":"number"},"acEntries":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"vatEntries":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"customFields":{"type":"array","items":{}},"detailCollection":{"type":"array","items":{}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_customer","description":"Creates a BRC customer from explicit code and name fields. Optional address, contact, credit and VAT fields are omitted when absent. Opening-balance fields are not posted. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"payload":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Raw BRC-compatible payload for this endpoint."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","payload","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_nominal_journal_batch","description":"Creates a nominal journal batch after returning an unconfirmed payload preview. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"bookTranTypeId":{"default":7,"description":"Book transaction type id. Nominal Journal Batch is usually 7.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"entryDate":{"type":"string","minLength":1,"description":"Entry date, for example 2024-01-15T00:00:00."},"procDate":{"type":"string","minLength":1,"description":"Processing date, for example 2024-01-15T00:00:00."},"total":{"type":"number","minimum":0,"description":"Total journal amount."},"accountTransactions":{"minItems":2,"type":"array","items":{"type":"object","properties":{"acCode":{"type":"string","minLength":1,"description":"Nominal account code, for example 400 or 800."},"description":{"type":"string","minLength":1,"description":"Line description, for example Sales or Expenses."},"procDate":{"type":"string","minLength":1,"description":"Processing date for this transaction line."},"reference":{"type":"string","minLength":1,"description":"Journal reference, for example NJ0001."},"debit":{"type":"number","minimum":0,"description":"Debit amount for this line."},"credit":{"type":"number","minimum":0,"description":"Credit amount for this line."},"firstDetail":{"default":"","description":"First detail text for this line.","type":"string"},"secondDetail":{"default":"","description":"Second detail text for this line.","type":"string"}},"required":["acCode","description","procDate","reference","debit","credit"]},"description":"Nominal journal account transaction lines. Debits and credits should balance."},"confirmWrite":{"description":"Must be true only after the user explicitly confirms creating this Nominal Journal Batch.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","entryDate","procDate","total","accountTransactions","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_payment","description":"Creates a bank payment in supplier or analysed-account mode. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"note":{"type":"string"},"entryDate":{"description":"Entry date in ISO format. Defaults to today.","type":"string"},"procDate":{"description":"Processing date in ISO format. Defaults to entryDate.","type":"string"},"bookTranTypeId":{"default":3,"description":"Cheques Entry / Payments book transaction type id.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total":{"type":"number","exclusiveMinimum":0},"bankAccountId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"bankAccountCode":{"type":"string"},"supplierId":{"description":"Supplier id for supplier payments.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acCode":{"description":"Supplier account code for supplier payments.","type":"string"},"analysisCategoryId":{"description":"Payments book analysis category id for the selected bank.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountCode":{"description":"Analysis account code matching analysisCategoryId, for example BP01.","type":"string"},"description":{"description":"Analysis line description.","type":"string"},"reference":{"type":"string"},"discount":{"type":"number"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","note","total","bankAccountId","bankAccountCode","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_prepayment","description":"Creates a prepayment after returning an unconfirmed payload preview. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"acCode":{"type":"string","minLength":1,"description":"Nominal account code, for example 4000."},"entryDate":{"type":"string","minLength":1,"description":"Entry date, for example 2024-03-01T00:00:00."},"procDate":{"type":"string","minLength":1,"description":"Processing date, for example 2024-03-15T00:00:00."},"reference":{"type":"string","minLength":1,"description":"Prepayment reference, for example PRE0001."},"total":{"type":"number","description":"Prepayment total amount."},"firstDetail":{"default":"","description":"First detail text.","type":"string"},"secondDetail":{"default":"","description":"Second detail text.","type":"string"},"confirmWrite":{"description":"Must be true only after the user explicitly confirms creating this prepayment.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","acCode","entryDate","procDate","reference","total","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_product","description":"Creates a BRC product using a raw BRC payload. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"payload":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Raw BRC-compatible payload for this endpoint."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","payload","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_purchase","description":"Creates a purchase with a caller-supplied reference when manual purchase references are configured. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"supplierId":{"type":"string","description":"Supplier id, for example 26180406."},"acCode":{"type":"string","description":"Supplier account code, for example SUP001."},"note":{"type":"string","description":"Purchase note."},"entryDate":{"type":"string","description":"Entry date in ISO format."},"procDate":{"type":"string","description":"Processing date in ISO format."},"bookTranTypeId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Purchase book transaction type id."},"analysisCategoryId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Purchases analysis category id."},"accountCode":{"type":"string","description":"Nominal/account code."},"description":{"type":"string","description":"Analysis line description."},"netAmount":{"type":"number","description":"Net amount before VAT."},"vatRateId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"VAT rate id."},"vatPercentage":{"type":"number","description":"VAT percentage."},"reference":{"description":"Required when the company is configured for manual purchase references.","type":"string"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","supplierId","acCode","note","entryDate","procDate","bookTranTypeId","analysisCategoryId","accountCode","description","netAmount","vatRateId","vatPercentage","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_purchase_gen_ref","description":"Creates a purchase using the company's generated-reference configuration. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"supplierId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acCode":{"type":"string"},"note":{"type":"string"},"entryDate":{"type":"string"},"procDate":{"type":"string"},"bookTranTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountCode":{"type":"string"},"description":{"type":"string"},"netAmount":{"type":"number","exclusiveMinimum":0},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"vatPercentage":{"type":"number"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","supplierId","acCode","note","entryDate","procDate","bookTranTypeId","analysisCategoryId","accountCode","description","netAmount","vatRateId","vatPercentage","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_quote","description":"Creates a quote with a caller-supplied reference and reconciled product, VAT and Sales-analysis lines. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"companyId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Required BRC company id for the quote payload. Use the connected company's id from existing records such as customers, products, or sales reps. Do not omit this field."},"customerOwnerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acCode":{"type":"string"},"customerOwnerName":{"type":"string"},"comments":{"type":"string"},"entryDate":{"type":"string"},"procDate":{"type":"string"},"vatTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"saleRepId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales rep id from brc_list_sales_reps."},"saleRepCode":{"type":"string","minLength":1,"description":"Sales rep code from brc_list_sales_reps."},"reference":{"description":"Optional manual quote reference, max 6 characters. Required when quote references are manual, or when the quote reference setting is unknown. Quote reference must be 6 characters or fewer because Big Red Cloud truncates longer references.","type":"string","maxLength":6},"poNumber":{"type":"string"},"ddNumber":{"type":"string"},"confirmQuotesAutoGenerateInBrc":{"description":"Set true only after the user confirms quotes are auto-generated in Big Red Cloud. Required for brc_create_quote_gen_ref when Quotes reference setting is Unknown.","type":"boolean"},"layoutType":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"productId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"productCode":{"type":"string"},"quantity":{"type":"number","exclusiveMinimum":0},"unitPrice":{"type":"number","exclusiveMinimum":0},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"vatPercentage":{"type":"number"},"tranNote":{"type":"string"},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountCode":{"type":"string","minLength":1,"description":"Sales Analysis account code for the quote product line, for example SA01."},"confirmCrAnalysisCategory":{"description":"Set true only after the user confirms a CR sales analysis account code is intentional for this product line.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","companyId","customerOwnerId","acCode","customerOwnerName","comments","entryDate","procDate","saleRepId","saleRepCode","productId","productCode","quantity","unitPrice","vatRateId","vatPercentage","tranNote","analysisCategoryId","accountCode","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_quote_gen_ref","description":"Creates a quote using generated references and reconciled product, VAT and Sales-analysis lines. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"companyId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Required BRC company id for the quote payload. Use the connected company's id from existing records such as customers, products, or sales reps. Do not omit this field."},"customerOwnerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acCode":{"type":"string"},"customerOwnerName":{"type":"string"},"comments":{"type":"string"},"entryDate":{"type":"string"},"procDate":{"type":"string"},"vatTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"saleRepId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales rep id from brc_list_sales_reps."},"saleRepCode":{"type":"string","minLength":1,"description":"Sales rep code from brc_list_sales_reps."},"reference":{"description":"Optional manual quote reference, max 6 characters. Required when quote references are manual, or when the quote reference setting is unknown. Quote reference must be 6 characters or fewer because Big Red Cloud truncates longer references.","type":"string","maxLength":6},"poNumber":{"type":"string"},"ddNumber":{"type":"string"},"confirmQuotesAutoGenerateInBrc":{"description":"Set true only after the user confirms quotes are auto-generated in Big Red Cloud. Required for brc_create_quote_gen_ref when Quotes reference setting is Unknown.","type":"boolean"},"layoutType":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"productId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"productCode":{"type":"string"},"quantity":{"type":"number","exclusiveMinimum":0},"unitPrice":{"type":"number","exclusiveMinimum":0},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"vatPercentage":{"type":"number"},"tranNote":{"type":"string"},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountCode":{"type":"string","minLength":1,"description":"Sales Analysis account code for the quote product line, for example SA01."},"confirmCrAnalysisCategory":{"description":"Set true only after the user confirms a CR sales analysis account code is intentional for this product line.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","companyId","customerOwnerId","acCode","customerOwnerName","comments","entryDate","procDate","saleRepId","saleRepCode","productId","productCode","quantity","unitPrice","vatRateId","vatPercentage","tranNote","analysisCategoryId","accountCode","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_sales_credit_note","description":"Creates a sales credit note with a caller-supplied reference and reconciled negative document amounts. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"customerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acCode":{"type":"string"},"note":{"type":"string"},"entryDate":{"type":"string"},"procDate":{"type":"string"},"bookTranTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountCode":{"type":"string","minLength":1},"description":{"type":"string"},"netAmount":{"type":"number","exclusiveMinimum":0},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"vatPercentage":{"type":"number"},"productId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"productCode":{"type":"string"},"quantity":{"type":"number","exclusiveMinimum":0},"unitPrice":{"type":"number","exclusiveMinimum":0},"saleRepId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales rep id from brc_list_sales_reps."},"saleRepCode":{"type":"string","minLength":1,"description":"Sales rep code from brc_list_sales_reps."},"reference":{"type":"string"},"confirmCrAnalysisCategory":{"description":"Set true only after the user confirms a CR sales analysis account code is intentional for this product line.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","customerId","acCode","note","entryDate","procDate","bookTranTypeId","analysisCategoryId","accountCode","description","netAmount","vatRateId","vatPercentage","productId","productCode","quantity","unitPrice","saleRepId","saleRepCode","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_sales_credit_note_gen_ref","description":"Creates a sales credit note using generated references and reconciled negative document amounts. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"payload":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"confirmCrAnalysisCategory":{"description":"Set true only after the user confirms a CR sales analysis account code is intentional for this product line.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","payload","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_sales_entry","description":"Creates a BRC sales entry using structured MCP fields. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"customerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acCode":{"type":"string"},"note":{"type":"string"},"entryDate":{"type":"string"},"procDate":{"type":"string"},"bookTranTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountCode":{"type":"string"},"description":{"type":"string"},"netAmount":{"type":"number","exclusiveMinimum":0},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"vatPercentage":{"type":"number"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","customerId","acCode","note","entryDate","procDate","bookTranTypeId","analysisCategoryId","accountCode","description","netAmount","vatRateId","vatPercentage","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_sales_invoice","description":"Creates a sales invoice with a caller-supplied reference and reconciled product, VAT and Sales-analysis lines. Missing customer contact values remain absent. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"customerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"customerName":{"description":"Optional. The selected customer's name (BRC customer \"Name\" / JSON `name`). Used as the default sales document note (BRC \"Note\" / JSON `note`) when no explicit note is given.","type":"string"},"acCode":{"type":"string"},"note":{"description":"Optional. BRC \"Note\" field on the sales document (JSON field `note`). Leave blank to default it to the customer name (BRC customer \"Name\" / JSON `name`). Do not use the product name as the note. Only set this when the user explicitly provides a note.","type":"string"},"deliveryTo":{"description":"Optional. BRC \"Delivery To\" address (JSON field `deliveryTo`). Leave blank unless the user explicitly provides a delivery address. Do not invent or default a delivery address (for example \"MCP Test\").","anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"entryDate":{"type":"string"},"procDate":{"type":"string"},"bookTranTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"analysisCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"accountCode":{"type":"string","minLength":1},"description":{"type":"string","description":"Product line description shown on the document line (BRC product line description / JSON `tranNotes`, also used on the line's analysis entry description). This is the line narrative, not the BRC \"Note\" field."},"netAmount":{"type":"number","exclusiveMinimum":0},"vatRateId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"vatPercentage":{"type":"number"},"productId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"productCode is the BRC product \"Code\" (JSON `productCode`); productId is the BRC product \"Id\" (JSON `productId`) from brc_list_products. The product name is not a payload field — do not place it in the BRC \"Note\" field (JSON `note`)."},"productCode":{"type":"string","description":"productCode is the BRC product \"Code\" (JSON `productCode`); productId is the BRC product \"Id\" (JSON `productId`) from brc_list_products. The product name is not a payload field — do not place it in the BRC \"Note\" field (JSON `note`)."},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"unitPrice":{"type":"number","exclusiveMinimum":0},"saleRepId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales rep id from brc_list_sales_reps."},"saleRepCode":{"type":"string","minLength":1,"description":"Sales rep code from brc_list_sales_reps."},"reference":{"description":"Optional. BRC \"Reference\" field (JSON field `reference`). BRC \"Our Ref\" (JSON `ourReference`) and BRC \"Your Ref\" (JSON `yourReference`) default to this value when not supplied separately.","type":"string"},"priceBasis":{"description":"Required when Gross Price Entry is enabled. Use `gross` when unit prices are VAT-inclusive/gross. Use `net` when unit prices are VAT-exclusive/net.","type":"string","enum":["net","gross"]},"confirmCrAnalysisCategory":{"description":"Set true only after the user confirms a CR sales analysis account code is intentional for this product line.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","customerId","acCode","entryDate","procDate","bookTranTypeId","analysisCategoryId","accountCode","description","netAmount","vatRateId","vatPercentage","productId","productCode","quantity","unitPrice","saleRepId","saleRepCode","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_sales_invoice_gen_ref","description":"Creates a sales invoice using generated references and reconciled product, VAT and Sales-analysis lines. Missing customer contact values remain absent. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation. Requires confirmCounterpartyExplicit: true; confirmation is scoped to the counterparty selected for the current preview.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"payload":{"type":"object","properties":{"customerId":{"type":"number"},"acCode":{"type":"string","minLength":1},"entryDate":{"type":"string","minLength":1},"procDate":{"type":"string","minLength":1},"saleRepId":{"type":"number"},"saleRepCode":{"type":"string","minLength":1},"bookTranTypeId":{"type":"number"},"totalNet":{"type":"number"},"totalVAT":{"type":"number"},"total":{"type":"number"},"unpaid":{"type":"number"},"note":{"type":"string"},"deliveryTo":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"vatTypeId":{"type":"number"},"useTaxInclusiveUnitPrice":{"type":"boolean"},"customFields":{"type":"array","items":{}},"id":{"type":"number"},"quoteId":{"type":"number"},"netGoods":{"type":"number"},"netServices":{"type":"number"},"productTrans":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"amount":{"type":"number"},"amountNet":{"type":"number"},"percentage":{"type":"number"},"productId":{"type":"number"},"productCode":{"type":"string","minLength":1},"quantity":{"type":"number"},"unitPrice":{"type":"number"},"vat":{"type":"number"},"vatRateId":{"type":"number"},"vatAnalysisTypeId":{"type":"number"},"useTaxInclusiveUnitPrice":{"type":"boolean"},"tranNotes":{"type":"array","items":{"type":"string"}},"acEntries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"accountCode":{"type":"string","minLength":1},"analysisCategoryId":{"type":"number"},"description":{"type":"string"},"value":{"type":"number"}},"required":["accountCode","analysisCategoryId","value"],"additionalProperties":{}}}},"required":["amount","amountNet","percentage","productCode","quantity","unitPrice","vat","vatRateId","vatAnalysisTypeId","tranNotes"],"additionalProperties":{}}}},"required":["customerId","acCode","entryDate","procDate","saleRepId","saleRepCode","bookTranTypeId","totalNet","totalVAT","total"],"additionalProperties":{},"description":"Raw BRC payloads for multi-line sales invoices must use `productTrans[]` (one object per product line). Each product line must include its own nested `acEntries[]` for Sales analysis posting — do not send a top-level `acEntries` array on the invoice. Required header fields include customerId, acCode, entryDate, procDate, saleRepId, saleRepCode, bookTranTypeId, totalNet, totalVAT, total, and unpaid. Red validates line amounts, nested analysis values, qty × unit price (using useTaxInclusiveUnitPrice), and header totals before posting, and returns all validation issues together when the payload does not reconcile. Preview-before-posting still shows what Red will post and waits for confirmation before anything is written to Big Red Cloud."},"priceBasis":{"description":"Required when Gross Price Entry is enabled. Use `gross` when unit prices are VAT-inclusive/gross. Use `net` when unit prices are VAT-exclusive/net.","type":"string","enum":["net","gross"]},"confirmCrAnalysisCategory":{"description":"Set true only after the user confirms a CR sales analysis account code is intentional for this product line.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"},"confirmCounterpartyExplicit":{"description":"Must be true only after the user explicitly named or confirmed the customer, supplier, or other counterparty in the current conversation. Never set true because a customer or supplier appeared in an earlier preview, was inferred from context, or was filled in without the user's explicit choice in this conversation.","type":"boolean"}},"required":["companyName","payload","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_sales_rep","description":"Creates a BRC sales rep using structured MCP fields. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"code":{"type":"string","description":"Sales rep code."},"name":{"type":"string","description":"Sales rep name."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","code","name","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_create_supplier","description":"Creates a BRC supplier using a raw BRC payload. Does not create or update opening balance transactions. Opening-balance fields are not posted by this tool; supplier opening balances are entered directly in Big Red Cloud. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"payload":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"Raw BRC-compatible payload for this endpoint."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","payload","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_accrual","description":"Deletes an accrual using its current concurrency timestamp. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Parent accrual id."},"timestamp":{"type":"string","minLength":1,"description":"Base64 timestamp returned by the accrual, for example K94UQIbL3gg=."},"confirmWrite":{"description":"Must be true only after the user explicitly confirms deleting this accrual.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","id","timestamp","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_allocation_resolver","description":"Reverses or deletes the specified allocation after returning an unconfirmed preview. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Allocation resolver id to reverse/delete."},"confirmWrite":{"description":"Must be true only after the user explicitly confirms reversing/deleting this allocation.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_bank_account","description":"Deletes the specified bank account after explicit confirmation. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"bank account id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_cash_payment","description":"Deletes a BRC cash payment by id. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"cash payment id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_cash_receipt","description":"Deletes a BRC cash receipt by id. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"cash receipt id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_customer","description":"Deletes a BRC customer by id. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"customer id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_nominal_journal_batch","description":"Deletes a nominal journal batch using its current concurrency timestamp. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Nominal Journal Batch id."},"timestamp":{"type":"string","minLength":1,"description":"Base64 timestamp returned by the Nominal Journal Batch, for example 7aIZQIbL3gg=."},"confirmWrite":{"description":"Must be true only after the user explicitly confirms deleting this Nominal Journal Batch.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","id","timestamp","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_payment","description":"Deletes a BRC payment by id. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"payment id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_prepayment","description":"Deletes a prepayment using its current concurrency timestamp. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Parent prepayment id."},"timestamp":{"type":"string","minLength":1,"description":"Base64 timestamp returned by the prepayment, for example bgUcQIbL3gg=."},"confirmWrite":{"description":"Must be true only after the user explicitly confirms deleting this prepayment.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","id","timestamp","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_product","description":"Deletes a BRC product by id. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"product id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_purchase","description":"Deletes a BRC purchase by id using timestamp confirmation. Historical purchases are not automatically blocked because they belong to an earlier financial year. The BRC endpoint determines whether the historical deletion is supported. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Purchase id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_quote","description":"Deletes a BRC quote by id using timestamp confirmation. Loads the quote once to obtain its timestamp and to preview id, reference, customer, total, open or closed state, any linked sales invoice, and timestamp before asking for confirmation. A successful delete is the result; if a later lookup by quote id returns an unexpected error, treat that check as inconclusive rather than as a failed delete. Confirm remaining quotes from the quote list by quote id — quote references are not necessarily unique. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Quote id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_sales_credit_note","description":"Deletes a BRC sales credit note by id using timestamp confirmation. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales credit note id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_sales_entry","description":"Deletes a BRC sales entry by id using timestamp confirmation. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Sales entry id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_sales_invoice","description":"Deletes a BRC sales invoice by id using timestamp confirmation. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales invoice id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_sales_rep","description":"Deletes a BRC sales rep by id using timestamp confirmation. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales rep id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_delete_supplier","description":"Deletes a BRC supplier by id. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"supplier id."},"confirmDelete":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_find_help_resources","description":"Searches Big Red Cloud customer help across Freshdesk support articles, customer documentation, recorded webinar videos and upcoming webinars. Returns a synthesized answer, ordered guidance and public source metadata. Read-only and available without a connected company.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"question":{"type":"string","minLength":1,"description":"Plain-English help question, for example how do bank feeds work or how do I reconcile my bank account."},"category":{"description":"Optional help category filter, for example bank_feeds or sales.","type":"string"},"maxResults":{"description":"Maximum number of matching resources to return. Defaults to 5.","type":"integer","minimum":1,"maximum":10},"source":{"description":"Optional source filter: freshdesk, customer_docs, recorded_webinar, youtube_video, upcoming_webinar, or all.","type":"string","enum":["freshdesk","customer_docs","recorded_webinar","youtube_video","upcoming_webinar","all"]}},"required":["question"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_generate_sales_invoice_from_quote","description":"Generates a sales invoice from a BRC quote. Preview-before-posting shows the exact POST /v1/quotes/generateSaleInvoice body (quoteId and optional entryDate/procDate only). Nothing is written until you confirm. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"quoteId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Quote id."},"entryDate":{"description":"Optional invoice entry date in ISO format.","type":"string"},"procDate":{"description":"Optional invoice processing date in ISO format.","type":"string"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","quoteId","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_generate_support_report","description":"Returns a downloadable support diagnostic and a concise summary for the current session.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Currently connected company to include in the diagnostic report."}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_accrual","description":"Returns information about a single parent Accrual by id. Child accruals are not exposed by the public API.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Parent accrual id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_bank_account","description":"Gets one BRC bank account by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Bank account id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_cash_payment","description":"Gets one BRC cash payment by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Cash payment id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_cash_receipt","description":"Gets one BRC cash receipt by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Cash receipt id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_company_api_key_status","description":"Returns company connection-status metadata without returning API keys or other credentials.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"description":"Optional company context name. If omitted, summarises all contexts.","type":"string","minLength":1}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_company_logo","description":"Gets the company logo from BRC.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_company_processing_settings","description":"Returns company processing settings that affect VAT-sensitive accounting workflows.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"includeRaw":{"default":false,"description":"If true, includes the raw BRC settings record for operator review. Customer-facing responses should normally leave this false.","type":"boolean"}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_company_reference_settings","description":"Returns quote and transaction reference settings. An Unknown quote-reference setting does not establish automatic reference generation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"includeRaw":{"default":false,"description":"If true, includes the raw BRC company setup record for operator review. Customer-facing responses should normally leave this false.","type":"boolean"}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_company_setup_config","description":"Gets full BRC company setup configuration, including general details, financial year, reference settings, and processing options.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_customer","description":"Gets one BRC customer by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Customer id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_customer_opening_balance","description":"Gets a customer's opening balance.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"itemId":{"type":"string","description":"Customer item id."}},"required":["companyName","itemId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_deployment_policy","description":"Returns the deployment capability and permission summary, including enabled action groups and development-mode status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_financial_year","description":"Gets BRC company financial year.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_help_resource_details","description":"Returns detailed public help-resource content, ordered instruction blocks, signed screenshot links, source metadata and optional image content. Read-only and available without a connected company.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"resourceId":{"type":"string","minLength":1,"description":"Resource ID from brc_red_help or brc_find_help_resources, for example customer_docs:bank-reconciliation or freshdesk:1001."},"includeImages":{"description":"When true, Freshdesk articles may include screenshot presentation. Defaults to true.","type":"boolean"},"maxImages":{"description":"Maximum Freshdesk screenshots to return. Defaults to 5. Hard maximum 8.","type":"integer","minimum":1,"maximum":8},"question":{"description":"Optional customer question used to select the matching Freshdesk workflow screenshots, for example an existing-customer opening balance question versus adding a new customer.","type":"string","minLength":1},"imagePresentation":{"description":"How to present Freshdesk screenshots. Defaults to links (signed Markdown links only). Use inline for MCP image blocks, or both for Markdown plus image blocks.","type":"string","enum":["links","inline","both"]}},"required":["resourceId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_nom_ac_ledger_by_ids","description":"Returns nominal-account ledgers for supplied account IDs. Monthly values represent movements rather than monthly balances.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"ids":{"type":"string","description":"Comma-separated nominal account ids."}},"required":["companyName","ids"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_nominal_account_ledger_by_id","description":"Returns one nominal account ledger and its period movements. Monthly values represent movements rather than monthly balances.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Nominal account id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_nominal_journal_batch","description":"Returns information about a single Nominal Journal Batch by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Nominal Journal Batch id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_payment","description":"Gets one BRC payment by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Payment id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_prepayment","description":"Returns information about a single parent Prepayment by id. Child prepayments are not exposed by the public API.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Parent prepayment id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_product","description":"Gets one BRC product by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Product id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_purchase","description":"Gets one BRC purchase by id.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Purchase id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_quote","description":"Gets one BRC quote by id. List and get may not return the same fields (for example note or analysis account codes); treat those as representation differences, not as create or update failures.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Quote id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_sales_credit_note","description":"Gets one BRC sales credit note by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales credit note id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_sales_entry","description":"Gets one BRC sales entry by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales entry id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_sales_invoice","description":"Gets one BRC sales invoice by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales invoice id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_sales_rep","description":"Gets one BRC sales rep by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales rep id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_supplier","description":"Gets one BRC supplier by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Supplier id."}},"required":["companyName","id"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_get_supplier_opening_balance","description":"Gets a supplier's opening balance.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"itemId":{"type":"string","description":"Supplier item id."}},"required":["companyName","itemId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_grouped_nominal_accounts_report","description":"Returns a grouped nominal-account report with period movements rather than monthly balances.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_accounts","description":"Lists BRC accounts.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_accruals","description":"Returns a list of the company's Accruals. Supports optional OData filtering by entryDate. Supports optional ordering by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"filter":{"description":"Optional OData filter. Filtering is allowed by entryDate, for example: entryDate ge 2024-03-01T00:00:00.","type":"string"},"orderBy":{"description":"Optional OData order by. Ordering is allowed by id, for example: id desc.","type":"string"},"top":{"description":"Optional page size.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"skip":{"description":"Optional number of records to skip.","type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_allocated_transactions","description":"Returns existing transaction allocations and their identifiers.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"bookTranId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Book transaction id to allocate from, for example 1001."}},"required":["companyName","bookTranId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_allocation_resolvers","description":"Returns receiver transactions eligible for allocation updates.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"bookTranId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Book transaction id to allocate from, for example 1001."}},"required":["companyName","bookTranId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_analysis_categories","description":"Returns company analysis categories and their book context. Customer-control categories are distinct from Sales analysis categories.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_audit_log","description":"Returns current-session audit entries scoped to currently connected companies. Entries from other sessions, connections or companies are excluded.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"includeTechnicalDetails":{"default":false,"description":"Only set this to true if the user asks for technical details. Sensitive values are still redacted.","type":"boolean"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_bank_accounts","description":"Lists BRC bank accounts.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_book_tran_types","description":"Lists BRC book transaction types.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_cash_payments","description":"Lists BRC cash payments.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_cash_receipts","description":"Lists BRC cash receipts.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_category_types","description":"Lists BRC category types.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_company_contexts","description":"Returns connected-company contexts and connection-expiry metadata, including duration, remaining time and timezone details. Connection credentials are not returned.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_company_settings","description":"Lists BRC company settings.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_customer_account_trans","description":"Returns customer account transactions. Transaction IDs and types are endpoint- and company-specific.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"itemId":{"type":"string","description":"Customer item id."}},"required":["companyName","itemId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_customer_op_bal_trans","description":"Gets a customer's opening balance transaction list.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"itemId":{"type":"string","description":"Customer item id."}},"required":["companyName","itemId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_customer_quotes","description":"Gets quotes for a specific customer.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"itemId":{"type":"string","description":"Customer item id."}},"required":["companyName","itemId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_customers","description":"Lists BRC customers.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_customers_without_dormant","description":"Lists BRC customers without dormant records.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_nominal_accounts","description":"Returns nominal accounts and period movements. Monthly values represent movements rather than monthly balances.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_nominal_journal_batches","description":"Returns nominal journal batches with identifiers and concurrency timestamps.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"filter":{"description":"Optional OData filter. Filtering is allowed by entryDate, for example: entryDate ge 2024-01-01T00:00:00","type":"string"},"orderBy":{"description":"Optional OData order by. Ordering is allowed by id, for example: id desc.","type":"string"},"top":{"description":"Optional page size.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"skip":{"description":"Optional number of records to skip.","type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_owner_type_groups","description":"Lists BRC owner type groups.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_owner_types","description":"Lists BRC owner types.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_payments","description":"Lists BRC payments.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_prepayments","description":"Returns a list of the company's Prepayments. Supports optional OData filtering by entryDate. Supports optional ordering by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"filter":{"description":"Optional OData filter. Filtering is allowed by entryDate, for example: entryDate ge 2024-03-01T00:00:00.","type":"string"},"orderBy":{"description":"Optional OData order by. Ordering is allowed by id, for example: id desc.","type":"string"},"top":{"description":"Optional page size.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"skip":{"description":"Optional number of records to skip.","type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_product_types","description":"Lists BRC product types.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_products","description":"Lists BRC products.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_products_without_dormant","description":"Lists BRC products without dormant records.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_purchases","description":"Lists BRC purchases.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_quotes","description":"Lists BRC quotes. List and get may not return the same fields (for example note or analysis account codes); treat those as representation differences, not as create or update failures. Quote references are not necessarily unique — identify a quote by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_sales","description":"Lists combined BRC sales entries, sales invoices and sales credit notes.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_sales_credit_notes","description":"Lists BRC sales credit notes.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_sales_entries","description":"Lists BRC sales entries.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_sales_invoices","description":"Lists BRC sales invoices.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_sales_reps","description":"Lists BRC sales reps.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_supplier_account_trans","description":"Returns supplier account transactions. Transaction IDs and types are endpoint- and company-specific.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"itemId":{"type":"string","description":"Supplier item id."}},"required":["companyName","itemId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_supplier_op_bal_trans","description":"Gets a supplier's opening balance transaction list.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"itemId":{"type":"string","description":"Supplier item id."}},"required":["companyName","itemId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_suppliers","description":"Lists BRC suppliers.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_user_defined_fields","description":"Lists BRC user defined fields.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_vat_analysis_types","description":"Lists BRC VAT analysis types.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_vat_categories","description":"Returns company VAT categories and their Sales or Purchase context.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_vat_rates","description":"Returns company VAT rates and their associated category identifiers.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_list_vat_types","description":"Lists BRC VAT types.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"page":{"default":1,"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"pageSize":{"default":20,"type":"integer","exclusiveMinimum":0,"maximum":500},"filter":{"description":"Optional OData $filter expression, only if this endpoint supports filtering.","type":"string"},"orderBy":{"description":"Optional OData $orderby expression, only if this endpoint supports ordering.","type":"string"},"top":{"type":"integer","exclusiveMinimum":0,"maximum":500},"skip":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["companyName"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_multi_company_nom_ac_report","description":"Returns a multi-company nominal-account report with period movements rather than monthly balances.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyNames":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"description":"The company names to report on."}},"required":["companyNames"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_open_edu_admin","description":"Returns the protected education-administration URL. Access requires Microsoft Entra sign-in and does not bypass authentication. The response contains no upload secret or bypass parameter.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"brc_process_vat_category_rates","description":"Processes VAT rates for VAT categories via POST /v1/vatCategories/vatRates. Requires a full vatCategoryRates array and confirmProcess=true. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"vatCategoryRates":{"description":"Full BRC payload array for POST /v1/vatCategories/vatRates, e.g. [{ vatCategoryId: 1, vatRates: [...] }].","minItems":1,"type":"array","items":{"type":"object","properties":{"vatCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"vatRates":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"percentage":{"type":"number"},"orderIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isActive":{"type":"boolean"},"isDefault":{"type":"boolean"},"vatCategoryId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["id","percentage","orderIndex","isActive","isDefault","vatCategoryId"]}}},"required":["vatCategoryId","vatRates"]}},"effectiveDate":{"description":"Not a valid standalone payload. Use vatCategoryRates instead.","type":"string"},"payload":{"description":"Deprecated. Use vatCategoryRates instead of a raw payload object.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"confirmProcess":{"default":false,"type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_red_help","description":"Returns Big Red Cloud help and manual Big Red Cloud instructions for how-to questions, including how do I queries and tutorials. Covers topics including sales invoices, purchases, customers, suppliers, banking, VAT, reports and company setup. Searches Freshdesk, YouTube, BRC Edu, webinars and screenshots. Read-only and available without a connected company.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"description":"Text after the red-help command, for example how do I add a sales invoice or add a customer manually."}},"required":["query"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_reopen_quote","description":"Reopens a BRC quote. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Quote id."},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_resolve_book_transaction_type","description":"Resolves a company-specific bookTranTypeId against live transaction-type reference data. Descriptions and numeric IDs are not globally stable.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"bookTranTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["companyName","bookTranTypeId"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_route_request","description":"Classifies a supplied request as help, action, correction or unsupported. Classification covers read, create, update, delete, correct, undo, reverse, email and batch actions, including creating a sales invoice or add a customer, plus help wording such as how do I. Action results include allowed tools and an opaque routeToken. Help and correction results do not issue transactional route tokens.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"message":{"type":"string","minLength":1,"description":"The user's complete original message to classify, for example add a customer or how do I add a customer."},"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"}},"required":["message"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_send_email_statement","description":"Sends a customer-statement email to the customer address or an explicit recipient override. An unconfirmed call returns an email preview; confirmSend applies the send. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"customerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC field: customerId."},"fromPeriod":{"description":"Statement period start (ISO date-time, e.g. 2026-01-01T00:00:00).","type":"string"},"toPeriod":{"description":"Statement period end (ISO date-time, e.g. 2026-05-31T00:00:00).","type":"string"},"minBalance":{"description":"Minimum balance threshold for transactions included on the statement.","type":"number"},"fromAddress":{"description":"Optional sender address override.","type":"string"},"toAddress":{"description":"Optional single recipient override. If omitted or empty, BRC uses the customer's email address.","type":"string"},"toAddresses":{"description":"Optional list of recipients. If more than one is provided, ask the user whether to send one email with BCC or separate individual emails.","type":"array","items":{"type":"string"}},"sendMode":{"description":"How to handle multiple recipients. Use separate only when the user explicitly asks to send separate individual emails.","type":"string","enum":["single_with_bcc","separate"]},"bccAddresses":{"description":"Optional BCC email addresses. Only use if the user explicitly provides BCC addresses or chooses one email with BCC.","type":"array","items":{"type":"string"}},"messageBody":{"description":"Optional custom email message body.","type":"string"},"confirmSend":{"default":false,"description":"Must be true only after the user has reviewed the email preview and explicitly confirmed sending.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","customerId","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_send_quote_email","description":"Sends a quote email to the customer address or an explicit recipient override. An unconfirmed call returns an email preview; confirmSend applies the send. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"quoteId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC field: quoteId."},"fromAddress":{"description":"Optional sender address override.","type":"string"},"toAddress":{"description":"Optional single recipient override. If omitted or empty, BRC uses the customer's email address.","type":"string"},"toAddresses":{"description":"Optional list of recipients. If more than one is provided, ask the user whether to send one email with BCC or separate individual emails.","type":"array","items":{"type":"string"}},"sendMode":{"description":"How to handle multiple recipients. Use separate only when the user explicitly asks to send separate individual emails.","type":"string","enum":["single_with_bcc","separate"]},"bccAddresses":{"description":"Optional BCC email addresses. Only use if the user explicitly provides BCC addresses or chooses one email with BCC.","type":"array","items":{"type":"string"}},"messageBody":{"description":"Optional custom email message body.","type":"string"},"confirmSend":{"default":false,"description":"Must be true only after the user has reviewed the email preview and explicitly confirmed sending.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","quoteId","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_send_sales_invoice_email","description":"Sends a sales-invoice email to the customer address or an explicit recipient override. An unconfirmed call returns an email preview; confirmSend applies the send. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"salesInvoiceId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"BRC field: salesInvoiceId."},"fromAddress":{"description":"Optional sender address override.","type":"string"},"toAddress":{"description":"Optional single recipient override. If omitted or empty, BRC uses the customer's email address.","type":"string"},"toAddresses":{"description":"Optional list of recipients. If more than one is provided, ask the user whether to send one email with BCC or separate individual emails.","type":"array","items":{"type":"string"}},"sendMode":{"description":"How to handle multiple recipients. Use separate only when the user explicitly asks to send separate individual emails.","type":"string","enum":["single_with_bcc","separate"]},"bccAddresses":{"description":"Optional BCC email addresses. Only use if the user explicitly provides BCC addresses or chooses one email with BCC.","type":"array","items":{"type":"string"}},"messageBody":{"description":"Optional custom email message body.","type":"string"},"confirmSend":{"default":false,"description":"Must be true only after the user has reviewed the email preview and explicitly confirmed sending.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","salesInvoiceId","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_start_company_connection","description":"Starts the secure Red / Big Red Cloud connection flow and returns a one-time connection page URL and confirmation code. The secure page supports one or multiple companies, including CSV upload, and keeps API credentials outside chat. Available without an existing company connection.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_accrual","description":"Updates an accrual using its current concurrency timestamp. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Parent accrual id."},"acCode":{"type":"string","minLength":1,"description":"Nominal account code, for example 4000."},"entryDate":{"type":"string","minLength":1,"description":"Entry date, for example 2024-03-01T00:00:00."},"procDate":{"type":"string","minLength":1,"description":"Processing date, for example 2024-03-15T00:00:00."},"reference":{"type":"string","minLength":1,"description":"Accrual reference, for example ACC0001."},"total":{"type":"number","description":"Accrual total amount."},"timestamp":{"type":"string","minLength":1,"description":"Base64 timestamp returned by the accrual, for example K94UQIbL3gg=."},"firstDetail":{"default":"","description":"First detail text.","type":"string"},"secondDetail":{"default":"","description":"Second detail text.","type":"string"},"confirmWrite":{"description":"Must be true only after the user explicitly confirms updating this accrual.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","id","acCode","entryDate","procDate","reference","total","timestamp","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_allocations","description":"Updates transaction allocations using eligible receiver transactions and an unconfirmed payload preview. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"bookTranId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Book transaction id to allocate from, for example 1001."},"allocationResolvers":{"minItems":1,"type":"array","items":{"type":"object","properties":{"id":{"default":0,"description":"Existing allocation id, or 0 for a new allocation.","type":"integer","minimum":0,"maximum":9007199254740991},"allocated":{"type":"number","minimum":0,"description":"Amount to allocate to the receiver transaction."},"discount":{"default":0,"description":"Discount amount to apply to this allocation.","type":"number","minimum":0},"bookTranIdReceiver":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Receiver book transaction id, for example the invoice being allocated against."}},"required":["allocated","bookTranIdReceiver"]},"description":"Allocations to create or update."},"confirmWrite":{"description":"Must be true only after the user explicitly confirms posting the allocation update.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","bookTranId","allocationResolvers","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_bank_account","description":"Updates a BRC bank account using merged fields. An unconfirmed call returns a plain-English change preview. Explicit confirmation is required before the update is applied. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Bank account id."},"updates":{"description":"Fields to merge into the existing record.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"payload":{"description":"Alias for updates.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_cash_payment","description":"Updates an existing Cash Payment by merging supplied fields onto the current record. Fields that can be merged include total, entryDate, procDate, supplierId, acCode, note, ledger, discount, bankAccountId, bankAccountCode, lodgement, analysisCategoryId, accountCode, and description. This update flow is a verified action on the existing record. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Cash payment id."},"updates":{"description":"Fields to merge into the existing record.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"payload":{"description":"Alias for updates.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_cash_receipt","description":"Updates a BRC cash receipt using merged fields. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Cash receipt id."},"updates":{"description":"Fields to merge into the existing record.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"payload":{"description":"Alias for updates.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_customer","description":"Updates a BRC customer using merged fields. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Customer id."},"updates":{"description":"Fields to merge into the existing record.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"payload":{"description":"Alias for updates.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_nominal_journal_batch","description":"Updates a nominal journal batch using its current concurrency timestamps. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Nominal Journal Batch id."},"bookTranTypeId":{"default":7,"description":"Book transaction type id. Nominal Journal Batch is usually 7.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"entryDate":{"type":"string","minLength":1,"description":"Date/time string, for example 2024-01-15T00:00:00."},"procDate":{"type":"string","minLength":1,"description":"Date/time string, for example 2024-01-15T00:00:00."},"total":{"type":"number","minimum":0},"timestamp":{"type":"string","minLength":1,"description":"Base64 timestamp for the nominal journal batch."},"accountTransactions":{"minItems":2,"type":"array","items":{"type":"object","properties":{"acCode":{"type":"string","minLength":1,"description":"Nominal account code, for example 400 or 800."},"description":{"type":"string","minLength":1,"description":"Line description, for example Sales or Expenses."},"procDate":{"type":"string","minLength":1,"description":"Processing date for this transaction line."},"reference":{"type":"string","minLength":1,"description":"Journal reference, for example NJ0001."},"debit":{"type":"number","minimum":0,"description":"Debit amount for this line."},"credit":{"type":"number","minimum":0,"description":"Credit amount for this line."},"firstDetail":{"default":"","description":"First detail text for this line.","type":"string"},"secondDetail":{"default":"","description":"Second detail text for this line.","type":"string"},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Existing account transaction line id."},"timeStamp":{"type":"string","minLength":1,"description":"Base64 timestamp for this account transaction line."}},"required":["acCode","description","procDate","reference","debit","credit","id","timeStamp"]},"description":"Updated nominal journal account transaction lines."},"confirmWrite":{"description":"Must be true only after the user explicitly confirms updating this Nominal Journal Batch.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","id","entryDate","procDate","total","timestamp","accountTransactions","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_payment","description":"Updates a BRC payment using merged fields. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Payment id."},"updates":{"description":"Fields to merge into the existing record.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"payload":{"description":"Alias for updates.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_prepayment","description":"Updates a prepayment using its current concurrency timestamp. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Parent prepayment id."},"acCode":{"type":"string","minLength":1,"description":"Nominal account code, for example 4000."},"entryDate":{"type":"string","minLength":1,"description":"Entry date, for example 2024-03-01T00:00:00."},"procDate":{"type":"string","minLength":1,"description":"Processing date, for example 2024-03-15T00:00:00."},"reference":{"type":"string","minLength":1,"description":"Prepayment reference, for example PRE0001."},"total":{"type":"number","description":"Prepayment total amount."},"timestamp":{"type":"string","minLength":1,"description":"Base64 timestamp returned by the prepayment, for example bgUcQIbL3gg=."},"firstDetail":{"default":"","description":"First detail text.","type":"string"},"secondDetail":{"default":"","description":"Second detail text.","type":"string"},"confirmWrite":{"description":"Must be true only after the user explicitly confirms updating this prepayment.","type":"boolean"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."}},"required":["companyName","id","acCode","entryDate","procDate","reference","total","timestamp","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_product","description":"Updates a BRC product using merged fields. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Product id."},"updates":{"description":"Fields to merge into the existing record.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"payload":{"description":"Alias for updates.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_purchase","description":"Updates a BRC purchase using structured MCP fields. Historical transaction dates are not automatically blocked. Existing historical purchases may support text, monetary, date and delete operations; the BRC endpoint is the source of truth. When changing monetary values, preserve the existing unpaid/unallocated state and allow BRC to recalculate allocation fields where required. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Purchase id."},"supplierId":{"type":"string"},"acCode":{"type":"string"},"note":{"type":"string"},"entryDate":{"type":"string"},"procDate":{"type":"string"},"bookTranTypeId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"analysisCategoryId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"accountCode":{"type":"string"},"description":{"type":"string"},"netAmount":{"type":"number"},"vatRateId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"vatPercentage":{"type":"number"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_quote","description":"Updates a BRC quote's manual reference only. Quote.note is not persisted by this update and is not accepted here. Loads the current quote, preserves all other fields (including timestamp, product lines, analysis entries, totals, customer, sales rep, dates, comments, and closed state), applies the new reference, then PUTs the full record. Manual quote references must be 6 characters or fewer because Big Red Cloud truncates longer references. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Quote id."},"reference":{"description":"Optional manual quote reference, max 6 characters. Required when quote references are manual, or when the quote reference setting is unknown. Quote reference must be 6 characters or fewer because Big Red Cloud truncates longer references.","type":"string","maxLength":6},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_sales_credit_note","description":"Updates a sales credit note while preserving the existing BRC unpaid value. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales credit note id."},"note":{"type":"string"},"reference":{"type":"string"},"ourReference":{"type":"string"},"yourReference":{"type":"string"},"details":{"type":"string"},"entryDate":{"description":"Entry date. Historical dates may be attempted; BRC determines whether the update is permitted.","type":"string"},"procDate":{"description":"Processing date. Historical dates may be attempted; BRC determines whether the update is permitted.","type":"string"},"customerId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"saleRepId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"vatTypeId":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"totalNet":{"type":"number"},"totalVAT":{"type":"number"},"total":{"type":"number"},"productTrans":{"description":"Complete BRC productTrans collection. Preserve existing line ids and accounting/VAT data when modifying an existing credit note.","type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_sales_entry","description":"Updates a sales entry while preserving the existing BRC unpaid value. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales Entry id, normally the bookTranId returned by customer account transactions."},"note":{"description":"Optional. BRC \"Note\" field on the sales document (JSON field `note`). Leave blank to default it to the customer name (BRC customer \"Name\" / JSON `name`). Do not use the product name as the note. Only set this when the user explicitly provides a note.","type":"string"},"reference":{"description":"Optional. BRC \"Reference\" field (JSON field `reference`). BRC \"Our Ref\" (JSON `ourReference`) and BRC \"Your Ref\" (JSON `yourReference`) default to this value when not supplied separately.","type":"string"},"details":{"description":"Sales Entry details/description field.","type":"string"},"entryDate":{"description":"Entry date in ISO format. Historical dates may be attempted; BRC determines whether the change is permitted.","type":"string"},"procDate":{"description":"Processing date in ISO format. Historical dates may be attempted; BRC determines whether the change is permitted.","type":"string"},"customerId":{"description":"Customer id.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"acCode":{"description":"Customer account code.","type":"string"},"bookTranTypeId":{"description":"Book transaction type id. Sales Entries normally use the existing record's transaction type.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"vatTypeId":{"description":"VAT type id.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"totalNet":{"description":"New total net value. For monetary edits this must be supplied together with totalVAT, total, acEntries and vatEntries.","type":"number"},"totalVAT":{"description":"New total VAT value. For monetary edits this must be supplied together with totalNet, total, acEntries and vatEntries.","type":"number"},"total":{"description":"New gross total. For monetary edits this must equal totalNet + totalVAT.","type":"number"},"acEntries":{"description":"Complete BRC accounting-entry collection. For monetary edits, the sum of each entry's value must equal totalNet.","type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"vatEntries":{"description":"Complete BRC VAT-entry collection. Each entry should contain the BRC vatRateId, percentage and net amount used to calculate VAT.","type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_sales_invoice","description":"Updates a sales invoice. Supplied monetary changes must be explicit and reconciled. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales invoice id."},"note":{"description":"Optional. BRC \"Note\" field on the sales document (JSON field `note`). Leave blank to default it to the customer name (BRC customer \"Name\" / JSON `name`). Do not use the product name as the note. Only set this when the user explicitly provides a note.","type":"string"},"reference":{"description":"Optional. BRC \"Reference\" field (JSON field `reference`). BRC \"Our Ref\" (JSON `ourReference`) and BRC \"Your Ref\" (JSON `yourReference`) default to this value when not supplied separately.","type":"string"},"ourReference":{"type":"string"},"yourReference":{"type":"string"},"details":{"type":"string"},"entryDate":{"description":"Entry date. Historical dates are permitted as an attempted update; BRC may accept or reject them.","type":"string"},"procDate":{"description":"Processing date. Historical dates are permitted as an attempted update; BRC may accept or reject them.","type":"string"},"customerId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"saleRepId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"vatTypeId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"bookTranTypeId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"totalNet":{"type":"number"},"totalVAT":{"type":"number"},"total":{"type":"number"},"productTrans":{"description":"Complete BRC productTrans collection. Use this when changing invoice lines, quantities, unit prices, VAT or line amounts.","type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_sales_rep","description":"Updates a BRC sales rep using structured MCP fields. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Sales rep id."},"code":{"type":"string"},"name":{"type":"string"},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_update_supplier","description":"Updates a BRC supplier using merged fields. Requires a valid routeToken issued for the matching action workflow. The token remains valid through lookup, preview and the permitted transaction. Placeholder tokens are invalid. A routeToken does not bypass preview or explicit-confirmation requirements. A call without confirmWrite: true returns confirmation_required and a payload preview. confirmWrite: true applies the previewed change after explicit confirmation. Passing preflight is not confirmation.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"id":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Supplier id."},"updates":{"description":"Fields to merge into the existing record.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"payload":{"description":"Alias for updates.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"routeToken":{"type":"string","minLength":1,"description":"Opaque routeToken from brc_route_request for this action workflow. Required for transactional tools. Routing permission only — does not replace preview-before-posting or confirmWrite."},"confirmWrite":{"description":"Must be true only after a plain-English preview before posting has been shown in the current conversation and the user explicitly confirmed posting (for example yes, create it / post it now / confirm). Never set true on the first call or because the user initially asked to create something. Nothing is written to Big Red Cloud until you confirm.","type":"boolean"}},"required":["companyName","id","routeToken"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"brc_validate_transaction_date","description":"Checks whether a proposed transaction date is inside the connected BRC company's current financial year.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"connectionRef":{"description":"Opaque Red connection reference returned by brc_confirm_company_connection. Pass this exact value on every later tool call when the MCP client rotates session ids (for example Vibe/Mistral). Keep reusing the same connectionRef after successful tool calls — do not start a new connection because a lookup returned empty or partial data. It is not an API key and does not contain credentials.","type":"string"},"companyName":{"type":"string","minLength":1,"description":"Company context name, for example YOUR-COMPANY-NAME."},"transactionDate":{"type":"string","description":"Date to validate in YYYY-MM-DD format."}},"required":["companyName","transactionDate"],"$schema":"http://json-schema.org/draft-07/schema#"}}],"scan":{"score":79,"grade":"B","scanned_at":"2026-09-24T17:23:49.064Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-24T17:23:49.015Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":17,"max":20,"notes":["remote reachable in 2743ms"]},"poisoning":{"score":15,"max":15,"notes":["159 tool descriptions checked"]},"auth":{"score":3,"max":15,"notes":["open endpoint exposes 58 write-action tools with no auth"]},"maintenance":{"score":15,"max":15,"notes":["last push 28 days ago"]},"identity":{"score":9,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[{"id":"auth.open-write","severity":"high","component":"auth","title":"Write-action tools reachable without authentication"}],"inputs":{"probes":[{"url":"https://red.bigredcloud.com/mcp","reachable":true,"authRequired":false,"latencyMs":2743,"serverInfo":{"name":"Red","version":"1.6.1"}}],"packages":[],"repo":{"found":true,"owner":"BigRedCloud","repo":"red-mcp-server","archived":false,"pushedAt":"2026-08-27T13:29:58Z","stars":0,"forks":0,"openIssues":0,"ownerType":"Organization","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/6096084?v=4","ownerCreatedAt":"2013-12-03T14:23:38Z","license":"Apache-2.0"},"icon":{"url":"https://avatars.githubusercontent.com/u/6096084?v=4&s=128","source":"github"},"presence":{"stars":0,"forks":0,"downloadsWeek":null,"license":"Apache-2.0","lastPushAt":"2026-08-27T13:29:58.000Z","score":20}}}},"grade_history":[],"reviews":[]}