# Project Accounting Records

The [Project Accounting](https://mavenlink.zendesk.com/hc/en-us/articles/4403832107419-Project-Accounting)
Records object allows you to view, create, and delete financial records
related to revenue recognition, forecasting, and earned value.

## Fetching a list of Project Accounting Records

 - [GET /project_accounting_records](https://developer.kantata.com/kantata/specification/project-accounting-records/get-project-accounting-records.md): Returns all project accounting records (Baseline, Earned Value, Earned Value Forecasting,
Forecasting,  and Recognition), unless filter parameters have been applied.


This endpoint returns structured Project Accounting Records objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the project_accounting_records top-level JSON key.
Please see our Response Format section for more information.

## Creating a new Project Accounting Records

 - [POST /project_accounting_records](https://developer.kantata.com/kantata/specification/project-accounting-records/create-project-accounting-record.md): Creates a single or multiple project accounting records.

This endpoint returns structured Project Accounting Records objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the project_accounting_records top-level JSON key.
Please see our Response Format section for more information.

## Soft Deleting a Project Accounting Record

 - [PUT /project_accounting_records/delete](https://developer.kantata.com/kantata/specification/project-accounting-records/soft-delete-project-accounting-record.md): Soft deletes a specified project accounting record. View deleted records by
Fetching a list of Project Accounting Records with the show_deleted filter set to true.


This endpoint returns structured Project Accounting Records objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the project_accounting_records top-level JSON key.
Please see our Response Format section for more information.

## Exporting Project Account Records in a CSV

 - [GET /project_accounting_records/export_to_csv](https://developer.kantata.com/kantata/specification/project-accounting-records/export-project-accounting-record-to-csv.md): Downloads a .csv file of all project accounting records.


This endpoint returns structured Project Accounting Records objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the project_accounting_records top-level JSON key.
Please see our Response Format section for more information.

## Importing Project Account Records in a CSV

 - [POST /project_accounting_records/import_csv](https://developer.kantata.com/kantata/specification/project-accounting-records/import-project-accounting-records.md): Imports up to 5000 project accounting records with a
csv file
with a .txt or .csv extension.

Each row/line is a record, and each record has attributes. Headers
indicate which attributes are being specified for imported records.
Headers can include:

* Project ID (required)
* Story ID
* Role ID
* User ID
* Type (recommended)
* Period Start Date (required)
* Period End Date (required)
* Contract Date
* Currency (required)
* Revenue Method
* Amount
* Amount To Date
* Forecast
* Budget
* Cost
* Cost to Date
* Cost EAC
* Fees
* Labor Type
* Hours
* Hours EAC
* Hours ETC
* Total Estimated Hours
* Total Hours to Date
* Percent Complete
* Status
* Service Type
* Description
* Notes

Only Project ID, Period Start Date, Period End Date,
and Currency are required for a csv import. But when it is not specified,
Type defaults to Recognition. Other valid values for Type are
Baseline, Earned Value, Earned Value Forecasting, and Forecasting.


This endpoint returns structured Project Accounting Records objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the project_accounting_records top-level JSON key.
Please see our Response Format section for more information.

## Fetching a single Project Accounting Records

 - [GET /project_accounting_records/{id}](https://developer.kantata.com/kantata/specification/project-accounting-records/get-project-accounting-record.md): Returns a specified project accounting record.


This endpoint returns structured Project Accounting Records objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the project_accounting_records top-level JSON key.
Please see our Response Format section for more information.

