Authorization: Bearer ********************{
"orderId": "869e0b0c-4747-4c1a-b316-6c7be0122fd3",
"bookId": "8c21fb10-a9c9-430d-8f50-16b87711288d",
"modelId": "datum.room",
"modelKey": "1105",
"status": "Valid",
"category": "Pay",
"income": true,
"indent": "NUM.PAYBILL",
"type": "GoodIn",
"items": [
{
"price": 100,
"quantity": 2,
"name": "云烟",
"code": "01.0003",
"amount": 200,
"payTermId": "766814e7-b5f1-46ea-b51f-f8c7efa160d1"
},
{
"price": 100,
"quantity": 1,
"name": "软玉溪",
"code": "01.0002",
"amount": 100,
"payTermId": "ad73b0b8-56b7-425d-8b5d-4e59aa0acf8a"
}
]
}curl --location --request POST '/api/bill/multi' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"orderId": "869e0b0c-4747-4c1a-b316-6c7be0122fd3",
"bookId": "8c21fb10-a9c9-430d-8f50-16b87711288d",
"modelId": "datum.room",
"modelKey": "1105",
"status": "Valid",
"category": "Pay",
"income": true,
"indent": "NUM.PAYBILL",
"type": "GoodIn",
"items": [
{
"price": 100,
"quantity": 2,
"name": "云烟",
"code": "01.0003",
"amount": 200,
"payTermId": "766814e7-b5f1-46ea-b51f-f8c7efa160d1"
},
{
"price": 100,
"quantity": 1,
"name": "软玉溪",
"code": "01.0002",
"amount": 100,
"payTermId": "ad73b0b8-56b7-425d-8b5d-4e59aa0acf8a"
}
]
}'{
"data": {
"id": "string",
"amount": 0,
"bookId": "string",
"code": "string",
"comment": "string",
"endAt": "2019-08-24T14:15:22.123Z",
"groupBy": "string",
"income": true,
"name": "string",
"orderId": "string",
"serial": "string",
"startAt": "2019-08-24T14:15:22.123Z",
"type": "string",
"category": "string",
"modelId": "string",
"modelKey": "string",
"sigma": "string",
"tenantId": "string",
"appId": "string",
"active": true,
"language": "string",
"metadata": "string",
"version": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"createdBy": "string",
"updatedAt": "2019-08-24T14:15:22.123Z",
"updatedBy": "string"
}
}