interface DetailedAccountV2 {
    account_id: number;
    account_number: string;
    array_counterpart_account:
        | null
        | CounterpartAccountLine[] & (null | DeepNullable<CounterpartAccountLine>)[];
    blocked: null | DeepNullable<boolean>;
    btp_autoliquidation: null | DeepNullable<boolean>;
    closed: null | DeepNullable<boolean>;
    comment: null | string;
    complementary_informations: null | DeepNullable<ComplementaryInformations>;
    counterpart_account?:
        | null
        | { account_id: number; account_number: string; label: string };
    das_2: null | DeepNullable<boolean>;
    exoneration: null | DeepNullable<boolean>;
    id_compte_contrepart: null | number;
    id_tva: null | number;
    intraco: null | DeepNullable<boolean>;
    label: string;
    param_vat_id: null | number;
    presta: null | DeepNullable<boolean>;
    quantities: Quantity[];
    sens: null | string;
    society_id: null | number;
    solde: null | number;
    vat_param: null | DeepNullable<VatParam>;
}

Hierarchy (View Summary)

Properties

account_id: number

Internal (postgres incremented) account id

account_number: string

Account number (or class). Example: 411FOOBAR

array_counterpart_account:
    | null
    | CounterpartAccountLine[] & (null | DeepNullable<CounterpartAccountLine>)[]
blocked: null | DeepNullable<boolean>
btp_autoliquidation: null | DeepNullable<boolean>
closed: null | DeepNullable<boolean>
comment: null | string
complementary_informations: null | DeepNullable<ComplementaryInformations>
counterpart_account?:
    | null
    | { account_id: number; account_number: string; label: string }

Type declaration

  • null
  • { account_id: number; account_number: string; label: string }
    • account_id: number

      Internal (postgres incremented) account id

    • account_number: string

      Account number (or class). Example: 411FOOBAR

    • label: string

      Account name

das_2: null | DeepNullable<boolean>
exoneration: null | DeepNullable<boolean>
id_compte_contrepart: null | number
id_tva: null | number
intraco: null | DeepNullable<boolean>
label: string

Account name

param_vat_id: null | number
presta: null | DeepNullable<boolean>
quantities: Quantity[]
sens: null | string
society_id: null | number
solde: null | number
vat_param: null | DeepNullable<VatParam>