columns:
  date_comptable:
    type: date
  facture_id:
    type: bigint
    default: "0"
  montant_comptabilise:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_0:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_1:
    type: numeric(13,2)
    default: "0"
  montant_comptabilise_2:
    type: numeric(13,2)
    default: "0"
  montant_regle:
    type: numeric(13,2)
    default: "0"
  montant_regle_0:
    type: numeric(13,2)
    default: "0"
  montant_regle_1:
    type: numeric(13,2)
    default: "0"
  montant_regle_2:
    type: numeric(13,2)
    default: "0"
  no_facture:
    type: text
    not_null: NOT NULL
  od_avoir:
    type: character(1)
    default: "'0'::character varying"
  od_non_comptabilise:
    type: text
    default: "'0'::text"
  prestation_id:
    type: bigint
    default: "0"
  rubrique_comptabilisation_id:
    type: bigint
    default: "0"
  tiers_payant_id:
    type: bigint
indexes:
  i_facture_solde_tiers_h_1:
    column: no_facture
    method: btree
  i_facture_solde_tiers_h_2:
    column: prestation_id
    method: btree
  i_facture_solde_tiers_h_3:
    column: rubrique_comptabilisation_id
    method: btree
  i_facture_solde_tiers_h_4:
    column: date_comptable
    method: btree
  i_facture_solde_tiers_h_5:
    column: tiers_payant_id
    method: btree
  i_facture_solde_tiers_h_8:
    column: facture_id
    method: btree