- print
- invoice
- FileController
- <p>
- 销方发票列表查询POST
- 查询预制发票列表POST
- 销方发票列表导出POST
- 查询预制发票列表(湖南)POST
- 根据excel中的发票号码分页查询发票信息POST
- 导出预制发票列表POST
- 发票操作POST
- 预制发票明细查询GET
- 编辑预制发票明细行POST
- 获取开票人POST
- 批量打印POST
- 确认开票POST
- 批量打印销货清单POST
- 确认开票批量POST
- 发送邮件前校验POST
- 模糊查询POST
- 发送邮件前校验(新款)POST
- 发送邮件POST
- 折让分摊POST
- 测试链接哪个数据库GET
- 根据批次号查询预制发票POST
- 发送邮件(新款)POST
- 打印通知POST
- 预制发票取消POST
- 销方发票详情查询GET
- 预制发票解锁POST
- 通过销项发票查询进项发票信息POST
- 批量确认取消POST
- 预制发票明细查询GET
- 批量确认重试POST
- 手工下载pdf文件POST
- 手工从百旺同步发票数据POST
- 查询销项发票用途POST
- 绑定手工开具的发票POST
- 历史发票导入-新POST
- 二维码确认开票POST
- 历史发票导入-测试POST
- 发票部分红冲POST
- 允许关联的发票POST
- InvoiceDocController
- SaleInvoiceController
- InvoiceCountController
- InvoiceNotifyController
- InvoiceDetailsController
- InvoiceRedInfoController
- ExportPreInvoiceController
- KVConfigController
- 非业务接口,运维使用
- 发票回调接收第三方供应商发票操作结果
- cms-order
- 手工开具
- 组票开票
- 分组模板
- 手工开票
- 销项发票推送
- CompanyChannelConfigController
- PreInvoiceMaintainController
- QrInvoiceController
- AutoInvoiceRuleController
- 第三方接口配置Controller
- 订单相关操作controller
- 对账相关操作controller
- InvoiceErrorStrategyController
- PrintAppController
- 发票提供给业务系统相关操作controller
- 乐企开票相关接口
- OrderOperationLogController
- 系统配置相关操作controller
- 文件上传重置retryCountPOST
- 推送cms等业务系统POST
- 打印任务查询POST
- 打印POST
- 乐企发票生成POST
- 调文件中心接口POST
- 打印任务POST
分页查询模板
POST
/group/template/page
请求参数
Header 参数
Biz-Type
string
可选
默认值:
{{Biz-Type}}
Gksk-Access-Token
string
可选
默认值:
{{Gksk-Access-Token}}
Gksk-Tenant-Code
string
可选
默认值:
{{Gksk-Tenant-Code}}
Ou
string
可选
默认值:
60
Taxno
string
可选
默认值:
{{Taxno}}
token
string
可选
默认值:
{{token}}
tenantId
string
可选
默认值:
{{tenantId}}
systemSource
string
可选
默认值:
{{systemSource}}
Body 参数application/json
pageNo
integer | null
可选
默认值:
1
示例值:
1
pageSize
integer | null
可选
默认值:
20
示例值:
20
sortingFields
array[object (SortingField) {2}] | null
可选
field
string | null
字段
order
string | null
顺序
tenantId
string | null
可选
systemSource
string | null
可选
taxNo
string | null
可选
configId
integer | null
可选
templateName
string | null
可选
config
string | null
可选
templateType
string | null
可选
示例值:
customerList
array[object (CustomerInfo) {4}] | null
可选
titleCode
string | null
开票代码
示例值:
customerName
string | null
客户名称
示例值:
customerAddressId
string | null
可选
示例值:
invoiceType
array[string] | null
开票类型
defaultAllCustomer
boolean | null
可选
defaultAllDepart
boolean | null
可选
departId
string | null
可选
示例值:
createName
string | null
可选
示例
{
"pageNo": "1",
"pageSize": "20",
"sortingFields": [
{
"field": "string",
"order": "string"
}
],
"tenantId": "string",
"systemSource": "string",
"taxNo": "string",
"configId": 0,
"templateName": "string",
"config": "string",
"templateType": "",
"customerList": [
{
"titleCode": "",
"customerName": "",
"customerAddressId": "",
"invoiceType": [
"string"
]
}
],
"defaultAllCustomer": true,
"defaultAllDepart": true,
"departId": "",
"createName": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/group/template/page' \
--header 'Biz-Type: {{Biz-Type}}' \
--header 'Gksk-Access-Token: {{Gksk-Access-Token}}' \
--header 'Gksk-Tenant-Code: {{Gksk-Tenant-Code}}' \
--header 'Ou: 60' \
--header 'Taxno: {{Taxno}}' \
--header 'token: {{token}}' \
--header 'tenantId: {{tenantId}}' \
--header 'systemSource: {{systemSource}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageNo": "1",
"pageSize": "20",
"sortingFields": [
{
"field": "string",
"order": "string"
}
],
"tenantId": "string",
"systemSource": "string",
"taxNo": "string",
"configId": 0,
"templateName": "string",
"config": "string",
"templateType": "",
"customerList": [
{
"titleCode": "",
"customerName": "",
"customerAddressId": "",
"invoiceType": [
"string"
]
}
],
"defaultAllCustomer": true,
"defaultAllDepart": true,
"departId": "",
"createName": "string"
}'
返回响应
🟢200成功
application/json
Body
com.sinopharm.invoice.dto.response.Response<com.sinopharm.invoice.dto.page.Pager<com.sinopharm.invoice.sale.biz.dto.response.TemplatePageResponse>>
code
string | null
可选
message
string | null
可选
data
object (Pager«TemplatePageResponse»)
可选
com.sinopharm.invoice.dto.response.Response<com.sinopharm.invoice.dto.page.Pager<com.sinopharm.invoice.sale.biz.dto.response.TemplatePageResponse>>
totalCount
integer | null
可选
pageSize
integer | null
可选
currentPage
integer | null
可选
pages
integer | null
可选
records
array[object (TemplatePageResponse) {14}] | null
可选
time
string | null
可选
示例
{
"code": "",
"message": "",
"data": {
"totalCount": 0,
"pageSize": 0,
"currentPage": 0,
"pages": 0,
"records": [
{
"id": "",
"customerName": "",
"customerType": "",
"customerTypeNum": 0,
"customerNum": 0,
"titleNum": 0,
"invoiceName": "",
"name": "",
"isDefaultTemplate": 0,
"createBy": "",
"createTime": "",
"titleCode": "",
"invoiceType": "",
"seqNoTemplate": 0
}
]
},
"time": ""
}