# nuonuo-open-sdk
**Repository Path**: muphy1112/nuonuo-open-sdk
## Basic Information
- **Project Name**: nuonuo-open-sdk
- **Description**: 基于诺诺诺税通saas的快速框架,支持多税号,完善中
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-04-03
- **Last Updated**: 2024-06-14
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# nuonuo-open-sdk
#### 介绍
基于诺诺诺税通saas的快速框架,支持多税号
#### 软件架构
开发语言:Java
#### 安装教程
> maven引入
```shell
mvn install:install-file "-DgroupId=u8c.nuonuo" "-DartifactId=nuonuo-open-sdk" "-Dversion=1.0-SNAPSHOT" "-Dpackaging=jar" "-Dfile=nuonuo-open-sdk-1.0-SNAPSHOT.jar"
```
```yml
u8c.nuonuo
nuonuo-open-sdk
1.0-SNAPSHOT
```
#### 使用说明
> 配置文件`nuonuo.properties`
```config
339901999999142.appKey=SD5***018
339901999999142.appSecret=SD***C485E
339901999999142.taxnum=3399****99142
339901999999142.access_token=d274c2c5e3******a0wy1nbu4ws
339901999999142.token_url=https://open.nuonuo.com/accessToken
339901999999142.invoice_url=https://sandbox.nuonuocs.cn/open/v1/services
339901999999142.invoice_distinguish_url=https://sandbox.nuonuocs.cn/open/v2/ocr
339901999999142.invoice-line=p
339901999999142.invoice-difference-type=
```
> java api使用
```java
public static void main( String[] args )
{
System.out.println( "Hello World!" );
String taxnum = "SD5***018";
List nuonuoServices = NuonuoServiceFactory.getNuonuoServices(taxnum);
//List nuonuoServices = NuonuoServiceFactory.getNuonuoServices();
//NuonuoService nuonuoService = nuonuoServices.get(0);
NortaxInoicingApi nortaxInoicingApi = nuonuoService.getNortaxInoicingApi();
RequestBillingNew requestBillingNew = new RequestBillingNew();// 开票参数
ResultEntity res = nortaxInoicingApi.requestBillingNew(requestBillingNew); // 开票
NuoNuoConfig serviceConfig = nuonuoService.getServiceConfig();
System.out.println("serviceConfig.getTaxnum() = " + serviceConfig.getTaxnum());
}
```
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)