2个稳定版本
2.0.32 | 2024年4月30日 |
---|---|
2.0.29 | 2023年10月2日 |
#74 in HTTP客户端
1MB
14K SLoC
Rust API客户端为fattureincloud-rs
将您的软件与意大利超过500,000家企业选择的发票云平台Fatture in Cloud连接。
Fatture in Cloud API基于REST,并允许通过OAuth2协议在授权之前与用户相关数据交互。
有关更多信息,请访问 https://www.fattureincloud.it
概览
此API客户端由OpenAPI Generator项目生成。通过使用来自远程服务器的openapi-spec,您可以轻松生成API客户端。
- API版本:2.0.32
- 包版本:2.0.32
- 生成器版本:7.6.0-SNAPSHOT
- 构建包:
org.openapitools.codegen.languages.RustClientCodegen
安装
将包放入名为fattureincloud-rs
的目录下,并在[dependencies]
下添加以下内容到Cargo.toml
fattureincloud-rs = { path = "./fattureincloud-rs" }
API端点文档
所有URI均相对于https://api-v2.fattureincloud.it
类 | 方法 | HTTP请求 | 描述 |
---|---|---|---|
ArchiveApi | create_archive_document | POST /c/{company_id}/archive | 创建归档文档 |
ArchiveApi | delete_archive_document | DELETE /c/{company_id}/archive/{document_id} | 删除归档文档 |
ArchiveApi | get_archive_document | GET /c/{company_id}/archive/{document_id} | 获取归档文档 |
ArchiveApi | list_archive_documents | GET /c/{company_id}/archive | 列出归档文档 |
ArchiveApi | modify_archive_document | PUT /c/{company_id}/archive/{document_id} | 修改归档文档 |
ArchiveApi | upload_archive_document_attachment | POST /c/{公司ID}/archive/attachment | 上传存档文档附件 |
CashbookApi | create_cashbook_entry | POST /c/{公司ID}/cashbook | 创建现金账条目 |
CashbookApi | delete_cashbook_entry | DELETE /c/{公司ID}/cashbook/{文档ID} | 删除现金账条目 |
CashbookApi | get_cashbook_entry | GET /c/{公司ID}/cashbook/{文档ID} | 获取现金账条目 |
CashbookApi | list_cashbook_entries | GET /c/{公司ID}/cashbook | 列出现金账条目 |
CashbookApi | modify_cashbook_entry | PUT /c/{公司ID}/cashbook/{文档ID} | 修改现金账条目 |
ClientsApi | create_client | POST /c/{公司ID}/entities/clients | 创建客户 |
ClientsApi | delete_client | DELETE /c/{公司ID}/entities/clients/{客户ID} | 删除客户 |
ClientsApi | get_client | GET /c/{公司ID}/entities/clients/{客户ID} | 获取客户 |
ClientsApi | list_clients | GET /c/{公司ID}/entities/clients | 列出客户 |
ClientsApi | modify_client | PUT /c/{公司ID}/entities/clients/{客户ID} | 修改客户 |
CompaniesApi | get_company_info | GET /c/{公司ID}/company/info | 获取公司信息 |
CompaniesApi | get_company_plan_usage | GET /c/{公司ID}/company/plan_usage | 获取公司计划使用情况 |
EmailsApi | list_emails | GET /c/{公司ID}/emails | 列出电子邮件 |
InfoApi | list_archive_categories | GET /c/{公司ID}/info/archive_categories | 列出存档类别 |
InfoApi | list_cities | GET /info/cities | 列出城市 |
InfoApi | list_cost_centers | GET /c/{公司ID}/info/cost_centers | 列出成本中心 |
InfoApi | list_countries | GET /info/countries | 列出国家 |
InfoApi | list_currencies | GET /info/currencies | 列出货币 |
InfoApi | list_delivery_notes_default_causals | GET /info/dn_causals | 列出送货单默认原因 |
InfoApi | list_detailed_countries | GET /info/detailed_countries | 列出详细国家 |
InfoApi | list_languages | GET /info/languages | 列出语言 |
InfoApi | list_payment_accounts | GET /c/{公司ID}/info/payment_accounts | 列出支付账户 |
InfoApi | list_payment_methods | GET /c/{公司ID}/info/payment_methods | 列出支付方式 |
InfoApi | list_product_categories | GET /c/{公司ID}/info/product_categories | 列出产品类别 |
InfoApi | list_received_document_categories | GET /c/{公司ID}/info/received_document_categories | 列出收到的文档类别 |
InfoApi | list_revenue_centers | GET /c/{公司ID}/info/revenue_centers | 列出收入中心 |
InfoApi | list_templates | GET /info/templates | 列出模板 |
InfoApi | list_units_of_measure | GET /info/measures | 列出计量单位 |
InfoApi | list_vat_types | GET /c/{公司ID}/info/vat_types | 列出增值税类型 |
IssuedDocumentsApi | create_issued_document | POST /c/{公司ID}/issued_documents | 创建已发行文件 |
IssuedDocumentsApi | delete_issued_document | DELETE /c/{公司ID}/issued_documents/{文档ID} | 删除已发行文件 |
IssuedDocumentsApi | delete_issued_document_attachment | DELETE /c/{公司ID}/issued_documents/{文档ID}/attachment | 删除已发行文件附件 |
IssuedDocumentsApi | get_email_data | GET /c/{公司ID}/issued_documents/{文档ID}/email | 获取电子邮件数据 |
IssuedDocumentsApi | get_existing_issued_document_totals | POST /c/{公司ID}/issued_documents/{文档ID}/totals | 获取现有的已发行文件总计 |
IssuedDocumentsApi | get_issued_document | GET /c/{公司ID}/issued_documents/{文档ID} | 获取已发行文件 |
IssuedDocumentsApi | get_issued_document_pre_create_info | GET /c/{公司ID}/issued_documents/info | 获取已发行文件预创建信息 |
IssuedDocumentsApi | get_new_issued_document_totals | POST /c/{公司ID}/issued_documents/totals | 获取新的已发行文件总计 |
IssuedDocumentsApi | join_issued_documents | GET /c/{公司ID}/issued_documents/join | 合并已发行文件 |
IssuedDocumentsApi | list_issued_documents | GET /c/{公司ID}/issued_documents | 列出已发行文件 |
IssuedDocumentsApi | modify_issued_document | PUT /c/{公司ID}/issued_documents/{文档ID} | 修改已发行文件 |
IssuedDocumentsApi | schedule_email | POST /c/{公司ID}/issued_documents/{文档ID}/email | 安排电子邮件 |
IssuedDocumentsApi | transform_issued_document | GET /c/{company_id}/issued_documents/transform | 转换已发行文件 |
IssuedDocumentsApi | upload_issued_document_attachment | POST /c/{company_id}/issued_documents/attachment | 上传已发行文件附件 |
IssuedEInvoicesApi | get_e_invoice_rejection_reason | GET /c/{company_id}/issued_documents/{document_id}/e_invoice/error_reason | 获取电子发票拒绝原因 |
IssuedEInvoicesApi | get_e_invoice_xml | GET /c/{company_id}/issued_documents/{document_id}/e_invoice/xml | 获取电子发票XML |
IssuedEInvoicesApi | send_e_invoice | POST /c/{company_id}/issued_documents/{document_id}/e_invoice/send | 发送电子发票 |
IssuedEInvoicesApi | verify_e_invoice_xml | GET /c/{company_id}/issued_documents/{document_id}/e_invoice/xml_verify | 验证电子发票XML |
ProductsApi | create_product | POST /c/{company_id}/products | 创建产品 |
ProductsApi | delete_product | DELETE /c/{company_id}/products/{product_id} | 删除产品 |
ProductsApi | get_product | GET /c/{company_id}/products/{product_id} | 获取产品 |
ProductsApi | list_products | GET /c/{company_id}/products | 产品列表 |
ProductsApi | modify_product | PUT /c/{company_id}/products/{product_id} | 修改产品 |
ReceiptsApi | create_receipt | POST /c/{company_id}/receipts | 创建收据 |
ReceiptsApi | delete_receipt | DELETE /c/{company_id}/receipts/{document_id} | 删除收据 |
ReceiptsApi | get_receipt | GET /c/{company_id}/receipts/{document_id} | 获取收据 |
ReceiptsApi | get_receipt_pre_create_info | GET /c/{company_id}/receipts/info | 获取收据预创建信息 |
ReceiptsApi | get_receipts_monthly_totals | GET /c/{company_id}/receipts/monthly_totals | 获取收据月度总计 |
ReceiptsApi | list_receipts | GET /c/{company_id}/receipts | 收据列表 |
ReceiptsApi | modify_receipt | PUT /c/{company_id}/receipts/{document_id} | 修改收据 |
ReceivedDocumentsApi | create_received_document | POST /c/{company_id}/received_documents | 创建收到的文件 |
ReceivedDocumentsApi | delete_received_document | DELETE /c/{company_id}/received_documents/{document_id} | 删除收到的文件 |
ReceivedDocumentsApi | delete_received_document_attachment | DELETE /c/{company_id}/received_documents/{document_id}/attachment | 删除收到的文件附件 |
ReceivedDocumentsApi | get_existing_received_document_totals | POST /c/{company_id}/received_documents/{document_id}/totals | 获取现有收到的文件总计 |
ReceivedDocumentsApi | get_new_received_document_totals | POST /c/{company_id}/received_documents/totals | 获取新的收到的文件总计 |
ReceivedDocumentsApi | get_received_document | GET /c/{company_id}/received_documents/{document_id} | 获取收到的文件 |
ReceivedDocumentsApi | get_received_document_pre_create_info | GET /c/{company_id}/received_documents/info | 获取收到的文件预创建信息 |
ReceivedDocumentsApi | list_received_documents | GET /c/{company_id}/received_documents | 收到的文件列表 |
ReceivedDocumentsApi | modify_received_document | PUT /c/{company_id}/received_documents/{document_id} | 修改收到的文件 |
ReceivedDocumentsApi | upload_received_document_attachment | POST /c/{company_id}/received_documents/attachment | 上传收到的文件附件 |
SettingsApi | create_payment_account | POST /c/{company_id}/settings/payment_accounts | 创建支付账户 |
SettingsApi | create_payment_method | POST /c/{company_id}/settings/payment_methods | 创建支付方式 |
SettingsApi | create_vat_type | POST /c/{company_id}/settings/vat_types | 创建增值税类型 |
SettingsApi | delete_payment_account | DELETE /c/{company_id}/settings/payment_accounts/{payment_account_id} | 删除支付账户 |
SettingsApi | delete_payment_method | DELETE /c/{company_id}/settings/payment_methods/{payment_method_id} | 删除支付方式 |
SettingsApi | delete_vat_type | DELETE /c/{company_id}/settings/vat_types/{vat_type_id} | 删除增值税类型 |
SettingsApi | get_payment_account | GET /c/{company_id}/settings/payment_accounts/{payment_account_id} | 获取支付账户 |
SettingsApi | get_payment_method | GET /c/{company_id}/settings/payment_methods/{payment_method_id} | 获取支付方式 |
SettingsApi | get_vat_type | GET /c/{company_id}/settings/vat_types/{vat_type_id} | 获取增值税类型 |
SettingsApi | modify_payment_account | PUT /c/{company_id}/settings/payment_accounts/{payment_account_id} | 修改付款账户 |
SettingsApi | modify_payment_method | PUT /c/{company_id}/settings/payment_methods/{payment_method_id} | 修改付款方式 |
SettingsApi | modify_vat_type | PUT /c/{company_id}/settings/vat_types/{vat_type_id} | 修改增值税类型 |
供应商API | create_supplier | POST /c/{company_id}/entities/suppliers | 创建供应商 |
供应商API | delete_supplier | DELETE /c/{company_id}/entities/suppliers/{supplier_id} | 删除供应商 |
供应商API | get_supplier | GET /c/{company_id}/entities/suppliers/{supplier_id} | 获取供应商 |
供应商API | list_suppliers | GET /c/{company_id}/entities/suppliers | 列出供应商 |
供应商API | modify_supplier | PUT /c/{company_id}/entities/suppliers/{supplier_id} | 修改供应商 |
税项API | create_f24 | POST /c/{company_id}/taxes | 创建F24 |
税项API | delete_f24 | DELETE /c/{company_id}/taxes/{document_id} | 删除F24 |
税项API | delete_f24_attachment | DELETE /c/{company_id}/taxes/{document_id}/attachment | 删除F24附件 |
税项API | get_f24 | GET /c/{company_id}/taxes/{document_id} | 获取F24 |
税项API | list_f24 | GET /c/{company_id}/taxes | 列出F24 |
税项API | modify_f24 | PUT /c/{company_id}/taxes/{document_id} | 修改F24 |
税项API | upload_f24_attachment | POST /c/{company_id}/taxes/attachment | 上传F24附件 |
用户API | get_user_info | GET /user/info | 获取用户信息 |
用户API | list_user_companies | GET /user/companies | 列出用户公司 |
WebhooksAPI | create_webhooks_subscription | POST /c/{company_id}/subscriptions | 创建Webhooks订阅 |
WebhooksAPI | delete_webhooks_subscription | DELETE /c/{company_id}/subscriptions/{subscription_id} | 删除Webhooks订阅 |
WebhooksAPI | get_webhooks_subscription | GET /c/{company_id}/subscriptions/{subscription_id} | 获取Webhooks订阅 |
WebhooksAPI | list_webhooks_subscriptions | GET /c/{company_id}/subscriptions | 列出Webhooks订阅 |
WebhooksAPI | modify_webhooks_subscription | PUT /c/{company_id}/subscriptions/{subscription_id} | 修改Webhooks订阅 |
模型文档
- ArchiveDocument
- ArchiveDocument1
- ArchiveDocument2
- AttachmentData
- CashbookEntry
- CashbookEntry1
- CashbookEntry1Document
- CashbookEntry2
- CashbookEntryDocument
- City
- Client
- Client1
- Client2
- Company
- CompanyInfo
- CompanyInfoAccessInfo
- CompanyInfoPlanInfo
- CompanyInfoPlanInfoFunctions
- CompanyInfoPlanInfoFunctionsStatus
- CompanyInfoPlanInfoLimits
- CompanyPlanUsage
- ControlledCompany
- CreateArchiveDocumentRequest
- CreateArchiveDocumentResponse
- CreateCashbookEntryRequest
- CreateCashbookEntryResponse
- CreateClientRequest
- CreateClientResponse
- CreateF24Request
- CreateF24Response
- CreateIssuedDocumentRequest
- CreateIssuedDocumentResponse
- CreatePaymentAccountRequest
- CreatePaymentAccountResponse
- CreatePaymentMethodRequest
- CreatePaymentMethodResponse
- CreateProductRequest
- CreateProductResponse
- CreateReceiptRequest
- CreateReceiptResponse
- CreateReceivedDocumentRequest
- CreateReceivedDocumentResponse
- CreateSupplierRequest
- CreateSupplierResponse
- CreateVatTypeRequest
- CreateVatTypeResponse
- CreateWebhooksSubscriptionRequest
- CreateWebhooksSubscriptionRequest1
- CreateWebhooksSubscriptionResponse
- Currency
- Currency1
- DetailedCountry
- DocumentTemplate
- DocumentTemplate1
- EInvoiceRejectionReason
- EmailAttachment
- EmailData
- EmailDataDefaultSenderEmail
- EmailSchedule
- EmailScheduleInclude
- Entity
- Entity1
- Entity2
- F24
- F241
- F242
- FunctionStatus
- GetArchiveDocumentResponse
- GetCashbookEntryResponse
- GetClientResponse
- GetCompanyInfoResponse
- GetCompanyPlanUsageResponse
- GetEInvoiceRejectionReason
- GetEmailDataResponse
- GetExistingIssuedDocumentTotalsRequest
- GetExistingIssuedDocumentTotalsResponse
- GetExistingReceivedDocumentTotals
- GetExistingReceivedDocumentTotalsResponse
- GetF24Response
- GetIssuedDocumentPreCreateInfoResponse
- GetIssuedDocumentResponse
- GetNewIssuedDocumentTotalsRequest
- GetNewIssuedDocumentTotalsResponse
- GetNewReceivedDocumentTotalsRequest
- GetNewReceivedDocumentTotalsResponse
- GetPaymentAccountResponse
- GetPaymentMethodResponse
- GetProductResponse
- 获取收据预创建信息响应
- 获取收据响应
- 获取月度总收据响应
- 获取接收文档预创建信息响应
- 获取接收文档响应
- 获取供应商响应
- 获取用户信息响应
- 获取用户信息响应电子邮件确认状态
- 获取用户信息响应信息
- 获取增值税类型
- 获取Webhooks订阅响应
- 已发行文档
- 已发行文档1
- 已发行文档1Ei数据
- 已发行文档1额外数据
- 已发行文档2
- 已发行文档Ei数据
- 已发行文档额外数据
- 已发行文档项目列表项
- 已发行文档选项
- 已发行文档选项1
- 已发行文档支付列表项
- 已发行文档支付列表项支付条款
- 已发行文档预创建信息
- 已发行文档预创建信息默认值
- 已发行文档预创建信息额外数据默认值
- 已发行文档预创建信息项目默认值
- 已发行文档总计
- 加入已发行文档响应
- 语言
- 语言1
- 列出存档类别响应
- 列出存档文档响应
- 列出现金簿条目响应
- 列出城市响应
- 列出客户响应
- 列出成本中心响应
- 列出国家响应
- 列出货币响应
- 列出送货单默认临时工响应
- 列出详细国家响应
- 列出电子邮件响应
- 列出F24响应
- 列出F24响应聚合数据
- 列出已发行文档响应
- 列出语言响应
- 列出支付账户响应
- 列出支付方式响应
- 列出产品类别响应
- 列出产品响应
- 列出收据响应
- 列出接收文档类别响应
- 列出接收文档响应
- 列出收入中心响应
- 列出供应商响应
- 列出模板响应
- 列出计量单位响应
- 列出用户公司响应
- 列出用户公司响应数据
- 列出增值税类型响应
- 列出Webhooks订阅响应
- 修改存档文档请求
- 修改存档文档响应
- 修改现金簿条目请求
- 修改现金簿条目响应
- 修改客户请求
- 修改客户响应
- 修改F24请求
- 修改F24响应
- 修改已发行文档请求
- 修改已发行文档响应
- 修改支付账户请求
- 修改支付账户响应
- 修改支付方式请求
- 修改支付方式响应
- 修改产品请求
- 修改产品响应
- 修改收据请求
- 修改收据响应
- 修改接收文档请求
- 修改接收文档响应
- 修改供应商请求
- 修改供应商响应
- 修改增值税类型请求
- 修改增值税类型响应
- 修改Webhooks订阅请求
- 月度总计
- 支付账户
- 支付账户1
- 支付账户2
- 支付账户3
- 支付账户4
- 支付账户5
- 支付账户6
- 支付方式
- 支付方式1
- 支付方式2
- 支付方式3
- 支付方式4
- 支付方式5
- 支付方式详情
- 权限
- 权限Fic已发行文档详细
- 产品
- 产品1
- 产品2
- 收据
- 收据1
- 收据2
- 收据项目列表项
- 收据预创建信息
- 接收文档
- 接收文档1
- 接收文档2
- 接收文档信息
- 接收文档信息默认值
- 接收文档信息项目默认值
- 接收文档项目列表项
- 接收文档支付列表项
- 接收文档支付列表项支付条款
- 接收文档总计
- 安排电子邮件请求
- 发送电子发票请求
- 发送电子发票请求数据
- 发送电子发票请求选项
- 发送电子发票响应
- 发送电子发票响应数据
- 发送者电子邮件
- 供应商
- 供应商1
- 供应商2
- 转换已发行文档响应
- 上传存档附件响应
- 上传F24附件响应
- 上传已发行文档附件响应
- 上传接收文档附件响应
- 用户
- 增值税列表
- 增值税类型
- 增值税类型1
- 增值税类型2
- 增值税类型3
- 增值税类型4
- 验证电子发票XML错误响应
- 验证电子发票XML错误响应错误
- 验证电子发票XML错误响应错误验证结果
- 验证电子发票XML错误响应额外
- 验证电子发票XML响应
- 验证电子发票XML响应数据
- Webhooks订阅
- Webhooks订阅1
- Webhooks订阅配置
- Webhooks订阅配置1
要获取生成的文档,请使用
cargo doc --open
作者
依赖关系
~7-22MB
~306K SLoC