CreateTrialBalancesReportSchema
Constructs a schema file for a trial balance report, allowing for customized formatting and data extraction.
Input
| Name | Type | Description |
| FileName | String | The name of the schema file to be generated. If left blank, the output will be a base64-encoded binary file. To modify the default schema directory, update the Locations property (e.g., Locations='C:\\Users\\User\\Desktop\\SageIntacct\\CustomSchemaDirectory\\'). |
| ReportName | String | The name of the report to be generated. |
| Reportingperiodname | String | Reporting period name. Required if not using startdate and enddate. |
| Startdate | String | Opening balance date. Required if not using reportingperiodname. |
| Enddate | String | Closing balance date. Required if not using reportingperiodname. |
| Debitcreditbalance | String | Set to true to show starting and ending balance debits and credits. (Default: false) |
| Showzerobalances | String | Show zero balance accounts. Use true or false. (Default: false) |
| Showdeptdetail | String | Expand department detail. Use true or false. (Default: false) |
| Showlocdetail | String | Expand location detail. Use true or false. (Default: false) |
| Reportingbook | String | Reporting book ID. Use ACCRUAL or CASH depending on the company configuration. If Global Consolidations is enabled, you can provide a consolidation book ID instead. (Default: Configured reporting book ID) |
| Adjbooks | String | Adjustment book IDs for journals that are enabled in the GL configuration. Use GAAP, TAX, and/or the IDs of user defined books. Do not append text to the IDs. If you need help, look at the Trial Balance page in the Sage Intacct UI to see what is enabled. |
| Includereportingbook | String | Combine reporting book with other adjustment books. Use true to include the reporting book entries with entries from the specified adjustment books, or false to return only entries for the specified adjustment books. |
| Statistical | String | Statistical accounts. Use either include, exclude, or only. (Default: include) |
| Departmentid | String | Department ID. |
| Dept_subs | String | Include department subs. (Default: true) |
| Locationid | String | Location ID. This field is required in a multi-base currency company. |
| Loc_subs | String | Include location subs. (Default: true) |
| Projectid | String | Project ID or project group ID. |
| Projectid_subs | String | Include project subs. (Default: true) |
| Projecttypeid | String | Project type. Do not use if Project ID is set. |
| Taskid | String | Task ID. Only available when the parent projectid is also specified. |
| Taskid_subs | String | Include task sub dimensions. (Default: true) |
| Customerid | String | Customer ID or customer group ID. |
| Customerid_subs | String | Include customer subs. (Default: true) |
| Customertypeid | String | Customer type. Do not use if Customer ID is set. |
| Vendorid | String | Vendor ID or vendor group ID. |
| Vendorid_subs | String | Include vendor subs. (Default: true) |
| Vendortypeid | String | Vendor type. Do not use if Vendor ID is set. |
| Employeeid | String | Employee ID or employee group ID. |
| Employeeid_subs | String | Include employee subs. (Default: true) |
| Employeetypeid | String | Employee type. Do not use if Employee ID is set. |
| Itemid | String | Item ID or item group ID. |
| Productlineid | String | Product line. Do not use if Item ID is set. |
| Classid | String | Class ID or class group ID. |
| Classid_subs | String | Include class subs. (Default: true) |
| Contractid | String | Contract ID or contract group ID. |
| Contractid_subs | String | Include contract subs. (Default: true) |
| Warehouseid | String | Warehouse ID or warehouse group ID. |
| Warehouseid_subs | String | Include warehouse subs. (Default: true) |
| Userdefineddimensions | String | User defined dimension filters. |
Result Set Columns
| Name | Type | Description |
| Result | String | Indicates whether the schema creation was successful or failed. |
| FileData | String | The generated schema file encoded in base64. This is only returned if FileName is not provided. |