---
title: "Answer one of your codes"
description: "Mappings API"
---

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

# Answer one of your codes

{/* Generated by apps/docs/scripts/generate.ts from contracts/api/openapi.yaml. Do not edit. */}
<div class="cvo-op">
<div class="cvo-op-main">

<div class="cvo-op-header">
<div class="cvo-op-path-row">
<span class="cvo-method" data-method="put">PUT</span>
<code class="cvo-op-path-code">/v1/mappings/codes/&#123;list&#125;/&#123;code&#125;</code>
</div>
</div>

Your `code`, as your files write it, means `official` on the official `list`. Every mapping of yours reads it after its own code table. Only invoices made from now on read the new answer.

## Path parameters

## Request body

`application/json`, required

## Status codes

| Status | Meaning |
|---|---|
| `200` | `{version, code}`: the book's new version and the answer as saved. |
| `400` | `list` is not an official list, `code` is empty or too long, or `official` is not on `list` (`invalid_code_book_entry`). Nothing was saved. |
| `401` | No usable credential was sent (`invalid_credentials`). |
| `501` | This deployment keeps no database, so nothing can be saved (`no_database`). |

</div>
<div class="cvo-op-aside">

</div>
</div>

Source: https://docs.certinvo.com/reference/api/mappings/answer-one-of-your-codes/index.mdx
