Also, the Vat.Type field for SlimFinanceAccountModelSlimFinanceAccountModel, used in GET /finance/v1/accounts/schema and GET /finance/v1/global-accounts will not contain Covid-VAT types anymore.
All endpoints, accepting account number as a query parameter, will continue to work as expected for both old and new account numbers.All endpoints, exposing account numbers, will have both old and new account numbers:
POST /finance/v1/accounts/aggregate-pairs-daily: use debitedAccount.number instead of debitedAccountNumber (same for credited);
POST /finance/v1/accounts/aggregate-daily: use account.number instead of accountNumber;
POST /finance/v1/accounts/aggregate: use account.number instead of accountNumber;
POST /finance/v1/accounts/export: use debitedAccount.number instead of debitedAccountNumber (same for credited);
POST /finance/v1/accounts/export-daily: use debitedAccount.number instead of debitedAccountNumber (same for credited);
GET /finance/v1/accounts/schema: use accountNumber instead of number;
GET /finance/v1/global-accounts: use accountNumber instead of number;
GET /finance/v1/guest-accounts: use accountNumber instead of number;
GET /finance/v1/external-accounts: use accountNumber instead of number;
GET /finance/v1/accounts/{number}: use accountNumber instead of number;
GET /finance/v1/accounts/child-accounts: use accountNumber instead of number.
In March 2021, old account numbers will be removed.
In order to better accommodate to the frequent changes in VAT regulations, we're changing the way how account numbers are generated:
Examples:
RevenueAccommodation_Normal
->RevenueAccommodation_Normal:19.00
;VatSpecial
->Vat_Special:10:00
;RevenueOther_Undefined-ReducedCovid19
->RevenueOther_Undefined:Reduced:5.00
.Also, the
Vat.Type
field forSlimFinanceAccountModelSlimFinanceAccountModel
, used inGET /finance/v1/accounts/schema
andGET /finance/v1/global-accounts
will not contain Covid-VAT types anymore.All endpoints, accepting account number as a query parameter, will continue to work as expected for both old and new account numbers. All endpoints, exposing account numbers, will have both old and new account numbers:
POST /finance/v1/accounts/aggregate-pairs-daily
: usedebitedAccount.number
instead ofdebitedAccountNumber
(same for credited);POST /finance/v1/accounts/aggregate-daily
: useaccount.number
instead ofaccountNumber
;POST /finance/v1/accounts/aggregate
: useaccount.number
instead ofaccountNumber
;POST /finance/v1/accounts/export
: usedebitedAccount.number
instead ofdebitedAccountNumber
(same for credited);POST /finance/v1/accounts/export-daily
: usedebitedAccount.number
instead ofdebitedAccountNumber
(same for credited);GET /finance/v1/accounts/schema
: useaccountNumber
instead ofnumber
;GET /finance/v1/global-accounts
: useaccountNumber
instead ofnumber
;GET /finance/v1/guest-accounts
: useaccountNumber
instead ofnumber
;GET /finance/v1/external-accounts
: useaccountNumber
instead ofnumber
;GET /finance/v1/accounts/{number}
: useaccountNumber
instead ofnumber
;GET /finance/v1/accounts/child-accounts
: useaccountNumber
instead ofnumber
.In March 2021, old account numbers will be removed.