Add expenseAsk AIpost https://api.officient.io/1.0/expenses/addThe api end-point to add an expense nd an optional category idBody Paramsemployee_idint32requiredDefaults to nullcategory_idint32requiredDefaults to 0For some integrations this is required not to be 0 which is the default category iddescriptionstringrequiredThis is the title for the expenseamountfloatthis is the price of the expense, this is only required when using a total amount categoryextra_informationstringdatestringthis is the day the expense has incurred on and is required when it is a total amount categoryfilenamestringthis is required when you want to add an expense with a total amount categoryfile_base64stringthis is required when you want to add an expense with a total amount categorydatesarray of stringsthis is required when you want to add an expense with a kilometer or day allowance expense category, multiple dates are also possible (ex: ["24/05/2023", "26/05/2023"])datesADD stringdistanceint32Defaults to 0this is required when you want to update to a killometer allowance expense category. This is equal to the total amount of kilometers that has been doneridestringenumDefaults to singlethis is the value if it's an outward or a round journey when using kilometer allowances, this defaults to singleAllowed:singledoubleResponses 200200 400400Updated 11 months ago