Pennylane API Client
    Preparing search index...

    Variable GetCustomerResponseSchemaConst

    GetCustomerResponseSchema: Union<
        [
            Struct<
                {
                    billing_address: Struct<
                        {
                            address: typeof String$;
                            city: typeof String$;
                            country_alpha2: typeof String$;
                            postal_code: typeof String$;
                        },
                    >;
                    billing_iban: NullOr<typeof String$>;
                    billing_language: Literal<["fr_FR", "en_GB", "de_DE"]>;
                    contacts: Struct<{ url: typeof String$ }>;
                    created_at: typeof String$;
                    customer_type: Literal<["company"]>;
                    delivery_address: Struct<
                        {
                            address: typeof String$;
                            city: typeof String$;
                            country_alpha2: typeof String$;
                            postal_code: typeof String$;
                        },
                    >;
                    emails: Array$<typeof String$>;
                    external_reference: typeof String$;
                    id: typeof Number$;
                    ledger_account: NullOr<Struct<{ id: typeof Number$ }>>;
                    mandates: Struct<{ url: typeof String$ }>;
                    name: typeof String$;
                    notes: NullOr<typeof String$>;
                    payment_conditions: Literal<
                        [
                            "upon_receipt",
                            "custom",
                            "7_days",
                            "15_days",
                            "30_days",
                            "30_days_end_of_month",
                            "45_days",
                            "45_days_end_of_month",
                            "60_days",
                        ],
                    >;
                    phone: typeof String$;
                    pro_account_mandates: Struct<{ url: typeof String$ }>;
                    recipient: typeof String$;
                    reference: NullOr<typeof String$>;
                    reg_no: typeof String$;
                    updated_at: typeof String$;
                    vat_number: typeof String$;
                },
            >,
            Struct<
                {
                    billing_address: Struct<
                        {
                            address: typeof String$;
                            city: typeof String$;
                            country_alpha2: typeof String$;
                            postal_code: typeof String$;
                        },
                    >;
                    billing_iban: NullOr<typeof String$>;
                    billing_language: Literal<["fr_FR", "en_GB", "de_DE"]>;
                    contacts: Struct<{ url: typeof String$ }>;
                    created_at: typeof String$;
                    customer_type: Literal<["individual"]>;
                    delivery_address: Struct<
                        {
                            address: typeof String$;
                            city: typeof String$;
                            country_alpha2: typeof String$;
                            postal_code: typeof String$;
                        },
                    >;
                    emails: Array$<typeof String$>;
                    external_reference: typeof String$;
                    first_name: typeof String$;
                    id: typeof Number$;
                    last_name: typeof String$;
                    ledger_account: NullOr<Struct<{ id: typeof Number$ }>>;
                    mandates: Struct<{ url: typeof String$ }>;
                    name: typeof String$;
                    notes: NullOr<typeof String$>;
                    payment_conditions: Literal<
                        [
                            "upon_receipt",
                            "custom",
                            "7_days",
                            "15_days",
                            "30_days",
                            "30_days_end_of_month",
                            "45_days",
                            "45_days_end_of_month",
                            "60_days",
                        ],
                    >;
                    phone: typeof String$;
                    pro_account_mandates: Struct<{ url: typeof String$ }>;
                    recipient: typeof String$;
                    reference: NullOr<typeof String$>;
                    updated_at: typeof String$;
                },
            >,
        ],
    > = ...

    Response schema for retrieving a single customer by id (company or individual). The customer type is discriminated by the customer_type field.