Add a companyAsk AIpost https://live.getsilverfin.com/api/v4/f/{firm_id}/companiesAdd a company. Required scope(s): administration:writePath Paramsfirm_idintegerrequiredBody Paramscompany_typestringCan either be: regular, analytical, consolidation, sole_trader, personalfirst_namestringrequired ONLY for personal fileslast_namestringrequired ONLY for personal filesnational_insurance_numberstringnamestringNOT required for personal filesperiods_per_yearintegerNOT required for personal files, can either be 1,4,12 (monthly, quarterly, yearly)accountancy_synchronisation_entity_idintegeraccountancy_synchronisation_referencestringaccount_mapping_list_idintegeradministration_synchronisation_entity_idintegeradministration_synchronisation_referencestringyear_enddaterequiredorganisation_formstringfile_codestringcompany_template_idintegerIf the ID is given, the company will use the company template identified by that ID. Otherwise: For regular companies, it will use the firm's default company template. For sole trader companies, it will use the firm's default sole trader template. For personal files (only considers active company templates - "can be manually added"), it will find a company template according to the following rules, in order: First personal company template having the Silverfin Personal Income Tax workflow as default First personal company template having the Silverfin Personal Income Tax workflow First personal company template visible_for_contributorsbooleantruefalsevat_identifierstringdeprecatedPlease use registration_number or vat_number insteadregistration_numberstringvat_numberstringstreetstringcitystringcountrystringcurrencystringcustom[][namespace]stringcustom[][key]stringcustom[][value]stringHeadersAcceptstringContent-TypestringResponse 201Successful responseUpdated 6 months ago