{
"cash_collection_invoice_id": 19732908350293,
"record_list": [
{
"refer_id": 19733434680417,
"refer_type": 1,
"cash_collection_amount": 1,
"cash_collection_invoice_amount": 1,
"cash_collection_comment": "备注文本"
}
]
}
curl --location --request POST 'https://api-sandbox.xiaoman.cn/v1/invoices/receiptRegistration/allocate' \
--header 'Authorization: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI2MzlhYTA1MmZlMGNkMzJhYmQyMWJlNWZjOGU2NWQ2ZDg5OGRhMmQxN2MwODI1NTgwZjA4M2M5MGU4MGU0MTZmZjI2YTQyNmYwYjVjOWQ1YSIsImp0aSI6IjI2ODMyNThlMDMyOTNjZDQ1ZWZiZGVkODQyZThjM2E0YmY1NDYyYTJjZDQ4NWEzMzlmN2ExMjE2YjQ3ZGZjMTZhMGUzMzdlMWU0NjA4YWNlIiwiaWF0IjoxNzQ3NjQ2NzIyLjgxMjg3OCwibmJmIjoxNzQ3NjQ2NzIyLjgxMjg4MSwiZXhwIjoxNzQ3Njc1NTIyLjgwMjc1NSwic3ViIjoiIiwic2NvcGVzIjpbXX0.VoNtwQCrv8w1DoittcOEfXCbV0kMpmizJQn9YLB934KRslg0SSX4ws8HA0kJir9PPzLVQirSaiGzJCUfN8KSh6w3fctZJ1Kwe7HZlVgZ13FqFWYX6RQ7FKNjT4-mimoAkXeyDcpZxxnIBJcURqeftcF0gfp_eWFr9Qm3Fj1k0ZSZKqpWuw45R-S9H8tZUHk0ArZz7uROhkJdu_ghTAmAENdpl_ndhihX_L2jDkLaFiPcviRAw6ouBevct7Cex_e1mLRJqQiFakgrHdyDOdT78X8HjBIKRWjTZLIQeh3GJnUxHZ3uxPNKmgV5gCBUJ-IK4457PkhFTABOv1LbHHif0w' \
--header 'Content-Type: application/json' \
--data-raw '{
"cash_collection_invoice_id": 19732908350293,
"record_list": [
{
"refer_id": 19733434680417,
"refer_type": 1,
"cash_collection_amount": 1,
"cash_collection_invoice_amount": 1,
"cash_collection_comment": "备注文本"
}
]
}'
{
"code": 0,
"now": "string",
"message": "string",
"data": {
"cash_collection_invoice_id": 0,
"cash_collection_invoice_no": "string",
"record_list": [
{
"cash_collection_id": 0,
"cash_collection_no": "string",
"cash_collection_currency": "string",
"cash_collection_exchange_rate": 0,
"cash_collection_exchange_rate_usd": 0,
"cash_collection_amount": 0,
"cash_collection_bank_charge": 0,
"cash_collection_invoice_amount": 0,
"cash_collection_invoice_bank_charge": 0,
"cash_collection_comment": "string",
"refer_id": 0,
"refer_type": 0,
"refer_no": "string",
"refer_amount": 0,
"cash_collection_collect_amount": 0,
"cash_collection_not_collect_amount": 0,
"exchange_loss_amount": 0,
"exchange_loss_amount_usd": 0
}
]
}
}