Company
Get accounting v2 data π«π·
Only available for FR. Returns accounting data of the company for a given month. For French companies, the data returned is the same than the one in the automatic accounting exports, so the company accounting exports have to be configured properly in order to get details by analytical code, and by employee.
Required scopes: accounting:read
get/companies/{companyId}/accounting-v2
Request
- Base URLhttps://partner-api.payfit.com
- AuthOAuth 2Authorization codehttps://oauth.payfit.com/authorizeToken URLhttps://oauth.payfit.com/tokenScopesaccounting:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companyIdstring required
The id of the company
Query parameters
datestring required
The month to fetch the data for. This must be in the format YYYYMM, January being the month "01".
Response
The accounting JSON of the company for a given month
Changes
No recorded changes to this operation across all 2 revisions of this API.