Skip to main content
Glama
asgard-ai-platform

MCP Universal EC E-Invoice Server

create_b2b_exchange_invoice

Creates a B2B exchange invoice (A0101) with mandatory seller address and item tax type DTaxType. Returns the API response.

Instructions

Create a B2B exchange invoice (A0101). Seller address is mandatory. Item tax type field is DTaxType. Returns the API response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesList of product items. Each item: {Description, Quantity, UnitPrice, DTaxType, Amount, SequenceNumber, optional: Unit, Remark, RelateNumber}.
currencyNoCurrency code (e.g. 'USD').
tax_rateYesTax rate.
tax_typeYesTax type.
buyer_nameYesBuyer name.
print_markYesPrint mark ('Y' or 'N').
tax_amountYesTax amount.
donate_markYesDonate mark ('0'=no donate).
main_remarkNoMain remark.
seller_nameYesSeller name.
check_numberNoCheck number.
invoice_dateYesInvoice date (YYYYMMDD).
invoice_timeYesInvoice time (HHmmss).
invoice_typeYesInvoice type code.
sales_amountYesTaxable sales amount.
seller_emailNoSeller email address.
total_amountYesTotal amount including tax.
buyer_addressNoBuyer address.
exchange_rateNoExchange rate.
invoice_numberYesInvoice number.
seller_addressYesSeller address (mandatory for exchange invoices).
discount_amountNoDiscount amount.
buyer_identifierYesBuyer tax ID.
seller_facsimileNoSeller facsimile number.
seller_telephoneNoSeller telephone number.
seller_identifierYesSeller tax ID.
bonded_area_confirmNoBonded area confirm.
zero_tax_rate_reasonNoZero-tax-rate reason code.
customs_clearance_markNoCustoms clearance mark.
seller_person_in_chargeNoSeller person in charge.
original_currency_amountNoOriginal currency amount.
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It only mentions returning the API response, but omits details about mutation, side effects, idempotency, or failure modes. Parameter constraints like seller address mandatory are given, but broader behavior is not disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences concisely convey the core purpose and key detail. Front-loaded with the primary action, no wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity (31 parameters, 17 required, no annotations, no output schema), the description is insufficient. It does not explain differences from similar tools, expected response structure, or validation rules.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. Description adds that seller address is mandatory (already in schema as required) and clarifies that item tax type field is DTaxType. This provides minor additional clarity beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it creates a B2B exchange invoice and mentions the document type code A0101, which distinguishes it from other invoice creation tools. However, it does not explicitly differentiate from the similar create_b2b_invoice tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus siblings like create_b2b_invoice or create_b2b_allowance. The description lacks context for appropriate usage scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/asgard-ai-platform/mcp-universalec-e-invoice'

If you have feedback or need assistance with the MCP directory API, please join our Discord server