Extracto de un tercero
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/{id}/statement \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/{id}/statement', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/{id}/statement"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"payload": {
"contact": {
"id": 123,
"name": "<string>",
"roles": [
"<string>"
]
},
"currency": "<string>",
"other_currencies": [
"<string>"
],
"properties": [
{}
],
"opening_balance": 123,
"credits": 123,
"debits": 123,
"balance": 123,
"lines": [
{
"id": 123,
"date": "2023-12-25",
"property_id": 123,
"concept": "<string>",
"ledger_concept": "<string>",
"credit": 123,
"debit": 123,
"balance": 123,
"source_type": "<string>",
"source_id": 123
}
],
"cycle_breakdowns": [
{}
]
}
}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}Treasury Third Parties
Extracto de un tercero
Los movimientos de lo que la agencia le debe al tercero en un período, con saldo inicial, créditos, débitos y saldo corrido.
GET
/
api
/
v1
/
accounts
/
{account_id}
/
treasury
/
third_parties
/
{id}
/
statement
Extracto de un tercero
curl --request GET \
--url https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/{id}/statement \
--header 'api_access_token: <api-key>'const options = {method: 'GET', headers: {api_access_token: '<api-key>'}};
fetch('https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/{id}/statement', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.yampi.ai/api/v1/accounts/{account_id}/treasury/third_parties/{id}/statement"
headers = {"api_access_token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"payload": {
"contact": {
"id": 123,
"name": "<string>",
"roles": [
"<string>"
]
},
"currency": "<string>",
"other_currencies": [
"<string>"
],
"properties": [
{}
],
"opening_balance": 123,
"credits": 123,
"debits": 123,
"balance": 123,
"lines": [
{
"id": 123,
"date": "2023-12-25",
"property_id": 123,
"concept": "<string>",
"ledger_concept": "<string>",
"credit": 123,
"debit": 123,
"balance": 123,
"source_type": "<string>",
"source_id": 123
}
],
"cycle_breakdowns": [
{}
]
}
}{
"description": "<string>",
"errors": [
{
"field": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}Was this page helpful?