> ## Documentation Index
> Fetch the complete documentation index at: https://exsited.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update purchase general settings

> Changes settings in the `purchase` group of general settings and returns the group under `general_settings`.

Send the settings to change under `general_settings.purchase`. Values are strings such as `"true"` and `"false"`.

> [!NOTE]
>
> The SDK samples get their client from credentials your app registers once when it starts, as shown in [Authentication](https://exsited.mintlify.site/authentication.md#set-up-a-client). To try the call here, click **Try it**, set `host` to your Exsited API host name and paste an access token from [Get an access token](https://exsited.mintlify.site/api-reference/authentication/get-an-access-token.md). To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its `-d` payload.


## OpenAPI

````yaml PATCH /settings/general_settings/purchase
openapi: 3.1.0
info:
  title: Exsited API
  version: v4
servers:
  - url: https://{host}/api/v4
    variables:
      host:
        default: your-api-host.example.com
        description: Your Exsited API host name, without https://.
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Accounts
  - name: Account emails
  - name: Account groups
  - name: Communications
  - name: Communication profiles
  - name: Orders
  - name: Quote orders
  - name: Express
  - name: Usages
  - name: Sales reps
  - name: Gift certificates
  - name: Invoices
  - name: Pro-forma invoices
  - name: Payments
  - name: Refunds
  - name: Credit notes
  - name: Credit note applications
  - name: Reconciliations
  - name: Items
  - name: Inventory adjustments
  - name: Units of measurement
  - name: Zones
  - name: Shipping packages
  - name: Shipping rules
  - name: Fulfillment profiles
  - name: Fulfillment terms
  - name: Item fulfillments
  - name: Item receipts
  - name: Bookings
  - name: Rental assets
  - name: Return merchandise authorisations
  - name: Purchase orders
  - name: Purchase invoices
  - name: Purchase payments
  - name: Purchase refunds
  - name: Purchase credit notes
  - name: Purchase credit note applications
  - name: Purchase express
  - name: Return vendor authorizations
  - name: ABA files
  - name: Receive terms
  - name: Labours
  - name: Tasks
  - name: Timesheets
  - name: Milestones
  - name: Employees
  - name: Departments
  - name: Designations
  - name: Teams
  - name: Time periods
  - name: Workflows
  - name: Workflow settings
  - name: Events
  - name: Custom events
  - name: System events
  - name: Approvals
  - name: Approval profiles
  - name: Approval user groups
  - name: Alerts
  - name: Alert responsibility settings
  - name: Alert responsibilities
  - name: Action scripts
  - name: Note groups
  - name: Note attachments
  - name: Instance settings
  - name: Accounting codes
  - name: Additional codes
  - name: Billing periods
  - name: Charging periods
  - name: Pricing periods
  - name: Invoice terms
  - name: Days of the month
  - name: Countries
  - name: Salutations
  - name: Document templates
  - name: Email templates
  - name: Roles
  - name: Operators
  - name: Operator groups
  - name: User settings
  - name: Custom attributes
  - name: Custom components
  - name: Custom features
  - name: Custom fields
  - name: Custom forms
  - name: Attribute attachments
  - name: Portal
  - name: Integration connections
  - name: External databases
  - name: Reports
  - name: Applications
  - name: Organisation
  - name: Child organisations
  - name: Webhooks
paths:
  /settings/general_settings/purchase:
    patch:
      tags:
        - Instance settings
      summary: Update purchase general settings
      description: >-
        Send the settings to change under `general_settings.purchase`. Values
        are strings such as `"true"` and `"false"`.
      operationId: settings_update_settings_general_settings_purchase
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                general_settings:
                  type: object
                  properties:
                    purchase:
                      type: object
                      properties:
                        enable_last_purchase_price_look_up:
                          type: string
                        enable_purchase_quote:
                          type: string
                        supplier_invoice_id_should_be_unique:
                          type: string
                        use_global_warehouse:
                          type: string
                  required:
                    - purchase
              required:
                - general_settings
            example:
              general_settings:
                purchase:
                  enable_last_purchase_price_look_up: 'true'
      responses:
        '200':
          description: The `purchase` group as a read returns it, under `general_settings`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SettingsGeneralSettingsResponse'
      x-codeSamples:
        - lang: bash
          label: cURL
          source: >-
            curl -X PATCH
            "$EXSITED_BASE_URL/api/v4/settings/general_settings/purchase" \
              -H "Authorization: Bearer $ACCESS_TOKEN" \
              -H "Content-Type: application/json" \
              -d '{
                "general_settings": {
                  "purchase": {
                    "enable_last_purchase_price_look_up": "true"
                  }
                }
              }'
        - lang: python
          label: Python
          source: >
            from exsited import build_client


            client = build_client()


            response =
            client.settings.update_settings_general_settings_purchase(
                {"general_settings": {"purchase": {"enable_last_purchase_price_look_up": "true"}}}
            )

            print(response.data)
        - lang: javascript
          label: JavaScript
          source: >
            import {buildClient} from 'exsited';


            const client = await buildClient();


            const response = await
            client.settings.updateSettingsGeneralSettingsPurchase({
                general_settings: {purchase: {enable_last_purchase_price_look_up: 'true'}},
            });

            console.log(response.data);
        - lang: php
          label: PHP
          source: >
            use Exsited\Client\ClientRegistry;


            $client = ClientRegistry::buildClient();


            $response =
            $client->settings->updateSettingsGeneralSettingsPurchase([
                'general_settings' => ['purchase' => ['enable_last_purchase_price_look_up' => 'true']],
            ]);

            print_r($response->data);
        - lang: java
          label: Java
          source: >
            import com.exsited.client.ApiResponse;

            import com.exsited.client.ClientRegistry;

            import com.exsited.client.ExsitedClient;

            import
            com.exsited.resources.settings.settings_dto.SettingsDto.SettingsGeneralSettings;

            import java.util.Map;


            ExsitedClient client = ClientRegistry.buildClient();


            ApiResponse<SettingsGeneralSettings> response =
            client.settings().updateSettingsGeneralSettingsPurchase(
                    Map.of(
                            "general_settings", Map.of(
                                    "purchase", Map.of("enable_last_purchase_price_look_up", "true"))));
            System.out.println(response.getMap());
        - lang: csharp
          label: .NET
          source: >
            using Exsited.Client;


            await using var client = ExsitedClient.BuildClient();


            var response = await
            client.Settings.UpdateSettingsGeneralSettingsPurchaseAsync(new
            Dictionary<string, object?>

            {
                ["general_settings"] = new Dictionary<string, object?>
                {
                    ["purchase"] = new Dictionary<string, object?>
                    {
                        ["enable_last_purchase_price_look_up"] = "true",
                    },
                },
            });


            Console.WriteLine(response.Json);
        - lang: dart
          label: Dart
          source: >
            import 'package:exsited/exsited.dart';


            final client = buildClient();


            final response = await
            client.settings.updateSettingsGeneralSettingsPurchase({
              'general_settings': {
                'purchase': {'enable_last_purchase_price_look_up': 'true'},
              },
            });

            print(response.map);
        - lang: go
          label: Go
          source: "import (\n\t\"context\"\n\t\"fmt\"\n\t\"log\"\n\n\texsited \"github.com/exsited/exsited-sdk-go/v4\"\n)\n\nclient, err := exsited.BuildClient(nil)\nif err != nil {\n\tlog.Fatal(err)\n}\ndefer client.Close()\n\nresponse, err := client.Settings().UpdateSettingsGeneralSettingsPurchase(context.Background(), map[string]any{\n\t\"general_settings\": map[string]any{\n\t\t\"purchase\": map[string]any{\"enable_last_purchase_price_look_up\": \"true\"},\n\t},\n}, nil)\nif err != nil {\n\tlog.Fatal(err)\n}\nfmt.Println(response.Map)\n"
