{
"businessSystemCode": "string",
"interfaceCode": "invoiceSelect",
"requestId": "string",
"data": {
"taxNo": "string",
"billType": "0",
"authenticateFlag": 0,
"deductionPurpose": "1",
"asyncFlag": "string",
"invoices": [
{
"salerName": "string",
"salerTaxNo": "string",
"invoiceType": "4",
"invoiceCode": "string",
"invoiceNo": "string",
"etaxInvoiceNo": "string",
"invoiceDate": "2022-06-11",
"invoiceAmount": "string",
"effectiveTaxAmount": "string",
"totalTaxAmount": "string",
"notDeductibleType": "1"
}
]
}
}
curl --location --request POST 'https://cosmic-sandbox.piaozone.com/jdpjykjyxgs/kapi/app/rim/deduction?access_token=' \
--header 'access_token: {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"businessSystemCode": "string",
"interfaceCode": "invoiceSelect",
"requestId": "string",
"data": {
"taxNo": "string",
"billType": "0",
"authenticateFlag": 0,
"deductionPurpose": "1",
"asyncFlag": "string",
"invoices": [
{
"salerName": "string",
"salerTaxNo": "string",
"invoiceType": "4",
"invoiceCode": "string",
"invoiceNo": "string",
"etaxInvoiceNo": "string",
"invoiceDate": "2022-06-11",
"invoiceAmount": "string",
"effectiveTaxAmount": "string",
"totalTaxAmount": "string",
"notDeductibleType": "1"
}
]
}
}'
{
"errorCode": "string",
"message": "string",
"success": true,
"data": {
"asyncFlag": "string",
"taskNo": "string",
"success": [
{
"selectResult": "1",
"description": "string",
"invoiceCode": "string",
"invoiceNo": "string",
"invoiceDate": "string",
"selectDate": "string",
"taxPeriod": "string",
"effectiveTaxAmount": "string",
"notDeductibleType": "1"
}
],
"fail": [
{
"invoiceCode": "string",
"invoiceNo": "string",
"invoiceDate": "string",
"description": "string",
"selectResult": "1"
}
]
}
}