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

# Update documents

> Update the documents process for a business user.

export const RestEndpointSubjects = ({subjects = []}) => {
  const subjectToIconMap = {
    'client': 'browser',
    'user:individual': 'user',
    'user:business': 'briefcase'
  };
  if (subjects.length === 0) {
    return null;
  }
  return <>
      {subjects.map(subject => <a key={subject} href="/rest-apis/authentication#subjects" className="border-0 opacity-85 hover:opacity-100 transition-opacity">
          <Badge stroke size="lg" icon={subjectToIconMap[subject]} color="gray" className="mr-1">
            {subject}
          </Badge>
        </a>)}
    </>;
};

<RestEndpointSubjects subjects={["user:business"]} />

<Note>This endpoint is currently available in **Sandbox** only. It is not yet available in **Production**.</Note>

**Update documents** attaches the corporate documents that evidence the business's existence, ownership, control, standing, and tax identity.

Each document is submitted as a slot referencing the `id` of a previously uploaded file. The endpoint is partial — slots you omit keep their current file.

## Document slots

Document slots are **functional**: each one serves a purpose — proving incorporation, ownership, control, good standing, or tax identity — rather than being tied to a specific, regionally named piece of paperwork. The examples below are illustrative; the exact document that satisfies a slot, and whether the slot is required at all, varies per region. See [Regional requirements](#regional-requirements) for the full matrix.

<AccordionGroup>
  <Accordion title="incorporation" icon="file-certificate">
    The document evidencing the incorporation of the business, such as a certificate of incorporation or articles of association.
  </Accordion>

  <Accordion title="ownership" icon="sitemap">
    The document evidencing the ownership of the business, such as a shareholder register or an ownership structure chart naming the beneficial owners.
  </Accordion>

  <Accordion title="control" icon="user-tie">
    The document evidencing who controls the business, such as a register of directors and/or officers.
  </Accordion>

  <Accordion title="standing" icon="file-shield">
    The document evidencing that the business is still active, such as a certificate of good standing.
  </Accordion>

  <Accordion title="taxIdentity" icon="receipt">
    The document evidencing the tax identity of the business, such as a tax registration certificate.
  </Accordion>
</AccordionGroup>

## Regional requirements

Document requirements vary from region to region, and from partner to partner based on their risk appetite and regulatory interpretation. The region is determined by the general [Terms of Service](../terms-of-service/introduction#general-terms) the business accepted when it was [created](../users/create-user), not by its registration or operating address.

Only the documents collected through the API are listed here — those Uphold obtains itself, through a lookup or an automated verification, are never requested from you. For UK businesses that accounts for every slot, so the `documents` process is `exempt` in its entirety and there is nothing to submit.

| Document / Region   | <Tooltip tip="United Kingdom">UK</Tooltip>             | <Tooltip tip="United States of America">US</Tooltip>     | Notes                                                                                          |
| ------------------- | ------------------------------------------------------ | -------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| **`incorporation`** | <Icon icon="xmark" size={12} color="#ef4444" /> Exempt | <Icon icon="check" size={12} color="#10b981" /> Required | —                                                                                              |
| **`ownership`**     | <Icon icon="xmark" size={12} color="#ef4444" /> Exempt | <Icon icon="scale-balanced" size={14} /> Conditional¹    | ¹Not required for sole proprietors                                                             |
| **`control`**       | <Icon icon="xmark" size={12} color="#ef4444" /> Exempt | <Icon icon="scale-balanced" size={14} /> Conditional²    | ²Not required for sole proprietors, nor for private limited companies with a single 100% owner |
| **`standing`**      | <Icon icon="xmark" size={12} color="#ef4444" /> Exempt | <Icon icon="scale-balanced" size={14} /> Conditional³    | ³Only when the platform cannot verify standing autonomously                                    |
| **`taxIdentity`**   | <Icon icon="xmark" size={12} color="#ef4444" /> Exempt | <Icon icon="check" size={12} color="#10b981" /> Required | —                                                                                              |

## Submitting a document

1. **Create the file** — call [Create file](../files/create-file) with the `document` category, then upload the file using the returned `upload` object.
2. **Attach it** — call this endpoint with the file `id` in the corresponding slot, e.g. `input.incorporation.fileId`.

<Tip>To detach a document, send `null` for its slot.</Tip>


## OpenAPI

````yaml _media/specs/core-openapi.mintlify.json patch /core/kyb/processes/documents
openapi: 3.1.0
info:
  version: 0.1.0
  title: Core API
  description: >-
    The Core API provides essential building blocks that empower businesses to
    embed financial services into their applications.
  contact:
    name: Uphold API Team
    email: developers@uphold.com
    url: https://developer.uphold.com
servers:
  - url: https://api.enterprise.sandbox.uphold.com
    description: Sandbox
  - url: https://api.enterprise.uphold.com
    description: Production
security:
  - OAuth2: []
tags:
  - name: Authentication
    description: Authentication.
  - name: Countries
    description: Countries.
  - name: Users
    description: Users.
  - name: KYC
    description: Individual User's KYC.
  - name: KYB
    description: Business User's KYB.
  - name: Capabilities
    description: User capabilities.
  - name: Terms of service
    description: User terms of service.
  - name: Files
    description: Files.
  - name: Assets
    description: Assets, networks and rails.
  - name: Accounts
    description: Accounts.
  - name: External accounts
    description: External accounts.
  - name: Transactions
    description: Transactions.
  - name: Portfolio
    description: Portfolio.
  - name: Statements
    description: Statements.
  - name: Metadata
    description: Metadata.
  - name: Webhooks
    description: Webhooks.
paths:
  /core/kyb/processes/documents:
    patch:
      tags:
        - KYB
      summary: Update documents
      description: Update the documents process for a business user.
      operationId: core.update-kyb-documents
      requestBody:
        $ref: '#/components/requestBodies/update-kyb-documents-request-body'
      responses:
        '200':
          $ref: '#/components/responses/update-kyb-documents-response'
        '404':
          $ref: '#/components/responses/update-kyb-documents-not-found-response'
        '409':
          $ref: '#/components/responses/update-kyb-documents-conflict-response'
      security:
        - OAuth2:
            - core.kyb.documents:update
components:
  requestBodies:
    update-kyb-documents-request-body:
      content:
        application/json:
          schema:
            type: object
            additionalProperties: false
            minProperties: 1
            properties:
              input:
                description: The input of the KYB process.
                type: object
                properties:
                  incorporation:
                    anyOf:
                      - $ref: '#/components/schemas/kyb-document'
                      - type: 'null'
                    description: The document evidencing the incorporation of the business.
                  ownership:
                    anyOf:
                      - $ref: '#/components/schemas/kyb-document'
                      - type: 'null'
                    description: >-
                      The document evidencing the ownership of the business,
                      such as the beneficial owners.
                  control:
                    anyOf:
                      - $ref: '#/components/schemas/kyb-document'
                      - type: 'null'
                    description: >-
                      The document evidencing who controls the business, such as
                      directors and/or officers.
                  standing:
                    anyOf:
                      - $ref: '#/components/schemas/kyb-document'
                      - type: 'null'
                    description: The document evidencing that the business is still active.
                  taxIdentity:
                    anyOf:
                      - $ref: '#/components/schemas/kyb-document'
                      - type: 'null'
                    description: The document evidencing the tax identity of the business.
            required:
              - input
          examples:
            Update Documents Process:
              value:
                input:
                  incorporation:
                    fileId: 56d398c2-cf46-4457-a491-cdc93191fd1a
  responses:
    update-kyb-documents-response:
      description: KYB documents process updated.
      content:
        application/json:
          schema:
            type: object
            properties:
              documents:
                $ref: '#/components/schemas/kyb-documents'
            required:
              - documents
          examples:
            Process Updated:
              value:
                documents:
                  code: documents
                  status: ok
                  input:
                    incorporation:
                      fileId: 56d398c2-cf46-4457-a491-cdc93191fd1a
      headers:
        x-uphold-request-id:
          description: >-
            A unique identifier for the request that can be shared with Uphold
            for troubleshooting purposes.
          required: true
          schema:
            type: string
            format: uuid
          examples:
            Request ID:
              value: 9092ee4d-f0fb-42e9-8787-b668dbcec531
    update-kyb-documents-not-found-response:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
          examples:
            File Not Found:
              value:
                code: entity_not_found
                message: A file specified in the request cannot be found
                details:
                  context: body
                  entity: file
                  property: input.incorporation.fileId
      headers:
        x-uphold-request-id:
          description: >-
            A unique identifier for the request that can be shared with Uphold
            for troubleshooting purposes.
          required: true
          schema:
            type: string
            format: uuid
          examples:
            Request ID:
              value: 9092ee4d-f0fb-42e9-8787-b668dbcec531
    update-kyb-documents-conflict-response:
      description: Business logic error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/error'
          examples:
            File Invalid:
              value:
                code: file_invalid
                message: A file specified in the request has not been uploaded
                details:
                  context: body
                  property: input.incorporation.fileId
      headers:
        x-uphold-request-id:
          description: >-
            A unique identifier for the request that can be shared with Uphold
            for troubleshooting purposes.
          required: true
          schema:
            type: string
            format: uuid
          examples:
            Request ID:
              value: 9092ee4d-f0fb-42e9-8787-b668dbcec531
  schemas:
    kyb-document:
      type: object
      additionalProperties: false
      properties:
        fileId:
          description: The id of the file.
          type: string
          format: uuid
      required:
        - fileId
    kyb-documents:
      description: The KYB documents object.
      type: object
      properties:
        code:
          description: The code of the KYB process.
          type: string
          const: documents
        status:
          $ref: '#/components/schemas/kyb-process-status'
        input:
          description: Input of the KYB process.
          type: object
          additionalProperties: false
          properties:
            incorporation:
              allOf:
                - $ref: '#/components/schemas/kyb-document'
                - description: The document evidencing the incorporation of the business.
            ownership:
              allOf:
                - $ref: '#/components/schemas/kyb-document'
                - description: >-
                    The document evidencing the ownership of the business, such
                    as the beneficial owners.
            control:
              allOf:
                - $ref: '#/components/schemas/kyb-document'
                - description: >-
                    The document evidencing who controls the business, such as
                    directors and/or officers.
            standing:
              allOf:
                - $ref: '#/components/schemas/kyb-document'
                - description: The document evidencing that the business is still active.
            taxIdentity:
              allOf:
                - $ref: '#/components/schemas/kyb-document'
                - description: The document evidencing the tax identity of the business.
      required:
        - code
        - status
    error:
      description: The error information.
      allOf:
        - $ref: '#/components/schemas/feedback'
    kyb-process-status:
      description: Status of the KYB process.
      type: string
      enum:
        - ok
        - failed
        - running
        - pending
        - exempt
    feedback:
      description: A feedback message with a code and human-readable description.
      type: object
      properties:
        code:
          description: A short string with a brief explanation about the code reported.
          type: string
        message:
          description: A human-readable message providing more details.
          type: string
        details:
          description: Additional information about the feedback reported.
          type: object
          additionalProperties: true
      required:
        - code
        - message
  securitySchemes:
    OAuth2:
      type: oauth2
      description: OAuth 2.0 authentication.
      flows:
        clientCredentials:
          tokenUrl: /core/oauth2/token
          scopes:
            core.users:act-on-behalf-of: Grants access to act on behalf of a user
            core.users:create: Grants access to create users
            core.users:read: Grants access to view users
            core.users:delete: Grants access to delete users
            core.users.metadata:read: Grants access to view user metadata
            core.users.metadata:write: Grants access to modify user metadata
            core.kyc:read: Grants access to view KYC processes
            core.kyc.profile:update: Grants access to update profile KYC process
            core.kyc.address:update: Grants access to update address KYC process
            core.kyc.email:update: Grants access to update email KYC process
            core.kyc.phone:update: Grants access to update phone KYC process
            core.kyc.identity:update: Grants access to update identity KYC process
            core.kyc.proof-of-address:update: Grants access to update proof-of-address KYC process
            core.kyc.customer-due-diligence:update: Grants access to update customer due diligence KYC process
            core.kyc.enhanced-due-diligence:update: Grants access to update enhanced due diligence KYC process
            core.kyc.crypto-risk-assessment:update: Grants access to update crypto risk assessment KYC process
            core.kyc.self-categorization-statement:update: Grants access to update self-categorization statement KYC process
            core.kyc.tax-details:update: Grants access to update tax details KYC process
            core.kyb:read: Grants access to view KYB processes
            core.kyb.profile:update: Grants access to update profile KYB process
            core.kyb.documents:update: Grants access to update documents KYB process
            core.kyb.financial-institution:update: Grants access to update financial institution KYB process
            core.kyb.associated-persons:create: Grants access to create KYB associated persons
            core.kyb.associated-persons:read: Grants access to view KYB associated persons
            core.kyb.associated-persons:delete: Grants access to delete KYB associated persons
            core.kyb.associated-persons.profile:update: Grants access to update profile KYB associated person process
            core.kyb.associated-persons.identity:update: Grants access to update identity KYB associated person process
            core.kyb.associated-persons.proof-of-address:update: >-
              Grants access to update proof-of-address KYB associated person
              process
            core.kyb.attestation:trigger: Grants access to trigger the attestation process
            core.capabilities:read: Grants access to view user capabilities
            core.terms-of-service:read: Grants access to view terms of service
            core.terms-of-service:accept: Grants access to accept terms of service
            core.files:create: Grants access to create files
            core.files:read: Grants access to view files
            core.files.metadata:read: Grants access to view files metadata
            core.files.metadata:write: Grants access to modify files metadata
            core.accounts:create: Grants access to create accounts
            core.accounts:read: Grants access to view accounts
            core.accounts:update: Grants access to update accounts
            core.accounts:archive: Grants access to archive accounts
            core.accounts:deposit-method: >-
              Grants access to deposit method needed for depositing into
              accounts
            core.accounts:use-test-helpers: Grants access to test helpers of accounts
            core.accounts.metadata:read: Grants access to view accounts metadata
            core.accounts.metadata:write: Grants access to modify accounts metadata
            core.assets:use-test-helpers: Grants access to test helpers of assets
            core.external-accounts:create: Grants access to create external accounts
            core.external-accounts:read: Grants access to view external accounts
            core.external-accounts:update: Grants access to update external accounts
            core.external-accounts:delete: Grants access to delete external accounts
            core.external-accounts.metadata:read: Grants access to view external accounts metadata
            core.external-accounts.metadata:write: Grants access to modify external accounts metadata
            core.transactions:create: Grants access to commit quotes
            core.transactions:read: Grants access to view transactions
            core.transactions.metadata:read: Grants access to view transactions metadata
            core.transactions.metadata:write: Grants access to modify transactions metadata
            core.transactions.requests-for-information:read: Grants access to view transactions requests for information
            core.transactions.requests-for-information:update: Grants access to update transactions requests for information
            core.portfolio:read: >-
              Grants access to view portfolio overview, performance, and
              historical balance
            core.statements:read: Grants access to read statements
            core.webhooks:management-link: Grants access to create webhook management links

````