{
"sellerTaxNo": "string",
"sellerName": "string",
"sellerBankName": "string",
"sellerBankAccount": "string",
"sellerAddress": "string",
"sellerPhone": "",
"purchaserType": "1002",
"purchaserTaxNo": "",
"purchaserName": "",
"purchaserBankName": "",
"purchaserBankAccount": "",
"purchaserAddress": "",
"purchaserPhone": "",
"drawer": "string",
"applicant": "",
"checker": "",
"payee": "",
"invoiceType": "1001",
"invoiceConfig": {
"combination": "1001",
"invoiceRemarksContent": [
"string"
],
"mekeoutMode": "1",
"customRemark": "string"
},
"invoiceClassCode": "string",
"invoiceMedium": "1002",
"terminalNo": "",
"originInvoiceCode": "",
"originInvoiceNo": "",
"originInvoiceDate": "",
"redInfoNo": "",
"reasonCode": "",
"taxationMethod": "1001",
"invoiceRemarks": "",
"amountWithoutTax": 0,
"taxAmount": 0,
"totalAmount": 0,
"serialNo": "string",
"phones": "",
"emails": "",
"deduction": "new BigDecimal(0)",
"detailList": [
{
"orderId": 0,
"orderGroupNo": "string",
"orderNo": "",
"businessType": "",
"goodsLineNo": "string",
"goodsTaxCode": "string",
"goodsCode": "",
"sinopharmId": "",
"goodsName": "string",
"goodsAbbreviation": "",
"batchNo": "",
"goodsSpec": "",
"goodsUnit": "",
"goodsQuantity": 0,
"goodsPriceWithoutTax": 0,
"goodsPriceWithTax": 0,
"amountWithoutTax": 0,
"taxAmount": 0,
"deduction": "new BigDecimal(0)",
"goodsTaxRate": 0,
"goodsTotalAmount": 0,
"zeroTaxFlag": "1000",
"taxPre": "1001",
"taxPreCon": "",
"taxVersion": "",
"taxDeduction": "new BigDecimal(0)",
"goodsLineNature": "1001",
"sendAddress": "",
"purchaseName": "",
"quantitateFlag": "string",
"saleDeptName": "string",
"salesman": "string",
"billingFlag": "string",
"relativeOrderNo": "string",
"availableDate": "string",
"ownedCustomer": "string"
}
],
"extData": "",
"tenantId": "",
"systemSource": "",
"callbackUrl": "",
"taskNo": "string",
"sort": "string",
"showSellerBankInfo": "Y",
"showPurchaseBankInfo": "Y",
"autoPrintFlag": "1002",
"deptCode": "",
"deptName": "",
"purchaseCode": "",
"specialBizType": "1000",
"serviceDesc": {
"logisticsDetailList": [
{
"seqNo": "string",
"vehicleType": "string",
"vehicleCNo": "string",
"start": "string",
"destination": "string",
"cargoName": "string"
}
],
"buildService": {
"projectNo": "string",
"spot": "string",
"fullAddress": "string",
"projectName": "string",
"stepCityFlag": "string"
},
"reSaleService": {
"contractRecordNo": "string",
"reAddress": "string",
"fulladdress": "string",
"stepCityFlag": "string",
"projectNo": "string",
"totalAmountTax": "string",
"amountWithTax": "string",
"propertyRightNo": "string",
"unit": "string"
},
"rehHireService": {
"reAddress": "string",
"fulladdress": "string",
"startEndTime": "string",
"stepCityFlag": "string",
"propertyRightNo": "string",
"unit": "string"
}
}
}
curl --location --request POST '/invoice/makeOut/async' \
--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 '{
"sellerTaxNo": "string",
"sellerName": "string",
"sellerBankName": "string",
"sellerBankAccount": "string",
"sellerAddress": "string",
"sellerPhone": "",
"purchaserType": "1002",
"purchaserTaxNo": "",
"purchaserName": "",
"purchaserBankName": "",
"purchaserBankAccount": "",
"purchaserAddress": "",
"purchaserPhone": "",
"drawer": "string",
"applicant": "",
"checker": "",
"payee": "",
"invoiceType": "1001",
"invoiceConfig": {
"combination": "1001",
"invoiceRemarksContent": [
"string"
],
"mekeoutMode": "1",
"customRemark": "string"
},
"invoiceClassCode": "string",
"invoiceMedium": "1002",
"terminalNo": "",
"originInvoiceCode": "",
"originInvoiceNo": "",
"originInvoiceDate": "",
"redInfoNo": "",
"reasonCode": "",
"taxationMethod": "1001",
"invoiceRemarks": "",
"amountWithoutTax": 0,
"taxAmount": 0,
"totalAmount": 0,
"serialNo": "string",
"phones": "",
"emails": "",
"deduction": "new BigDecimal(0)",
"detailList": [
{
"orderId": 0,
"orderGroupNo": "string",
"orderNo": "",
"businessType": "",
"goodsLineNo": "string",
"goodsTaxCode": "string",
"goodsCode": "",
"sinopharmId": "",
"goodsName": "string",
"goodsAbbreviation": "",
"batchNo": "",
"goodsSpec": "",
"goodsUnit": "",
"goodsQuantity": 0,
"goodsPriceWithoutTax": 0,
"goodsPriceWithTax": 0,
"amountWithoutTax": 0,
"taxAmount": 0,
"deduction": "new BigDecimal(0)",
"goodsTaxRate": 0,
"goodsTotalAmount": 0,
"zeroTaxFlag": "1000",
"taxPre": "1001",
"taxPreCon": "",
"taxVersion": "",
"taxDeduction": "new BigDecimal(0)",
"goodsLineNature": "1001",
"sendAddress": "",
"purchaseName": "",
"quantitateFlag": "string",
"saleDeptName": "string",
"salesman": "string",
"billingFlag": "string",
"relativeOrderNo": "string",
"availableDate": "string",
"ownedCustomer": "string"
}
],
"extData": "",
"tenantId": "",
"systemSource": "",
"callbackUrl": "",
"taskNo": "string",
"sort": "string",
"showSellerBankInfo": "Y",
"showPurchaseBankInfo": "Y",
"autoPrintFlag": "1002",
"deptCode": "",
"deptName": "",
"purchaseCode": "",
"specialBizType": "1000",
"serviceDesc": {
"logisticsDetailList": [
{
"seqNo": "string",
"vehicleType": "string",
"vehicleCNo": "string",
"start": "string",
"destination": "string",
"cargoName": "string"
}
],
"buildService": {
"projectNo": "string",
"spot": "string",
"fullAddress": "string",
"projectName": "string",
"stepCityFlag": "string"
},
"reSaleService": {
"contractRecordNo": "string",
"reAddress": "string",
"fulladdress": "string",
"stepCityFlag": "string",
"projectNo": "string",
"totalAmountTax": "string",
"amountWithTax": "string",
"propertyRightNo": "string",
"unit": "string"
},
"rehHireService": {
"reAddress": "string",
"fulladdress": "string",
"startEndTime": "string",
"stepCityFlag": "string",
"propertyRightNo": "string",
"unit": "string"
}
}
}'
{
"code": "",
"message": "",
"data": {},
"time": ""
}