发票 新增
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