---
title: "Update a counterpart's e-invoicing credentials"
method: PATCH
path: "/counterparts/{counterpart_id}/einvoicing_credentials/{credential_id}"
tags: ["Counterpart e-invoicing credentials"]
---

# Update a counterpart's e-invoicing credentials

`PATCH /counterparts/{counterpart_id}/einvoicing_credentials/{credential_id}`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/counterparts/{counterpart_id}/einvoicing_credentials/{credential_id}`
- Auth: HTTP bearer

## Path parameters

- `credential_id` string, required
- `counterpart_id` string, required

## Headers

- `x-monite-version` string, required
- `x-monite-entity-id` string, required

## Request body

- object
  - `network_identifier` string
  - `network_schema` 'DE:VAT' | 'NL:KVK' | 'NL:VAT' | 'BE:VAT' | 'BE:EN'

## Response `200`

Successful Response

- CounterpartEinvoicingCredentialResponse
  - `id` string, uuid, required
  - `network_identifier` string, required
  - `network_schema` 'DE:VAT' | 'NL:KVK' | 'NL:VAT' | 'BE:VAT' | 'BE:EN', required

## Other responses

- `401`: The `Authorization` header is missing or contains an invalid or expired access token. See [Authentication](https://docs.monite.com/api/concepts/authentication) to learn how to authenticate API calls.
- `404`: Not found
- `422`: Validation Error
- `429`: API rate limit has been exceeded. Check the response headers for the rate limit information.

---

[API](https://skmtc.dev/monite/apis/monite-2.md) - [All operations](https://skmtc.dev/monite/apis/monite-2/llms.txt) - [OpenAPI document](https://skmtc.dev/monite/apis/monite-2/revisions/4299ccf95edb?raw)
