---
title: "Export Invoice AR Aging Report"
method: GET
path: "/invoice/account_receivable/export"
---

# Export Invoice AR Aging Report

`GET /invoice/account_receivable/export`

## Request

- Base URL: `https://dc-region.zuperpro.com/api`
- URL: `https://dc-region.zuperpro.com/api/invoice/account_receivable/export`
- Auth: API key in header `x-api-key`

Synchronously renders and returns an AR aging report file — no job queue/polling, the file comes back directly in the response body. Accepts the same module/filter params as Get Invoice AR Aging Detail, plus `type` and `render_engine`.

## Query parameters

- `module` 'INVOICE' | 'CUSTOMER' | 'ORGANIZATION'
- `type` 'PDF' | 'XLSX' | 'PRINT', required
- `render_engine` 'PUPPETEER' | 'PHANTOM'
- `filter.keyword` string
- `filter.aging_period` string
- `filter.customer` string
- `filter.due_date_from` string
- `filter.due_date_to` string

## Response `200`

200 — raw binary file, not a JSON envelope. XLSX returns Content-Type application/vnd.openxmlformats-officedocument.spreadsheetml.sheet with a Content-Disposition attachment header; PDF/PRINT returns Content-Type application/pdf.

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `3c21bc232e16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zuper/apis/zuper-pro-api/changes/invoice/account_receivable/export/get.md)

---

[API](https://skmtc.dev/zuper/apis/zuper-pro-api.md) - [All operations](https://skmtc.dev/zuper/apis/zuper-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zuper/apis/zuper-pro-api/revisions/3c21bc232e16?raw)