components:
  schemas:
    SettingsGeneralSettingsResponse:
      type: object
      properties:
        general_settings:
          $ref: '#/components/schemas/SettingsGeneralSettings'
    SettingsGeneralSettings:
      type: object
      properties:
        account:
          $ref: '#/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccount'
        dashboard:
          $ref: '#/components/schemas/SettingsGeneralSettingsDashboard'
        date_and_time:
          $ref: '#/components/schemas/SettingsGeneralSettingsDateAndTime'
        display:
          type: object
        general:
          type: object
        item:
          $ref: '#/components/schemas/SettingsGeneralSettingsItemUpdatedDetail'
        labour:
          $ref: '#/components/schemas/SettingsGeneralSettingsLabour'
        order:
          $ref: '#/components/schemas/SettingsGeneralSettingsOrder'
        portal:
          $ref: '#/components/schemas/SettingsGeneralSettingsPortal'
        product:
          $ref: '#/components/schemas/SettingsGeneralSettingsItemUpdatedProduct'
        purchase:
          $ref: '#/components/schemas/SettingsGeneralSettingsPurchase'
        security:
          $ref: '#/components/schemas/SettingsGeneralSettingsSecurity'
        transaction:
          $ref: '#/components/schemas/SettingsGeneralSettingsTransaction'
    SettingsFieldSettingsItemGeneralSettingsAccount:
      type: object
      properties:
        account_grouping:
          $ref: >-
            #/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccountAccountGrouping
        account_management:
          $ref: >-
            #/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccountAccountManagement
        additional_contact_1:
          $ref: >-
            #/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccountAdditionalContact1
        additional_contact_2:
          $ref: >-
            #/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccountAdditionalContact2
        additional_contact_3:
          $ref: >-
            #/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccountAdditionalContact3
        billing_contact:
          $ref: >-
            #/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccountBillingContact
        creation_of_subsidiary_account:
          $ref: >-
            #/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccountCreationOfSubsidiaryAccount
        enable_workflow_approval_for_account:
          type: string
        referral_tracking_at_account_level:
          $ref: >-
            #/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccountReferralTrackingAtAccountLevel
        require_email_address_for_account:
          type: string
        require_name_to_be_unique:
          type: string
        sales_rep_tracking_at_account_level:
          $ref: >-
            #/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccountSalesRepTrackingAtAccountLevel
        send_communication_as_groups:
          type: string
        shipping_contact:
          $ref: >-
            #/components/schemas/SettingsFieldSettingsItemGeneralSettingsAccountShippingContact
        unique_email_address_for_account:
          type: string
        unique_email_address_for_contacts:
          type: string
    SettingsGeneralSettingsDashboard:
      type: object
      properties:
        accounting:
          type: string
        defaultDashboard:
          description: Can be null.
        executive:
          type: string
        finance:
          type: string
        production:
          type: string
        purchase:
          type: string
        sales:
          type: string
    SettingsGeneralSettingsDateAndTime:
      type: object
      properties:
        date_format:
          type: string
        first_day_of_week:
          description: Can be null.
        time_format:
          type: string
        time_zone:
          type: string
    SettingsGeneralSettingsItemUpdatedDetail:
      type: object
      properties:
        available_charge_types:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailAvailableChargeTypes
        available_pricing_methods:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailAvailablePricingMethods
        charging_period_can_vary_from_billing_period:
          type: string
        charging_start_date_can_vary_from_billing_start_date:
          type: string
        enable_back_order:
          type: string
        enable_batch_tracking:
          type: string
        enable_bundle_item:
          type: string
        enable_direct_cost_item:
          type: string
        enable_family_cost_item:
          type: string
        enable_fixed_asset_item:
          type: string
        enable_gift_certificate_based_item:
          type: string
        enable_inventory_costing:
          type: string
        enable_inventory_management:
          type: string
        enable_pricing_profile:
          type: string
        enable_purchase:
          type: string
        enable_sales:
          type: string
        enable_serialization:
          type: string
        enable_supplier_management:
          type: string
        enable_variation:
          type: string
        enable_variation_based_item:
          type: string
        enable_warehouse_management:
          type: string
        enable_workflow_approval_for_item:
          type: string
        inventory_adjustment_rules:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailInventoryAdjustmentRules
        item_grouping:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailItemGrouping
        item_management:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailItemManagement
        pre_order:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailPreOrder
        pricing_period_can_vary_from_charging_period:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailPricingPeriodCanVaryFromChargingPeriod
        purchase_price_entered_is_inclusive_of_tax:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailPurchasePriceEnteredIsInclusiveOfTax
        require_name_to_be_unique:
          type: string
        sale_price_entered_is_inclusive_of_tax:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailSalePriceEnteredIsInclusiveOfTax
        use_on_sale_price:
          type: string
        use_pricing_level:
          type: string
        use_scheduling_of_future_pricing:
          type: string
        use_shipping_profile:
          type: string
        use_volume_pricing:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailUseVolumePricing
    SettingsGeneralSettingsLabour:
      type: object
      properties:
        require_email_address_for_labour:
          type: string
        unique_email_address:
          type: string
        unique_labour_name:
          type: string
    SettingsGeneralSettingsOrder:
      type: object
      properties:
        allow_name_to_be_changed_in_order:
          type: string
        allow_unit_price_to_be_changed_in_order:
          type: string
        default_fulfillment_status:
          type: string
        default_shipping_profile:
          description: Can be null.
        displayed_price_is_inclusive_of_tax:
          type: string
        enable_booking:
          type: string
        enable_last_sale_price_look_up_for_an_account:
          type: string
        enable_order_backdating:
          type: string
        enable_quote:
          type: string
        order_management:
          $ref: '#/components/schemas/SettingsGeneralSettingsOrderOrderManagement'
        referral_tracking_at_order_level:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsOrderReferralTrackingAtOrderLevel
        sales_rep_tracking_at_order_level:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsOrderSalesRepTrackingAtOrderLevel
        use_global_warehouse:
          type: string
    SettingsGeneralSettingsPortal:
      type: object
      properties:
        contacts:
          type: object
        enableCustomerPortal:
          type: string
        enableInviteToActivePortalForContact:
          type: string
        enableSpecifyPortalPasswordForContact:
          type: string
        settings:
          type: object
    SettingsGeneralSettingsItemUpdatedProduct:
      type: object
      properties:
        allow_item_sell_multi_quantity:
          type: string
        allow_plan_sell_multi_quantity:
          type: string
        allow_product_sell_multi_quantity:
          type: string
        allow_rate_sell_multi_quantity:
          type: string
        item_quantity_use:
          type: string
        plan_quantity_use:
          type: string
        product_quantity_use:
          type: string
        rate_quantity_use:
          type: string
    SettingsGeneralSettingsPurchase:
      type: object
      properties:
        allow_modification_of_following_purchase_credit_note_fields:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsPurchaseAllowModificationOfFollowingPurchaseCreditNoteFields
        allow_modification_of_following_purchase_invoice_fields:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsPurchaseAllowModificationOfFollowingPurchaseInvoiceFields
        allow_modification_of_following_purchase_payment_fields:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsPurchaseAllowModificationOfFollowingPurchasePaymentFields
        allow_modification_of_following_purchase_refund_fields:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsPurchaseAllowModificationOfFollowingPurchaseRefundFields
        enable_last_purchase_price_look_up:
          type: string
        enable_purchase_quote:
          type: string
        enable_workflow_approval_for_purchase_credit_note:
          type: string
        enable_workflow_approval_for_purchase_invoice:
          type: string
        enable_workflow_approval_for_purchase_order:
          type: string
        enable_workflow_approval_for_purchase_payment:
          type: string
        enable_workflow_approval_for_purchase_refund:
          type: string
        inventory_is_adjusted_when:
          type: string
        supplier_invoice_id_should_be_unique:
          type: string
        use_global_warehouse:
          type: string
    SettingsGeneralSettingsSecurity:
      type: object
      properties:
        enable_force_session_expire:
          type: string
        enable_two_factor_authentication:
          type: string
        implementerLogin:
          type: string
        session_expire_limit_hour:
          type: string
    SettingsGeneralSettingsTransaction:
      type: object
      properties:
        accounting_method:
          description: Can be null.
        allow_modification_of_following_credit_note_fields:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsTransactionAllowModificationOfFollowingCreditNoteFields
        allow_modification_of_following_invoice_fields:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsTransactionAllowModificationOfFollowingInvoiceFields
        allow_modification_of_following_payment_fields:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsTransactionAllowModificationOfFollowingPaymentFields
        allow_modification_of_following_refund_fields:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsTransactionAllowModificationOfFollowingRefundFields
        available_mediums_for_communication_preference:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsTransactionAvailableMediumsForCommunicationPreference
        create_negative_charge_to_accommodate_adjustment_required_for_order_cancel_or_change:
          type: string
        default_accounting_codes:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsTransactionDefaultAccountingCodes
        default_shipping_profile:
          description: Can be null.
        disable_notification_for_invoice_with_charges_of_zero_amount:
          type: string
        displayed_price_is_inclusive_of_tax:
          type: string
        enable_creation_of_automatic_payment_surcharge:
          type: string
        enable_discount_profile:
          type: string
        update_current_invoice_to_include_charge_adjustments:
          type: string
        update_invoice_to_include_current_payment_surcharge:
          type: string
    SettingsFieldSettingsItemGeneralSettingsAccountAccountGrouping:
      type: object
      properties:
        default_group:
          description: Can be null.
        enabled:
          type: string
    SettingsFieldSettingsItemGeneralSettingsAccountAccountManagement:
      type: object
      properties:
        default_manager:
          description: Can be null.
        enabled:
          type: string
    SettingsFieldSettingsItemGeneralSettingsAccountAdditionalContact1:
      type: object
      properties:
        display_name:
          type: string
        enabled:
          type: string
        require_email_address_for_additional_contact_1:
          type: string
        type:
          type: string
    SettingsFieldSettingsItemGeneralSettingsAccountAdditionalContact2:
      type: object
      properties:
        display_name:
          type: string
        enabled:
          type: string
        require_email_address_for_additional_contact_2:
          type: string
        type:
          type: string
    SettingsFieldSettingsItemGeneralSettingsAccountAdditionalContact3:
      type: object
      properties:
        display_name:
          type: string
        enabled:
          type: string
        require_email_address_for_additional_contact_3:
          type: string
        type:
          type: string
    SettingsFieldSettingsItemGeneralSettingsAccountBillingContact:
      type: object
      properties:
        display_name:
          type: string
        enabled:
          type: string
        require_email_address_for_billing_contact:
          type: string
        type:
          type: string
    SettingsFieldSettingsItemGeneralSettingsAccountCreationOfSubsidiaryAccount:
      type: object
      properties:
        default_group:
          description: Can be null.
        enabled:
          type: string
    SettingsFieldSettingsItemGeneralSettingsAccountReferralTrackingAtAccountLevel:
      type: object
      properties:
        default_referral_tracking:
          description: Can be null.
        enabled:
          type: string
    SettingsFieldSettingsItemGeneralSettingsAccountSalesRepTrackingAtAccountLevel:
      type: object
      properties:
        default_sales_rep_tracking:
          description: Can be null.
        enabled:
          type: string
    SettingsFieldSettingsItemGeneralSettingsAccountShippingContact:
      type: object
      properties:
        display_name:
          type: string
        enabled:
          type: string
        require_email_address_for_shipping_contact:
          type: string
        type:
          type: string
    SettingsGeneralSettingsItemUpdatedDetailAvailableChargeTypes:
      type: object
      properties:
        metered:
          type: string
        one_off:
          type: string
        recurring:
          type: string
    SettingsGeneralSettingsItemUpdatedDetailAvailablePricingMethods:
      type: object
      properties:
        discount_based:
          type: string
        markup_based:
          type: string
        standard:
          type: string
    SettingsGeneralSettingsItemUpdatedDetailInventoryAdjustmentRules:
      type: object
      properties:
        quantity_available_for_sale:
          type: string
        quantity_available_for_sale_determination:
          type: string
    SettingsGeneralSettingsItemUpdatedDetailItemGrouping:
      type: object
      properties:
        default_group:
          description: Can be null.
        enabled:
          type: string
    SettingsGeneralSettingsItemUpdatedDetailItemManagement:
      type: object
      properties:
        default_manager:
          description: Can be null.
        enabled:
          type: string
    SettingsGeneralSettingsItemUpdatedDetailPreOrder:
      type: object
      properties:
        enabled:
          type: string
        number_of_period:
          type: string
        period:
          type: string
    SettingsGeneralSettingsItemUpdatedDetailPricingPeriodCanVaryFromChargingPeriod:
      type: object
      properties:
        default_pricing_period:
          description: Can be null.
        enabled:
          type: string
    SettingsGeneralSettingsItemUpdatedDetailPurchasePriceEnteredIsInclusiveOfTax:
      type: object
      properties:
        enabled:
          type: string
        tax:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsItemUpdatedDetailPurchasePriceEnteredIsInclusiveOfTaxDetail
    SettingsGeneralSettingsItemUpdatedDetailSalePriceEnteredIsInclusiveOfTax:
      type: object
      properties:
        enabled:
          type: string
        tax:
          description: Can be null.
        tax_included_in_sales_price_is_based_on:
          type: string
    SettingsGeneralSettingsItemUpdatedDetailUseVolumePricing:
      type: object
      properties:
        all_units_fixed_pricing:
          type: string
        all_units_per_unit_pricing:
          type: string
        enabled:
          type: string
        incremental_fixed_pricing:
          type: string
        incremental_per_unit_pricing:
          type: string
    SettingsGeneralSettingsOrderOrderManagement:
      type: object
      properties:
        default_manager:
          description: Can be null.
        enabled:
          type: string
    SettingsGeneralSettingsOrderReferralTrackingAtOrderLevel:
      type: object
      properties:
        default_referral_tracking:
          description: Can be null.
        enabled:
          type: string
    SettingsGeneralSettingsOrderSalesRepTrackingAtOrderLevel:
      type: object
      properties:
        default_sales_rep_tracking:
          description: Can be null.
        enabled:
          type: string
    SettingsGeneralSettingsPurchaseAllowModificationOfFollowingPurchaseCreditNoteFields:
      type: object
      properties:
        refundable:
          type: string
    SettingsGeneralSettingsPurchaseAllowModificationOfFollowingPurchaseInvoiceFields:
      type: object
      properties:
        due_date:
          type: string
        issue_date:
          type: string
    SettingsGeneralSettingsPurchaseAllowModificationOfFollowingPurchasePaymentFields:
      type: object
      properties:
        payment_date:
          type: string
        payment_processor:
          type: string
        payment_reference:
          type: string
    SettingsGeneralSettingsPurchaseAllowModificationOfFollowingPurchaseRefundFields:
      type: object
      properties:
        refund_date:
          type: string
        refund_reference:
          type: string
    SettingsGeneralSettingsTransactionAllowModificationOfFollowingCreditNoteFields:
      type: object
      properties:
        credit_note_date:
          type: string
        refundable:
          type: string
    SettingsGeneralSettingsTransactionAllowModificationOfFollowingInvoiceFields:
      type: object
      properties:
        billing_period:
          type: string
        charge_period:
          type: string
        due_date:
          type: string
        issue_date:
          type: string
    SettingsGeneralSettingsTransactionAllowModificationOfFollowingPaymentFields:
      type: object
      properties:
        payment_date:
          type: string
        payment_processor:
          type: string
        payment_reference:
          type: string
    SettingsGeneralSettingsTransactionAllowModificationOfFollowingRefundFields:
      type: object
      properties:
        refund_date:
          type: string
        refund_reference:
          type: string
    SettingsGeneralSettingsTransactionAvailableMediumsForCommunicationPreference:
      type: object
      properties:
        email:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsTransactionAvailableMediumsForCommunicationPreferenceEmail
        postal_mail:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsTransactionAvailableMediumsForCommunicationPreferencePostalMail
        text_message:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsTransactionAvailableMediumsForCommunicationPreferenceTextMessage
        voice_mail:
          $ref: >-
            #/components/schemas/SettingsGeneralSettingsTransactionAvailableMediumsForCommunicationPreferenceVoiceMail
    SettingsGeneralSettingsTransactionDefaultAccountingCodes:
      type: object
      properties:
        account_payable:
          type: string
        account_receivable:
          type: string
        cash_and_cash_equivalent:
          type: string
        cost_of_goods_sold:
          type: string
        credit_note_payable:
          type: string
        deduction:
          type: string
        event_charge:
          type: string
        inventory:
          type: string
        payment_surcharge:
          type: string
        rounding:
          type: string
        sales_revenue:
          type: string
        tax:
          type: string
    SettingsGeneralSettingsItemUpdatedDetailPurchasePriceEnteredIsInclusiveOfTaxDetail:
      type: object
      properties:
        uuid:
          type: string
    SettingsGeneralSettingsTransactionAvailableMediumsForCommunicationPreferenceEmail:
      type: object
      properties:
        default:
          type: string
        enabled:
          type: string
    SettingsGeneralSettingsTransactionAvailableMediumsForCommunicationPreferencePostalMail:
      type: object
      properties:
        default:
          type: string
        enabled:
          type: string
    SettingsGeneralSettingsTransactionAvailableMediumsForCommunicationPreferenceTextMessage:
      type: object
      properties:
        default:
          type: string
        enabled:
          type: string
    SettingsGeneralSettingsTransactionAvailableMediumsForCommunicationPreferenceVoiceMail:
      type: object
      properties:
        default:
          type: string
        enabled:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An access token from `POST /api/v4/oauth2/token`. The SDKs get and renew
        it for you.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.