Add a new invoice calculation algorithm change.

After provided date alghoritm with provided version will be used for all invoice calculations.

To get all algorithm changes see getInvoiceAlgorithmChanges, to remove existing algorithm change see removeInvoiceAlgorithmChange.

Input parameters

Parameter name Description Possible value Required
date Date after which new algorithm calculation version will be used, must specify a future date. API will return 1179 error otherwise. ISO date (yyyy-mm-dd) yes
version Invoice algorithm version, applied at this date and after. Possible versions for Classic BO - 2, 3, 4. Possible versions for Berlin BO - 2, 3. API will return error 1180 if provided version is not supported by account's BO. Integer yes


Field name Type Description
isAdded Integer (0 or 1) Was the new invoice calculation algorithm change added successfully.