Skip to main content
Glama

Mercoa MCP by usefulapi

Update invoice

mercoa_update_invoice
Destructive

WRITE — updates an existing invoice/bill (all fields optional). Commonly used to advance status (e.g. DRAFT→NEW→SCHEDULED) or change amounts, dates, or payment methods. POST /invoice/{invoiceId}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountNoTotal invoice amount.
statusNoNew invoice status, e.g. NEW, APPROVED, SCHEDULED.
dueDateNoDue date (ISO 8601).
payerIdNoPayer entity ID.
currencyNoCurrency code, e.g. USD.
metadataNoArbitrary key/value metadata.
vendorIdNoVendor entity ID.
invoiceIdYesInvoice ID to update.
lineItemsNoReplacement line items array.
noteToSelfNoInternal note.
invoiceDateNoInvoice date (ISO 8601).
deductionDateNoScheduled payment/deduction date (ISO 8601).
invoiceNumberNoHuman-readable invoice number.
paymentSourceIdNoPayment method ID to pay from.
paymentDestinationIdNoPayment method ID to pay to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.