Bitzsoft.Integrations.Finance.Invoice 1.0.0-alpha.7

This is a prerelease version of Bitzsoft.Integrations.Finance.Invoice.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Bitzsoft.Integrations.Finance.Invoice --version 1.0.0-alpha.7
                    
NuGet\Install-Package Bitzsoft.Integrations.Finance.Invoice -Version 1.0.0-alpha.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bitzsoft.Integrations.Finance.Invoice" Version="1.0.0-alpha.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.Finance.Invoice" Version="1.0.0-alpha.7" />
                    
Directory.Packages.props
<PackageReference Include="Bitzsoft.Integrations.Finance.Invoice" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bitzsoft.Integrations.Finance.Invoice --version 1.0.0-alpha.7
                    
#r "nuget: Bitzsoft.Integrations.Finance.Invoice, 1.0.0-alpha.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bitzsoft.Integrations.Finance.Invoice@1.0.0-alpha.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bitzsoft.Integrations.Finance.Invoice&version=1.0.0-alpha.7&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Bitzsoft.Integrations.Finance.Invoice&version=1.0.0-alpha.7&prerelease
                    
Install as a Cake Tool

Bitzsoft.Integrations.Finance.Invoice

发票管理服务抽象层,统一接口定义与基础模型。

功能

定义发票管理服务的统一抽象接口,封装各供应商(百旺、金蝶、诺诺等)的通用操作能力,屏蔽 API 差异:

  • 开具蓝字发票、红字冲销、作废
  • 查询已开发票(支持日期范围和分页)、发票查验、获取详情
  • 发票交付
  • 供应商特有能力通过扩展接口提供(IInvoiceOcrProviderIInvoiceConfigProvider

核心接口

IInvoiceProvider

发票管理服务统一抽象接口,涵盖发票开具、红冲、查验、查询、交付等核心场景。

开票操作
方法 说明
IssueAsync 开具蓝字发票
RedFlushAsync 红字冲销发票
CancelAsync 作废发票
查询与查验
方法 说明
QueryAsync 查询已开发票(支持日期范围和分页)
VerifyAsync 发票查验
GetDetailAsync 获取发票详情
交付
方法 说明
DeliverAsync 交付发票

扩展接口

供应商特有能力通过独立接口提供,使用前检查 is 运算符:

  • IInvoiceOcrProvider,OCR 识别
  • IInvoiceConfigProvider,配置管理

模型

请求模型

  • InvoiceIssueRequest,开票请求
  • InvoiceRedFlushRequest,红冲请求
  • InvoiceDeliveryRequest,交付请求
  • InvoiceVerifyRequest,查验请求

响应模型

  • InvoiceIssueResult,开票结果
  • InvoiceQueryResult,查询结果
  • InvoiceVerifyResult,查验结果
  • InvoiceInfo,发票完整信息
  • InvoiceItem,发票明细项

其他模型

  • BuyerInfo,购买方信息
  • RedLetterApplyRequest / RedLetterApplyResult,红字信息表申请
  • DigitalInvoiceRequest,数电票请求
  • TaxBureauLoginResult,税局登录结果
  • InputQueryResult,进项查询结果

目标框架

  • .NET 5.0
  • .NET 8.0
  • .NET 10.0

安装

dotnet add package Bitzsoft.Integrations.Finance.Invoice
<PackageReference Include="Bitzsoft.Integrations.Finance.Invoice" Version="*" />

注册服务

本包为抽象层,不包含具体供应商配置。请查阅各实现包的文档或直接使用聚合包 Bitzsoft.Integrations.Finance.Invoice.All

实现包

包名 说明
Bitzsoft.Integrations.Finance.Invoice.Nuonuo 诺诺发票实现
Bitzsoft.Integrations.Finance.Invoice.Baiwang 百旺发票实现
Bitzsoft.Integrations.Finance.Invoice.Kingdee 金蝶发票实现
Bitzsoft.Integrations.Finance.Invoice.All 发票管理聚合包

相关包

包名 说明
Bitzsoft.Integrations.Finance 财税管理公共基础
Bitzsoft.Integrations.Compatibility 基础工具库
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Bitzsoft.Integrations.Finance.Invoice:

Package Downloads
Bitzsoft.Integrations.Finance.Invoice.Kingdee

金蝶发票云发票管理实现

Bitzsoft.Integrations.Finance.Invoice.Nuonuo

诺诺发票服务实现

Bitzsoft.Integrations.Finance.Invoice.Baiwang

百旺发票服务实现

Bitzsoft.Integrations.Finance.Invoice.All

发票管理服务聚合包 — 包含所有供应商实现

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 254 8/3/2026
1.0.0 253 8/2/2026
1.0.0-alpha.10 82 7/26/2026
1.0.0-alpha.9 83 7/12/2026
1.0.0-alpha.8 91 7/1/2026
1.0.0-alpha.7 101 6/16/2026
1.0.0-alpha.6 93 6/16/2026
1.0.0-alpha.5 84 6/14/2026