Skip to main content

Billing Account

JodGig::Company don't really have attributes to migrate to Billing::Account. however sync to Org::Company should immediately followed by creating Billing::Account if the company is a Legal Entity however we don't have automated way to identity whether a company is a Legal Entity or Business Unit

what we can do for now is, since all existing companies are migrated along with it's duplicate registration_no we can (weakly) assume that new company with a unique registration_no created is a Legal Entity

Billing Account

Billing::Account is created from Org::Company not JodGig::Company, so no mapping

ColumnValue
idPK, increment
org_company_idFK, org_company.id
uuidSecureRandom.uuid
statusaccepted values: [:active, :inactive, :suspended], defaults to :active