---
title: "Update an e-invoicing connection"
method: PATCH
path: "/einvoicing_connections/{einvoicing_connection_id}"
tags: ["E-invoicing connections"]
---

# Update an e-invoicing connection

`PATCH /einvoicing_connections/{einvoicing_connection_id}`

## Request

- Base URL: `https://api.sandbox.monite.com/v1`
- URL: `https://api.sandbox.monite.com/v1/einvoicing_connections/{einvoicing_connection_id}`
- Auth: HTTP bearer

## Path parameters

- `einvoicing_connection_id` string, required

## Headers

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

## Request body

- object
  - `address` UpdateEinvoicingAddress
    - `address_line1` string, required: Street address line 1
    - `address_line2` string: Street address line 2
    - `city` string, required: City name
    - `postal_code` string, required: Postal/ZIP code
    - `state` string: State/Province/County
  - `is_receiver` boolean: Set to `true` if the entity needs to receive e-invoices.
  - `is_sender` boolean: Set to `true` if the entity needs to send e-invoices. Either `is_sender` or `is_receiver` or both must be `true`.

## Response `200`

Successful Response

- EinvoicingConnectionResponse
  - `id` string, uuid, required
  - `created_at` string, date-time, required: Date of Integration
  - `updated_at` string, date-time, required: Last update of Integration
  - `address` EinvoicingAddress, required
    - `address_line1` string, required: Street address line 1
    - `address_line2` string: Street address line 2
    - `city` string, required: City name
    - `country` 'DE' | 'NL' | 'BE', required
    - `postal_code` string, required: Postal/ZIP code
    - `state` string: State/Province/County
  - `credentials` EinvoicingNetworkCredentialsResponse[], required: List of credentials
    - `id` string, uuid, required: ID of the credentials
    - `created_at` string, date-time, required: Date of credential
    - `updated_at` string, date-time, required: Last update of credential
    - `einvoicing_connection_id` string, uuid, required: ID of the Einvoicing connection
    - `network_credentials_identifier` string, required: Network participant identifier
    - `network_credentials_schema` 'DE:VAT' | 'NL:KVK' | 'NL:VAT' | 'BE:VAT' | 'BE:EN', required
  - `entity_id` string, uuid, required: ID of the entity
  - `is_receiver` boolean: Set to `true` if the entity needs to receive e-invoices.
  - `is_sender` boolean: Set to `true` if the entity needs to send e-invoices. Either `is_sender` or `is_receiver` or both must be `true`.
  - `legal_name` string, required: Legal name of the Entity
  - `provider_id` string: ID assigned by integration partner
  - `status` string, required: Current status of the integration

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Business logic error
- `422`: Validation Error
- `500`: Internal Server Error

---

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