Billing Account
The JodGig company sync creates one Billing::Account for every Org::Company it syncs.
- This includes a child company, because every company spends only its own account (Billing D16 — A company spends only its own billing account, never its parent's).
JodGig::Companyhas no attributes to copy intoBilling::Account.- The sync never creates a second account for a company that already owns one.
Billing Account
Billing::Account is created from Org::Company not JodGig::Company, so no mapping
| Column | Value |
|---|---|
| id | PK, increment |
| org_company_id | FK, org_company.id |
| uuid | SecureRandom.uuid |
| status | accepted values: [:active, :inactive, :suspended], defaults to :active |