Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/climembranenpm install -g @membranehq/climembrane login --tenantmembrane login complete <code>membrane login --tenantmembrane login complete <code>membrane search codat --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search codat --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane connection list --jsonconnectionIdmembrane connection list --jsonconnectionIdmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --jsonmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --json| Name | Key | Description |
|---|---|---|
| List Companies | list-companies | List all companies that have been created in Codat |
| List Connections | list-connections | List all connections for a specific company |
| List Invoices | list-invoices | List all invoices for a company |
| List Bills | list-bills | List all bills (accounts payable) for a company |
| List Customers | list-customers | List all customers for a company |
| List Suppliers | list-suppliers | List all suppliers/vendors for a company |
| List Bank Accounts | list-bank-accounts | List all bank accounts for a company connection |
| List Payments | list-payments | List all payments for a company |
| List Accounts | list-accounts | List all accounts (chart of accounts) for a company |
| List Journal Entries | list-journal-entries | List all journal entries for a company |
| Get Company | get-company | Retrieve a single company by its ID |
| Get Connection | get-connection | Retrieve a single connection by its ID |
| Create Company | create-company | Create a new company in Codat to represent a business whose data you want to access |
| Create Connection | create-connection | Create a new connection to an external platform for a company |
| Update Company | update-company | Update an existing company's name, description, or tags |
| Delete Company | delete-company | Permanently delete a company and all its connections and data |
| Delete Connection | delete-connection | Delete a connection and revoke credentials |
| Trigger Data Sync | trigger-data-sync | Trigger a refresh of all data types for a company |
| Get Balance Sheet | get-balance-sheet | Get the balance sheet financial statement for a company |
| Get Profit and Loss | get-profit-and-loss | Get the profit and loss (income statement) for a company |
| 名称 | 键 | 描述 |
|---|---|---|
| 列出公司 | list-companies | 列出Codat中已创建的所有公司 |
| 列出连接 | list-connections | 列出指定公司的所有连接 |
| 列出发票 | list-invoices | 列出某公司的所有发票 |
| 列出账单 | list-bills | 列出某公司的所有账单(应付账款) |
| 列出客户 | list-customers | 列出某公司的所有客户 |
| 列出供应商 | list-suppliers | 列出某公司的所有供应商/厂商 |
| 列出银行账户 | list-bank-accounts | 列出某公司连接对应的所有银行账户 |
| 列出付款记录 | list-payments | 列出某公司的所有付款记录 |
| 列出账户 | list-accounts | 列出某公司的所有账户(会计科目表) |
| 列出日记账分录 | list-journal-entries | 列出某公司的所有日记账分录 |
| 获取公司信息 | get-company | 根据ID检索单个公司的信息 |
| 获取连接信息 | get-connection | 根据ID检索单个连接的信息 |
| 创建公司 | create-company | 在Codat中创建新公司,代表你想要获取其数据的企业 |
| 创建连接 | create-connection | 为公司创建到外部平台的新连接 |
| 更新公司 | update-company | 更新现有公司的名称、描述或标签 |
| 删除公司 | delete-company | 永久删除一家公司及其所有连接和数据 |
| 删除连接 | delete-connection | 删除连接并吊销凭证 |
| 触发数据同步 | trigger-data-sync | 触发刷新某公司的所有类型数据 |
| 获取资产负债表 | get-balance-sheet | 获取某公司的资产负债表财务报表 |
| 获取损益表 | get-profit-and-loss | 获取某公司的损益表(利润表) |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标志 | 描述 |
|---|---|
| HTTP方法(GET、POST、PUT、PATCH、DELETE),默认是GET |
| 添加请求头(可重复使用),例如 |
| 请求体(字符串类型) |
| 发送JSON请求体并设置 |
| 按原样发送请求体,不做任何处理 |
| 查询字符串参数(可重复使用),例如 |
| 路径参数(可重复使用),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY