VUZDevelopers

Generate a report

POST
/reports/{reportType}/generate
X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Path Parameters

reportType*string

Value in

  • "profit_loss"
  • "balance_sheet"
  • "trial_balance"
  • "cash_flow"
  • "general_ledger"
  • "pcn874"
  • "vat_summary"
  • "annual_1301"
  • "annual_6111"
  • "withholding_tax"
  • "client_ledger"
  • "ar_aging"
  • "payment_book"
  • "receipts_by_method"
  • "supplier_ledger"
  • "ap_aging"
  • "income_by_client"
  • "income_by_product"
  • "income_by_period"
  • "client_list"
  • "document_list"
  • "credit_card_transactions"
  • "standing_orders"
  • "inventory_shrink"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/reports/profit_loss/generate" \  -H "Content-Type: application/json" \  -d '{    "reportType": "profit_loss"  }'
Empty