New dimensions on account item

There are two new dimensions; costBearer and resultsCentre on account item of both receipts and supplier invoices.

CostBearer

We have added the costbearer item to account item to allow extraction of costbearer data on both supplier invoices and receipts.

{
"account": "1790",
"periodicity": {
"offsetAccount": "6210",
"startDate": "2020-04-01",
"endDate": "2021-03-31"
},
"costBearer": {
"targetValue": "55555"
},
"debit": "2495,29",
"credit": "0,00"
}

ResultsCentre

Additionally, resultscentre item to account item to allow extraction of resultscentre data on both supplier invoices and receipts.

{
"account": "1790",
"periodicity": {
"offsetAccount": "6210",
"startDate": "2020-04-01",
"endDate": "2021-03-31"
},
"resultsCentre": {
"targetValue": "1450"
},
"debit": "2495,29",
"credit": "0,00"
}

Affected resources

PUT ...{api}/{version}/companies/{companyID}/files/{fileID}/supplierInvoices

PUT...{api}/{version}/companies/{companyID}/files/{fileID}/receipts

GET ...{api}/{version}/companies/{companyID}/files/{fileID}/receipts

GET ...{api}/{version}/companies/{companyID}/files/{fileID}/supplierInvoices