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

# Patch organisation

> Partially update an organisation's profile, settings, or bank details.



## OpenAPI

````yaml /api-reference/openapi.json patch /organisations/{id}
openapi: 3.1.1
info:
  title: Dolfin API
  description: >-
    Dolfin API for AR & AP. Authenticate using the `x-dolfin-api-key` header
    with the API key distributed to your organisation.
  version: v1
servers:
  - url: https://api.dolfinai.co
    description: Production
security:
  - {}
tags:
  - name: Webhooks
  - name: Users
  - name: TaxRates
  - name: Suppliers
  - name: Supplier Credit Notes
  - name: Bills
  - name: SpendCategories
  - name: Payables
  - name: RecurringInvoices
  - name: Receivables
  - name: Purchase Orders
  - name: Products
  - name: Payments
  - name: Invoices
  - name: Organisations
  - name: Members
  - name: MCP
  - name: Matching
  - name: Invoice Reminders
  - name: Industries
  - name: Gmail
  - name: Delivery Notes
  - name: Customers
  - name: Currencies
  - name: Credit Notes
  - name: Clients
  - name: ClientInvites
  - name: BankPayments
  - name: Bank details
  - name: Auth
  - name: ApprovalPolicies
  - name: ApiKeys
  - name: Agent
paths:
  /organisations/{id}:
    patch:
      tags:
        - Organisations
      summary: Patch organisation
      description: Partially update an organisation's profile, settings, or bank details.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchOrganisationRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganisationResponse'
        '400':
          description: >-
            Organisation.MissingName — organisation name is required


            Organisation.MissingIndustryId — industry ID is required


            Organisation.InvalidIndustryId — specified industry does not exist


            Organisation.InvalidContactEmail — contact email is not a valid
            email address


            Organisation.InvalidCountry — country code is not a valid ISO 3166-1
            alpha-2 code


            Organisation.InvalidColour — primary colour must be a valid hex
            colour


            Currency.NotFoundByCode — the specified currency is not supported
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '403':
          description: >-
            Organisation.InsufficientRole — caller's organisation role is below
            the level this action requires
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '404':
          description: >-
            Organisation.NotFound — the organisation does not exist or could not
            be resolved
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
components:
  schemas:
    PatchOrganisationRequest:
      type: object
      properties:
        name:
          type:
            - 'null'
            - string
        industryId:
          type:
            - 'null'
            - string
          format: uuid
        contactEmail:
          type:
            - 'null'
            - string
        phone:
          type:
            - 'null'
            - string
        website:
          type:
            - 'null'
            - string
        addressLine1:
          type:
            - 'null'
            - string
        addressLine2:
          type:
            - 'null'
            - string
        city:
          type:
            - 'null'
            - string
        postalCode:
          type:
            - 'null'
            - string
        country:
          type:
            - 'null'
            - string
          description: ISO 3166-1 alpha-2 country code (e.g. GB, US, DE)
        taxNumber:
          type:
            - 'null'
            - string
        companyRegistrationNumber:
          type:
            - 'null'
            - string
        vatRegistered:
          type:
            - 'null'
            - boolean
        businessType:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BusinessType'
        incorporationYear:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          format: int32
        employeeCount:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/EmployeeCount'
        annualRevenue:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/AnnualRevenue'
        avgInvoicesPerMonth:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/AvgInvoicesPerMonth'
        avgInvoiceValue:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/AvgInvoiceValue'
        primaryPaymentMethod:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/PrimaryPaymentMethod'
        primaryColour:
          type:
            - 'null'
            - string
        logoUrl:
          type:
            - 'null'
            - string
        defaultCurrency:
          type:
            - 'null'
            - string
          description: ISO 4217 currency code (e.g. GBP, USD, EUR)
        defaultPaymentTermsDays:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          format: int32
        latePaymentFee:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
            - 'null'
            - number
            - string
          format: double
        defaultInvoiceMessageTone:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/InvoiceTone'
        defaultReminderOffsets:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/InvoiceReminderOffset'
          description: >-
            Optional. Pre-set reminder offsets (relative to invoice DueDate)
            auto-scheduled when an invoice is sent. Duplicate entries are
            silently deduplicated. Pass an empty array to disable
            auto-scheduling for this organisation.
        bankDetails:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BankDetails'
        hasBeenOnboarded:
          type:
            - 'null'
            - boolean
    OrganisationResponse:
      required:
        - name
        - contactEmail
        - country
        - defaultReminderOffsets
      type: object
      properties:
        id:
          type: string
          format: uuid
        clientId:
          type: string
          format: uuid
        name:
          type: string
        industryId:
          type: string
          format: uuid
        industryCode:
          type:
            - 'null'
            - string
        industryDisplayName:
          type:
            - 'null'
            - string
        contactEmail:
          type: string
        phone:
          type:
            - 'null'
            - string
        website:
          type:
            - 'null'
            - string
        addressLine1:
          type:
            - 'null'
            - string
        addressLine2:
          type:
            - 'null'
            - string
        city:
          type:
            - 'null'
            - string
        postalCode:
          type:
            - 'null'
            - string
        country:
          type: string
          description: ISO 3166-1 alpha-2 country code (e.g. GB, US, DE)
        taxNumber:
          type:
            - 'null'
            - string
        companyRegistrationNumber:
          type:
            - 'null'
            - string
        vatRegistered:
          type:
            - 'null'
            - boolean
        businessType:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/BusinessType'
        incorporationYear:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          format: int32
        employeeCount:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/EmployeeCount'
        annualRevenue:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/AnnualRevenue'
        avgInvoicesPerMonth:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/AvgInvoicesPerMonth'
        avgInvoiceValue:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/AvgInvoiceValue'
        primaryPaymentMethod:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/PrimaryPaymentMethod'
        primaryColour:
          type:
            - 'null'
            - string
        logoUrl:
          type:
            - 'null'
            - string
        defaultCurrency:
          type:
            - 'null'
            - string
          description: ISO 4217 currency code (e.g. GBP, USD, EUR)
        defaultPaymentTermsDays:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          format: int32
        latePaymentFee:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
            - 'null'
            - number
            - string
          format: double
        defaultInvoiceMessageTone:
          $ref: '#/components/schemas/InvoiceTone'
        defaultReminderOffsets:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceReminderOffset'
          description: >-
            Pre-set reminder offsets (relative to invoice DueDate)
            auto-scheduled when an invoice is sent, unless the send request
            overrides them.
        bankDetails:
          $ref: '#/components/schemas/BankDetails'
        hasBeenOnboarded:
          type: boolean
        createdAt:
          type: string
          format: date-time
        createdBy:
          type:
            - 'null'
            - string
          format: uuid
        updatedAt:
          type: string
          format: date-time
        updatedBy:
          type:
            - 'null'
            - string
          format: uuid
    ProblemDetails:
      type: object
      properties:
        type:
          type:
            - 'null'
            - string
        title:
          type:
            - 'null'
            - string
        status:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - 'null'
            - integer
            - string
          format: int32
        detail:
          type:
            - 'null'
            - string
        instance:
          type:
            - 'null'
            - string
    BusinessType:
      enum:
        - SoleTrader
        - LimitedCompany
        - LLP
        - Partnership
        - null
    EmployeeCount:
      enum:
        - OneToTen
        - ElevenToFifty
        - FiftyOneToTwoHundred
        - TwoHundredToOneThousand
        - OneThousandPlus
        - null
    AnnualRevenue:
      enum:
        - Under100k
        - OneHundredToFiveHundredK
        - FiveHundredKToTwoM
        - TwoMPlus
        - null
    AvgInvoicesPerMonth:
      enum:
        - OneToTen
        - ElevenToFifty
        - FiftyToOneHundred
        - OneHundredPlus
        - null
    AvgInvoiceValue:
      enum:
        - Under500
        - FiveHundredToFiveK
        - FiveKToFiftyK
        - Over50k
        - null
    PrimaryPaymentMethod:
      enum:
        - BankTransfer
        - Card
        - DirectDebit
        - Cash
        - null
    InvoiceTone:
      enum:
        - Friendly
        - Direct
        - Formal
    InvoiceReminderOffset:
      enum:
        - OneWeekBefore
        - TwoDaysBefore
        - OnDueDate
        - TwoDaysAfter
        - OneWeekAfter
    BankDetails:
      type: object
      properties:
        accountHolderName:
          type:
            - 'null'
            - string
        accountNumber:
          type:
            - 'null'
            - string
        sortCode:
          type:
            - 'null'
            - string
        routingNumber:
          type:
            - 'null'
            - string
        iban:
          type:
            - 'null'
            - string
        bicSwift:
          type:
            - 'null'
            - string
        country:
          type:
            - 'null'
            - string
          description: ISO 3166-1 alpha-2 country code (e.g. GB, US, DE)
        currency:
          type:
            - 'null'
            - string
          description: ISO 4217 currency code (e.g. GBP, USD, EUR)

````