---
title: "Anexar arquivos"
method: PUT
path: "/receivables/files"
tags: ["Receivables"]
---

# Anexar arquivos

`PUT /receivables/files`

Esta rota tem como objetivo anexar novos arquivos aos recebíveis indicados.

## Request body

- object
  - `receivables` ReceivableFilesSchema[]
    - `payerTaxId` string, required — Documento do sacado
    - `payeeTaxId` string, required — Documento do fornecedor
    - `identification` string, required — Identificação do recebível (ex: Nº da NF)
    - `maturityDate` string, date, required — Data de vencimento
    - `files` FileSchema[], required
      - `externalId` string — Identificador do contrato
      - `taxIdentification` string — CNPJ/CPF
      - `fileName` string — Nome do arquivo
      - `fileIdentification` 'TERMO_CESSAO' | 'REGISTRO_C3' | 'COMPROVANTE_DESEMBOLSO' | 'TERMO_ENDOSSO' | 'NF' | 'COMPROVANTE_AVERBACAO' | 'TERMO_ADESAO' | 'CONTRATO_MUTUO' | 'COMPLEMENTO_AUXILIAR' — Tipo do arquivo referente a operação
      - `fileExtension` string — Extensão do arquivo
      - `fileS3Url` string — Link do s3 onde o arquivo esta armazenado

## Response `204`

Sucesso

## Other responses

- `400` — Erro de validação
- `401` — Não autorizado
- `500` — Erro

---

[API](https://skmtc.net/btgpactual/apis/folha-de-pagamentos.md) · [All operations](https://skmtc.net/btgpactual/apis/folha-de-pagamentos/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/btgpactual/folha-de-pagamentos/revisions/2a24d3da114c/schema)
