纷析云财务软件API
  1. 发票
纷析云财务软件API
发票
  • 应用
  • 用户
  • 总帐
  • 资金
  • 资产
  • 发票
  • 薪资
  • 设置
  • 发票
    • 发票 列表
      POST
    • 发票 新增
      POST
    • 发票 批量删除
      DELETE
    • 发票 批量变更业务类型
      GET
    • 发票 根据时间批量检查
      GET
    • 发票 批量检查
      GET
    • 发票 生成凭证
      POST
    • 发票 模板
      GET
    • 发票 导入数据
      POST
  • 发票业务类型
    • 发票业务类型 列表
      GET
    • 发票业务类型 新增
      POST
    • 发票业务类型 删除
      DELETE
  1. 发票

发票 新增

POST
https://v4.fenxi365.com/api/invoice
最后修改时间:2024-04-26 01:34:54
责任人:未设置
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://v4.fenxi365.com/api/invoice' \
--header 'Content-Type: application/json' \
--data-raw '{
    "id": 0,
    "accountSetsId": 0,
    "category": "未开具发票",
    "tradeDate": "string",
    "invoiceCode": "string",
    "invoiceNumber": "string",
    "state": "正常",
    "type": "OUT",
    "checkDate": "string",
    "customerName": "string",
    "creditCode": "string",
    "address": "string",
    "account": "string",
    "businessType": "string",
    "taxAmountExcluded": 0,
    "rate": 0,
    "rateStr": "string",
    "taxAmount": 0,
    "amount": 0,
    "haveDetail": true,
    "invoiceBusinessTypeId": 0,
    "voucherId": 0,
    "voucher": "string",
    "note": "string",
    "items": [
        {
            "id": 0,
            "invoiceId": 0,
            "accountSetsId": 0,
            "goodsName": "string",
            "specification": "string",
            "unit": "string",
            "quantity": 0,
            "amount": 0,
            "taxRate": 0,
            "tax": 0,
            "taxedItems": "string",
            "taxCalculationMethod": "string"
        }
    ]
}'
响应示例响应示例
{
  "success": false,
  "code": 0,
  "msg": "",
  "data": {}
}

请求参数

Body 参数application/json
id
integer  | null 
可选
accountSetsId
integer  | null 
可选
category
enum<string>  | enum<null> 
可选
枚举值:
未开具发票增值税普通发票增值税专用发票全电发票增值税专用发票全电发票普通发票税控机动车专用发票纳税检查调整
tradeDate
string  | null 
可选
invoiceCode
string  | null 
可选
invoiceNumber
string  | null 
可选
state
enum<string>  | enum<null> 
可选
枚举值:
正常作废全额红冲部分红冲
type
enum<string>  | enum<null> 
可选
枚举值:
OUTIN
checkDate
string  | null 
可选
customerName
string  | null 
可选
creditCode
string  | null 
可选
address
string  | null 
可选
account
string  | null 
可选
businessType
string  | null 
可选
taxAmountExcluded
number  | null 
可选
rate
number  | null 
可选
rateStr
string  | null 
可选
taxAmount
number  | null 
可选
amount
number  | null 
可选
haveDetail
boolean  | null 
可选
invoiceBusinessTypeId
integer  | null 
可选
voucherId
integer  | null 
可选
voucher
string  | null 
可选
note
string  | null 
可选
items
array[object (InvoiceItemsDto) {12}]  | null 
可选
id
integer  | null 
可选
invoiceId
integer  | null 
可选
accountSetsId
integer  | null 
可选
goodsName
string  | null 
可选
specification
string  | null 
可选
unit
string  | null 
可选
quantity
number  | null 
可选
amount
number  | null 
可选
taxRate
integer  | null 
可选
tax
number  | null 
可选
taxedItems
string  | null 
可选
taxCalculationMethod
string  | null 
可选
示例

返回响应

🟢200成功
application/json
Body
<p>****************************************************************************</p> <p><b>Copyright © 2010-2019纷析云(杭州)科技有限公司All Rights Reserved<b></p> <ul style="margin:15px;"> <li>Description : 统一返回请求结果</li> <li>Version : 1.0</li> <li>Creation : 2019年11月18日</li> <li>@author : ____′↘夏悸</li> </ul> <p>****************************************************************************</p>
success
boolean  | null 
可选
默认值:
true
code
integer  | null 
可选
默认值:
200
msg
string  | null 
可选
data
object (Invoice) 
可选
id
integer 
必需
accountSetsId
integer 
必需
type
string 
必需
category
string 
必需
state
string 
必需
tradeDate
string 
必需
checkDate
string 
必需
invoiceCode
string 
必需
invoiceNumber
string 
必需
customerName
string 
必需
address
string 
必需
account
string 
必需
note
string 
必需
creditCode
string 
必需
taxAmountExcluded
integer 
必需
taxAmount
integer 
必需
amount
integer 
必需
haveDetail
boolean 
必需
invoiceBusinessTypeId
integer 
必需
voucherId
integer 
必需
remark
string 
必需
上一页
发票 列表
下一页
发票 批量删除
Built with