SolariumSolariumDocs
Browse The Docs

Docs/Guides

Country & Tax Setup

Set an organization's country, region and sales tax rules.

Every organization books under one country's rules. Canada has GST/HST, PST and QST with input tax credits and CRA GIFI account codes. The United States has sales tax collected per state and IRS form lines as account codes, chosen by business type. Any other supported country uses its own VAT- or GST-style rates and no account codes. The home currency is set at signup and can't change once transactions are booked.

Endpoints

POSTList CountriesCountries an organization can book in, each with its default home currency (empty when it must be picked from the supported currencies).POSTCountry OptionsA country's region picker, currency, account code system and capabilities before an organization exists. The same shape is on every organization as jurisdiction.POSTUpdate Country SettingsAny organization: its sales tax registration number and fiscal year end. A Canadian organization's registrationNumber is its GST/HST number, checked as 9 digits, RT and 4 digits (spaces ignored) and saved as "123456789 RT0001". A Quebec QST registrant can also set qstRegistrationNumber (usually 10 digits, TQ and 4 digits; another format is kept with a warning). Both print on invoices. A Canadian organization can also set entityType, its business structure (sole_proprietor, partnership or corporation, or empty for not set). It decides where an owner's draw goes on the financial statements and when a sole proprietor's GST/HST is due. Saving it moves no account. When an owner's draw is still waiting to move to its new code, jurisdiction.ownerDrawNeedsReview is true. Solarium's team moves it by hand when they next review the chart. For an organization outside Canada, also its region and either its own sales tax rates (generic countries) or its business type (US). The currency (generic countries) and the business type (US) can only change before any transactions are booked. Changing the business type re-codes every account to the new form's lines. Requires the owner or admin role. A Canadian organization's province and filing frequency are set with updateOrganization.