Lap Accounting Api

TotalClaw 作者 mickmicksh v1.0.0

会计 API 技能。在为公司会计工作时使用。覆盖135个端点。

源码 ↗

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:mickmicksh~lap-accounting-api
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Amickmicksh~lap-accounting-api/file -o lap-accounting-api.md
Git 仓库获取源码
git clone https://github.com/openclaw/skills/commit/213afe26afdfe0f791c00b9a64b63f9abd56ab32
## 概述(中文)

会计 API 技能。在为公司会计工作时使用。覆盖135个端点。

## 原文

# Accounting API
API version: 3.0.0

## Auth
ApiKey Authorization in header

## Base URL
https://api.codat.io

## Setup
1. Set your API key in the appropriate header
2. GET /companies/{companyId}/connections/{connectionId}/data/accountTransactions -- verify access
3. POST /companies/{companyId}/connections/{connectionId}/push/accounts -- create first accounts

## Endpoints

135 endpoints across 1 groups. See references/api-spec.lap for full details.

### companies
| Method | Path | Description |
|--------|------|-------------|
| GET | /companies/{companyId}/connections/{connectionId}/data/accountTransactions | List account transactions |
| GET | /companies/{companyId}/connections/{connectionId}/data/accountTransactions/{accountTransactionId} | Get account transaction |
| GET | /companies/{companyId}/data/accounts | List accounts |
| GET | /companies/{companyId}/data/accounts/{accountId} | Get account |
| GET | /companies/{companyId}/connections/{connectionId}/options/chartOfAccounts | Get create account model |
| POST | /companies/{companyId}/connections/{connectionId}/push/accounts | Create account |
| GET | /companies/{companyId}/data/billCreditNotes | List bill credit notes |
| GET | /companies/{companyId}/data/billCreditNotes/{billCreditNoteId} | Get bill credit note |
| GET | /companies/{companyId}/connections/{connectionId}/options/billCreditNotes | Get create/update bill credit note model |
| POST | /companies/{companyId}/connections/{connectionId}/push/billCreditNotes | Create bill credit note |
| PUT | /companies/{companyId}/connections/{connectionId}/push/billCreditNotes/{billCreditNoteId} | Update bill credit note |
| POST | /companies/{companyId}/connections/{connectionId}/push/billCreditNotes/{billCreditNoteId}/attachment | Upload bill credit note attachment |
| GET | /companies/{companyId}/data/billPayments | List bill payments |
| GET | /companies/{companyId}/data/billPayments/{billPaymentId} | Get bill payment |
| POST | /companies/{companyId}/connections/{connectionId}/push/billPayments | Create bill payments |
| GET | /companies/{companyId}/connections/{connectionId}/options/billPayments | Get create bill payment model |
| DELETE | /companies/{companyId}/connections/{connectionId}/push/billPayments/{billPaymentId} | Delete bill payment |
| GET | /companies/{companyId}/data/bills | List bills |
| GET | /companies/{companyId}/data/bills/{billId} | Get bill |
| GET | /companies/{companyId}/connections/{connectionId}/options/bills | Get create/update bill model |
| POST | /companies/{companyId}/connections/{connectionId}/push/bills | Create bill |
| PUT | /companies/{companyId}/connections/{connectionId}/push/bills/{billId} | Update bill |
| DELETE | /companies/{companyId}/connections/{connectionId}/push/bills/{billId} | Delete bill |
| GET | /companies/{companyId}/connections/{connectionId}/data/bills/{billId}/attachments | List bill attachments |
| GET | /companies/{companyId}/connections/{connectionId}/data/bills/{billId}/attachments/{attachmentId} | Get bill attachment |
| GET | /companies/{companyId}/connections/{connectionId}/data/bills/{billId}/attachments/{attachmentId}/download | Download bill attachment |
| POST | /companies/{companyId}/connections/{connectionId}/push/bills/{billId}/attachments | Upload bill attachment |
| GET | /companies/{companyId}/data/creditNotes | List credit notes |
| GET | /companies/{companyId}/data/creditNotes/{creditNoteId} | Get credit note |
| GET | /companies/{companyId}/connections/{connectionId}/options/creditNotes | Get create/update credit note model |
| POST | /companies/{companyId}/connections/{connectionId}/push/creditNotes | Create credit note |
| PUT | /companies/{companyId}/connections/{connectionId}/push/creditNotes/{creditNoteId} | Update credit note |
| GET | /companies/{companyId}/data/customers | List customers |
| GET | /companies/{companyId}/data/customers/{customerId} | Get customer |
| GET | /companies/{companyId}/connections/{connectionId}/options/customers | Get create/update customer model |
| POST | /companies/{companyId}/connections/{connectionId}/push/customers | Create customer |
| PUT | /companies/{companyId}/connections/{connectionId}/push/customers/{customerId} | Update customer |
| GET | /companies/{companyId}/connections/{connectionId}/data/customers/{customerId}/attachments | List customer attachments |
| GET | /companies/{companyId}/connections/{connectionId}/data/customers/{customerId}/attachments/{attachmentId} | Get customer attachment |
| GET | /companies/{companyId}/connections/{connectionId}/data/customers/{customerId}/attachments/{attachmentId}/download | Download customer attachment |
| GET | /companies/{companyId}/connections/{connectionId}/data/directCosts | List direct costs |
| GET | /companies/{companyId}/connections/{connectionId}/data/directCosts/{directCostId} | Get direct cost |
| GET | /companies/{companyId}/connections/{connectionId}/options/directCosts | Get create direct cost model |
| POST | /companies/{companyId}/connections/{connectionId}/push/directCosts | Create direct cost |
| DELETE | /companies/{companyId}/connections/{connectionId}/push/directCosts/{directCostId} | Delete direct cost |
| POST | /companies/{companyId}/connections/{connectionId}/push/directCosts/{directCostId}/attachment | Upload direct cost attachment |
| GET | /companies/{companyId}/connections/{connectionId}/data/directCosts/{directCostId}/attachments/{attachmentId} | Get direct cost attachment |
| GET | /companies/{companyId}/connections/{connectionId}/data/directCosts/{directCostId}/attachments/{attachmentId}/download | Download direct cost attachment |
| GET | /companies/{companyId}/connections/{connectionId}/data/directCosts/{directCostId}/attachments | List direct cost attachments |
| GET | /companies/{companyId}/connections/{connectionId}/data/directIncomes | List direct incomes |
| GET | /companies/{companyId}/connections/{connectionId}/data/directIncomes/{directIncomeId} | Get direct income |
| GET | /companies/{companyId}/connections/{connectionId}/options/directIncomes | Get create direct income model |
| POST | /companies/{companyId}/connections/{connectionId}/push/directIncomes | Create direct income |
| POST | /companies/{companyId}/connections/{connectionId}/push/directIncomes/{directIncomeId}/attachment | Create direct income attachment |
| GET | /companies/{companyId}/connections/{connectionId}/data/directIncomes/{directIncomeId}/attachments/{attachmentId} | Get direct income attachment |
| GET | /companies/{companyId}/connections/{connectionId}/data/directIncomes/{directIncomeId}/attachments/{attachmentId}/download | Download direct income attachment |
| GET | /companies/{companyId}/connections/{connectionId}/data/directIncomes/{directIncomeId}/attachments | List direct income attachments |
| GET | /companies/{companyId}/data/financials/balanceSheet | Get balance sheet |
| GET | /companies/{companyId}/data/financials/profitAndLoss | Get profit and loss |
| GET | /companies/{companyId}/data/financials/cashFlowStatement | Get cash flow statement |
| GET | /companies/{companyId}/data/info | Get company info |
| POST | /companies/{companyId}/data/info | Refresh company info |
| GET | /companies/{companyId}/data/invoices | List invoices |
| GET | /companies/{companyId}/data/invoices/{invoiceId} | Get invoice |
| GET | /companies/{companyId}/data/invoices/{invoiceId}/pdf | Get invoice as PDF |
| GET | /companies/{companyId}/connections/{connectionId}/data/invoices/{invoiceId}/attachments | List invoice attachments |
| GET | /companies/{companyId}/connections/{connectionId}/data/invoices/{invoiceId}/attachments/{attachmentId} | Get invoice attachment |
| GET | /companies/{companyId}/connections/{connectionId}/data/invoices/{invoiceId}/attachments/{attachmentId}/download | Download invoice attachment |
| GET | /companies/{companyId}/connections/{connectionId}/options/invoices | Get create/update invoice mo