Listar ajustes de facturas
RegistosGET /adjustments
Returns the credit notes and debit notes recorded against invoices across the tenant, newest first, with cursor pagination (limit defaults to 20, at most 100; pass next_cursor as after). Narrow the list with account_id, invoice_id or type (credit_note or debit_note). Requires invoices:read.
Parâmetros
limitMaximum resources to return (default 20, maximum 100).
afterOpaque cursor returned by the previous page.
Devolve
200 Invoice adjustments
Permissões invoices:read · Funções: admin, analyst, billing_clerk, customer_service, finance, owner, viewer
curl -X GET "$BUSINESS_API/adjustments" \
-H "Authorization: Bearer sk_test_..."
# Sem comando CLI equivalente; use cURL ou HTTP directo.
const res = await fetch("$BUSINESS_API/adjustments", {
method: "GET",
headers: {
Authorization: "Bearer sk_test_..."
}
});
const data = await res.json();
import requests
res = requests.get(
"$BUSINESS_API/adjustments",
headers={
"Authorization": "Bearer sk_test_..."
}
)
data = res.json()
req, _ := http.NewRequest("GET", "$BUSINESS_API/adjustments", nil)
req.Header.Set("Authorization", "Bearer sk_test_...")
resp, err := http.DefaultClient.Do(req)
Resposta 200
Invoice adjustments