get
https://sandbox.onebrick.io/v1/company/reporting-history?year=
This API helps you to get company's history of reports that is usually done on monthly or yearly basis
Request parameters
| Key Parameter | Data Type | Description |
|---|---|---|
| user_access_token | String | token generated after successful institution connection through the widget which needs to be passed as the Bearer token in the Authorization header |
| year | Integer | The year of the desired reporting history list |
Response parameters
| Key Parameter | Data type | Description |
|---|---|---|
| spt_type | String | Type of the SPT report |
| spt_status | String | Status of the SPT report |
| spt_date | Date | Date of the SPT report |
| tax_amount | String | Amount of the SPT report |
| tax_year | Integer | Year of the SPT report |
| tax_month | Month | Month of the SPT report |
| correction | Object | Correction number of the SPT report |
| bpe_number | String | Number of the BPE (Bukti Penerimaan Elektronik) |
| bpe_date | String | Date of the BPE (Bukti Penerimaan Elektronik) |
