立即开始
Xero Tools

Xero Create Invoice

通过 Aident Loadout 使用 Xero Tools 的 Xero Create Invoice。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Create a new invoice in Xero. Supports both sales invoices (ACCREC) and bills (ACCPAY).

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • Datestring
    Invoice date in YYYY-MM-DD format.
  • Typestring
    必填
    Invoice type: ACCREC (accounts receivable/sales) or ACCPAY (accounts payable/bills).
  • Statusstring
    Invoice status.
  • DueDatestring
    Due date in YYYY-MM-DD format.
  • ContactIDstring
    Xero Contact ID (UUID). At least one of contact_id or contact_name must be provided.
  • LineItemsarray
    必填
    List of line items for the invoice.
  • Referencestring
    Reference or purchase order number.
  • tenant_idstring
    Xero tenant/organization ID. If not provided, uses the first connected tenant. In multi-org setups, pass the same tenant_id consistently across all Xero tool calls.
  • ContactNamestring
    Contact name. At least one of contact_id or contact_name must be provided.
  • CurrencyCodestring
    Currency code (e.g., USD, EUR).
  • InvoiceNumberstring
    Invoice number (auto-generated if not provided). WARNING: If this matches an existing invoice number, Xero will attempt to UPDATE that invoice instead of creating a new one. Omit this field to ensure a new invoice is created, or ensure the number is unique.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源