Skip to main content
Glama

Mercoa MCP by usefulapi

Create invoice

mercoa_create_invoice
Destructive

WRITE — creates a real invoice/bill in Mercoa. Set status (DRAFT to stage, NEW to submit), amount, currency, payer/vendor, dates and line items. POST /invoice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountNoTotal invoice amount.
statusNoInvoice status, e.g. DRAFT, NEW, APPROVED, SCHEDULED.
dueDateNoDue date (ISO 8601).
payerIdNoPayer entity ID (who owes).
currencyNoCurrency code, e.g. USD.
metadataNoArbitrary key/value metadata.
vendorIdNoVendor entity ID (who is paid).
lineItemsNoLine items array, e.g. [{ "amount": 100, "currency": "USD", "description": "Product A", "quantity": 1, "unitPrice": 100 }].
noteToSelfNoInternal note.
invoiceDateNoInvoice date (ISO 8601).
creatorUserIdNoUser ID creating the invoice.
deductionDateNoScheduled payment/deduction date (ISO 8601).
invoiceNumberNoHuman-readable invoice number, e.g. INV-123.
creatorEntityIdNoEntity ID on whose behalf the invoice is created.
paymentSourceIdNoPayment method ID to pay from (payer's).
paymentDestinationIdNoPayment method ID to pay to (vendor's).

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.