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

# Retrieve Certificate Registration Status

> Retrieves the single most recent certificate registration record. It can be retrieved only within 30 seconds after registration, and is used to verify the detailed code on redirect.

For the certificate registration process, see [Delegated issuance](/en/api-introduction/usecase-delegated) or [Simple-approval reverse issuance](/en/api-introduction/usecase-reverse-simple).




## OpenAPI

````yaml /openapi.en.yaml get /v1/suppliers/{supplierKey}/certificates/latestHistory
openapi: 3.1.0
info:
  title: Bolta API
  description: >
    The Bolta e-tax invoice API. [API Overview](/en/api-introduction/overview) |
    [Authentication guide](/en/api-introduction/authentication) | [Use
    cases](/en/api-introduction/usecase-b2b)
  version: 1.0.0
servers:
  - url: https://xapi.bolta.io
    description: Bolta API server
security:
  - basicAuth: []
tags:
  - name: Tax Invoice
    description: >
      Issue and manage e-tax invoices. [Calculating the issuance
      amount](/en/api-introduction/issuance-guide) | [Amendment
      types](/en/api-introduction/amendment-guide)
  - name: Reverse Issuance
    description: >
      Request and manage reverse issuance of e-tax invoices. [Email-approval
      reverse issuance](/en/api-introduction/usecase-reverse-email) |
      [Simple-approval reverse
      issuance](/en/api-introduction/usecase-reverse-simple)
  - name: Cash Receipt
    description: >
      Issue, cancel, and check the status of cash receipts. Issuance and
      cancellation are asynchronous. Check the final result via webhook or the
      status API. [Cash receipt guide](/en/api-introduction/cash-receipt-guide)
      | [Webhook events](/en/api-introduction/webhook-events)
  - name: Supplier
    description: >
      Register and manage the supplier (issuer) that issues tax invoices.
      [Glossary](/en/api-introduction/glossary) | [Delegated
      issuance](/en/api-introduction/usecase-delegated)
  - name: Certificate
    description: >
      Register and manage the supplier's certificate. [Authentication
      guide](/en/api-introduction/authentication)
paths:
  /v1/suppliers/{supplierKey}/certificates/latestHistory:
    get:
      tags:
        - Certificate
      summary: Retrieve Certificate Registration Status
      description: >
        Retrieves the single most recent certificate registration record. It can
        be retrieved only within 30 seconds after registration, and is used to
        verify the detailed code on redirect.


        For the certificate registration process, see [Delegated
        issuance](/en/api-introduction/usecase-delegated) or [Simple-approval
        reverse issuance](/en/api-introduction/usecase-reverse-simple).
      parameters:
        - name: supplierKey
          in: path
          description: Supplier (issuer) identification key
          required: true
          example: SupplierKey_bf8paz
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  latestHistory:
                    type:
                      - object
                      - 'null'
                    properties:
                      identifier:
                        type: string
                        description: Identifier for the certificate registration request
                      supplierKey:
                        $ref: '#/components/schemas/ClientKey'
                      occurredAt:
                        type: string
                        description: Request processing timestamp (ISO 8601)
                      code:
                        type: string
                        description: Certificate registration result code
                      message:
                        type: string
                        description: Certificate registration result message
                    required:
                      - identifier
                      - supplierKey
                      - occurredAt
                      - code
                      - message
          headers: {}
        '403':
          description: >
            supplierKey authorization failed. The `code` in the response is
            `FORBIDDEN`. Returned when the supplierKey does not exist, belongs
            to another partner, or was not issued with the API key you are
            using. A supplierKey is issued per API key, so if you issued a new
            API key, register the supplierKey again with that key.
            [Authentication guide](/en/api-introduction/authentication)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      deprecated: false
components:
  schemas:
    ClientKey:
      type: string
      title: Supplier (issuer) identification key
      description: Supplier (issuer) identification key
    ErrorResponse:
      type: object
      description: The error response returned when an API request fails
      properties:
        code:
          type: string
          description: Error type identifier
        message:
          type: string
          description: Error description
      required:
        - code
        - message
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >-
        Base64-encode your API key and pass it. Enter the API key as the
        username and leave the password empty.

````