get https://sandbox.belvo.com/api/invoices/
Get a paginated list of all existing invoices in your Belvo account. By default, we return 100 results per page.
🔦 Filterable fields
Please see the table below for an alphabetized list of fields that you can filter your responses by. For more information on how to use filters, see our Filtering responses article.
Field | Available Filters |
---|---|
created_at | gt , gte , lt , lte , range |
id | = , in |
invoice_date | = , gt , gte , lt , lte , range |
invoice_identification | = , gt , gte , lt , lte , range |
link | = , in |
status | = , in |
total_amount | = , gt , gte , lt , lte , range |
type | = , in |
# Filtering results so that you get Invoices from one link:
https://sandbox.belvo.com/api/invoices/?link=link-id
# Filtering results so that you get Invoices from two links
# and are of type outflow and their status is vigente:
https://sandbox.belvo.com/api/invoices/?link__in=link-id1,link-id2&type=OUTFLOW&status=Vigente
// Filtering results so that you get the Invoices from one link:
client.invoices.list({
filters: {
link: "link-id"
}
})
// Filtering results so that you get the Invoices from two links
// and are of type outflow and their status is vigente:
client.invoices.list({
filters: {
link__in: "link-id-1, link-id-2",
type: "OUTFLOW",
status: "Vigente"
}
})
# Filtering results so that you get the Invoices from one link:
client.invoices.list(link="link-id")
# Filtering results so that you get the Invoices from two links
# # and are of type outflow and their status is vigente:
client.invoices.list(link__in="link-id1,link-id2", type="OUTFLOW", status="Vigente")
# Filtering results so that you get the Invoices from one link:
client.invoices.list(params: {
link: "link-id"
})
# Filtering results so that you get the Invoices from two links
# and are of type outflow and their status is vigente:
client.invoices.list(params: {
link__in: "link-id1, link-id1",
type: "OUTFLOW",
status: "Vigente"
})