Authorization: ********************
{
"entity": {
"id": "string"
},
"session_id": "string"
}
curl --location --request POST 'https://api.cbf.tcn.com/api/v1alpha1/integrationspublic/getinvoice' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"entity": {
"id": "string"
},
"session_id": "string"
}'
{
"fields": {
"property1": {
"bool_val": true
},
"property2": {
"bool_val": true
}
},
"amount_due": 0,
"amount_due_key": "string",
"invoices": {
"top_level_fields": [
{
"item_type": "UNSPECIFIED",
"name": "string",
"display_name": "string",
"value": "string",
"validation_type": "VALIDATION_NONE",
"format": "string"
}
],
"invoices": [
{
"top_level_fields": [
{
"item_type": "UNSPECIFIED",
"name": "string",
"display_name": "string",
"value": "string",
"validation_type": "VALIDATION_NONE",
"format": "string"
}
],
"items": [
{
"fields": [
{
"item_type": "UNSPECIFIED",
"name": "string",
"display_name": "string",
"value": "string",
"validation_type": "VALIDATION_NONE",
"format": "string"
}
]
}
]
}
]
}
}