Skip to main content

CNAB 444 Layout — Assignment

Layout of the assignment remittance file accepted by QI DTVM. It is the CNAB 444 collection standard used in the FIDC market, with the filling rules and the domains actually validated by our platform.

Where this file is used

This is the file sent in the flow described in Assignment by File, through the manager or consultant portal, or through the manager API. To settle assets already held in the portfolio, the layout is a different one: see CNAB 444 Layout — Settlement.

File structure​

RecordIdentification (position 1)Quantity
Header01, always the first line
Detail11 per assigned instrument
Trailer91, always the last line

All the lines have exactly 444 characters, not counting the line break.

File name​

CBDDMMxx.REM or CBDDMMxx.TXT — CB fixed, DD day, MM month and xx an alphanumeric sequential number. Examples: CB120801.REM, CB1208AE.TXT.

We accept any name, as long as the extension is .rem or .txt. The convention above is only the recommended one.

General filling rules​

RuleDetail
Fixed lengthEvery line has 444 positions. Shorter or longer lines refuse the file.
Numeric fieldsRight-aligned, padded with zeros on the left.
Alphanumeric fieldsLeft-aligned, padded with spaces on the right.
Monetary valuesAlways with 2 decimal places, without a comma or a period. R$ 2.470,56 → 000000000247056.
DatesDDMMYY format. E.g.: 12/08/2025 → 120825.
Allowed charactersOnly A-Z, a-z, 0-9, space and . / - , ( ) &. Do not use accents or Ç — replace SÃO PAULO with SAO PAULO and AÇOS with ACOS.
EncodingUTF-8 or ASCII. Line break CRLF or LF.
The most common error

An accent or a cedilla in the drawee's name, corporate name or address. The message returned points to the exact position and the name of the field — for example: "Caracteres inválidos encontrados na posição 240, dentro do campo 'Nome do sacado'."

Header Record​

#PositionLen.FieldReq.Accepted content
1001–0011Record identificationYes0
2002–0021Remittance file identificationYes1
3003–0097Remittance literalYesREMESSA
4010–0112Service codeYes01
5012–02615Service literalYesCOBRANCA + 7 spaces
6027–04620Originator codeYesCode provided by QI DTVM at registration, right-aligned with zeros
7047–07630Originator nameYesCorporate name
8077–0793Bank numberNoFree
9080–09415Bank nameNoFree
10095–1006File generation dateYesDDMMYY
11101–1088BlanksYes8 spaces
12109–1102System identificationYesMX
13111–1177File sequential numberNoFree
14118–1203Assignor's bankNoDigits or blanks
15121–1255Assignor's branchNoDigits or blanks
16126–1261Branch check digitNoFree
17127–13812Assignor's checking accountNoDigits or blanks
18139–1391Checking account check digitNoFree
19140–377238BlanksYesExactly 238 spaces
20378–39114Original assignor's CPF/CNPJNoCNPJ with 14 characters, CPF with 11 digits + 3 spaces, or 14 spaces
21392–43847BlanksYesExactly 47 spaces
22439–4446Record sequential numberYes000001
Originator code (positions 27–46)

It is the identifier of the originator registered in the assignment configuration. A code that is not registered or that is linked to another configuration refuses the file with the message "O código do originador '…' não foi encontrado". Request the code in the assignor onboarding process.

Original assignor (positions 378–391)

A field specific to QI DTVM, which does not exist in the market layout. Use it when the instrument has already gone through a previous endorsement and you need to record the CNPJ/CPF of the original assignor. If it does not apply, leave it blank.

Detail Record​

One record per instrument. The fields in bold are the ones that feed the asset created in the fund's portfolio.

#PositionLen.FieldReq.Accepted content
1001–0011Record identificationYes1
2002–0076Grace dateNoDDMMYY or zeros
3008–0081Interest typeNo0 without correction, 1 fixed interest, 2 CDI, 3 IPCA-15, 4 IPCA, 5 IGPM, or blank
4009–0102BlanksYes2 spaces
5011–02010Interest rateNoDigits (7 decimals) or 10 spaces
6021–0222Co-obligationYes01 with co-obligation, 02 without co-obligation
7023–0242Special characteristic (SCR)NoAnnex 8 of SCR 3040, 00 or blanks
8025–0284Operation modality (SCR)ConditionalAnnex 3 of SCR 3040. It can be left blank for duplicatas and CT-e
9029–0302Operation nature (SCR)NoAnnex 2 of SCR 3040, 00 or blanks
10031–0344Source of funds (SCR)NoAnnex 4 of SCR 3040, 0000 or blanks
11035–0362Risk class (SCR)NoAA, A…H, HH, 01, 00 or blanks
12037–0371ZerosNo0 or blank
13038–06225Participant's control numberYesUnique identifier of the asset in your system. Left-aligned
14063–0653Bank numberNoDigits or blanks
15066–0705ZerosNoZeros or blanks
16071–08111Identification of the instrument at the bankNoDigits or 11 spaces
17082–0821Check digit of the "nosso número"NoFree
18083–09210Paid valueNoZeros in the assignment
19093–0931Slip issuance conditionNoBlank
20094–0941Slip for automatic debitNoBlank
21095–1006Settlement dateNoZeros in the assignment
22101–1044Identification of the bank's operationNo4 spaces or 0000
23105–1051Credit apportionment indicatorNoBlank or 0
24106–1061Debit notice addressingNoBlank
25107–1082BlanksNo2 spaces or 00
26109–1102Occurrence identificationYesSee Occurrences
27111–12010Document numberYesNumber of the instrument/duplicata. Exactly 10 characters
28121–1266Maturity dateYesDDMMYY
29127–13913Face valueYesNominal value of the instrument, 2 decimals
30140–1423Bank in charge of the collectionNoDigits, zeros or blanks
31143–1475Depositary branchNo5 digits, 00000 or blanks
32148–1492Instrument kindYesSee Instrument kinds
33150–1501IdentificationNoBlank
34151–1566Issue date of the instrumentYesDDMMYY
35157–15821st instructionNo00
36159–15912nd instructionNo0
37160–1612Person type of the assignorYes01 natural person, 02 legal entity
38162–17312Interest/late fee per day of delayNo12 alphanumeric characters or 12 spaces
39174–19219Assignment term numberNoFree or blanks
40193–20513Present value (acquisition)YesValue paid by the fund for this instrument, 2 decimals
41206–21813Rebate valueNoZeros or digits
42219–2202Drawee's registration typeYes01 natural person (CPF), 02 legal entity (CNPJ)
43221–23414Drawee's registration numberYesCNPJ with 14 positions; CPF with 11 digits right-aligned. The check digit is verified
44235–27440Drawee's nameYesIt cannot be left blank
45275–31440Drawee's addressYesIt cannot be left blank. E.g.: AV EXEMPLO, 100
46315–3239Invoice numberConditionalRequired for duplicatas and CT-e
47324–3263Invoice seriesNo3 alphanumeric characters or 3 spaces. When blank it assumes 1
48327–3348Drawee's postal codeYes8 digits, without a hyphen
49335–39460AssignorYes335–380 assignor's name (46) · 381–394 assignor's CNPJ (14)
50395–43844NF-e access keyConditional44 digits. Required for duplicata_mercantil and cte in occurrences 01, 81 and 84
51439–4446Record sequential numberYesSequential number of the line, starting at 000002

Trailer Record​

#PositionLen.FieldReq.Accepted content
1001–0011Record identificationYes9
2002–438437BlanksYesExactly 437 spaces
3439–4446Record sequential numberYesNumber of the last line of the file

Accepted occurrences​

The occurrence (positions 109–110) says what to do with the instrument.

CodeMeaningWhen to use
01Remittance — acquisition of instrumentsThe assignment default. It is what you use in almost every case
80Remittance — acquisition with settlement to the consultancyTreated as an acquisition
81Entry by exchange of instruments, with settlement to the consultancyCounterpart of a repurchase within the same file
84Entry by exchange of instruments, with settlement to the assignorCounterpart of a repurchase within the same file
72Partial repurchaseOnly in a substitution batch. It generates an amortization of the repurchased asset
74Settlement by repurchaseOnly in a substitution batch. It generates a settlement of the repurchased asset
A repurchase requires a substitution batch

The 72 and 74 occurrences are only accepted when the assignment configuration is of the substitution type and the batch was created with assignment_type: substitution_assignment. In a regular batch, the file is refused with the message "A ocorrência de recompra '…' só é permitida em configurações de cessão de recompra (substituição)".

Settlement occurrences do not go here

Codes such as 04, 14, 75 and 77 belong to the settlement file and are processed by another flow. Sending them in an assignment file makes the asset fail in the processing, even if the line passes the structure validation. See Settlement by File.

Instrument kinds​

The instrument kind, in positions 148–149, defines how the instrument is read. These codes are processed in the assignment-by-file flow:

CodeKindAsset typeInvoiceNF-e access keyExample
01Duplicataduplicata_mercantilRequiredRequiredDownload
14Service duplicataduplicata_servicosRequiredWaivedDownload
53CT-ecteRequiredRequiredDownload
51, 52, 87Checkcheck—Waived—
02, 06Promissory notepromissory_note—Waived—

For checks and promissory notes, the instrument number is the Document number (positions 111–120) and the issue date is the one in positions 151–156. The bank (063–065) and the branch (143–147), when filled in, are also carried over to the instrument: use them for checks and leave them blank or zeroed for promissory notes, which do not accept these fields and would have the asset refused.

Other codes pass the structure check, but are not processed

The CNAB 444 layout provides for other kinds — 41 digital CCB, 60 contract, among others. They pass the structural validation of the file, but they are not converted into an asset in the assignment-by-file flow: the processing returns "Asset type … was not expected" and the batch does not advance.

If your product uses one of these kinds, assign through the integration API, asset by asset, or confirm the path with integracao.dtvm@qitech.com.br before assembling the file.

The kind must match the assignment configuration

A duplicata_mercantil configuration expects kind 01. Sending a kind incompatible with the asset type of the configuration makes the asset be refused at insertion.

Mapping: from the CNAB to the asset in the portfolio​

Each detail line becomes an asset identical to the one that would be created by the Asset Creation — Duplicata endpoint (or CTE).

Position in the CNABAsset field (API)
038–062 Participant's control numberdiscounted_credit_right.external_id and participant_control_number — it is what the asset is referenced by afterwards, including in the settlement
111–120 Document numberdiscounted_credit_right.order_number — it identifies the line within the file and cannot be repeated
121–126 Maturity datediscounted_credit_right.maturity_date
127–139 Face valuediscounted_credit_right.face_value
148–149 Instrument kindasset_type
151–156 Issue datediscounted_credit_right.invoice.issue_date
193–205 Present valuetotal_purchase_value
219–220 / 221–234 Draweeborrower.person_type and borrower.document_number
235–274 Drawee's nameborrower.name
275–314 Drawee's addressborrower.address.street and number
315–323 / 324–326 Invoiceinvoice.number and invoice.serie
327–334 Postal codeborrower.address.postal_code
395–438 NF-e access keyinvoice.access_key
Header 027–046 Originator codeoriginator_document_number
Header 378–391 Original assignororiginal_assignor_document_number
Drawee's address

The street and the number are extracted from the text in positions 275–314, and the rest of the address (neighborhood, city and state) is completed automatically from the postal code. Write it in the LOGRADOURO, NUMERO format (street, number).

Commented example​

Assignment of two commercial duplicatas of the assignor 11.222.333/0001-81, maturing on 10/10/2025.

CB120801.REM
01REMESSA01COBRANCA 00000011222333000181INDUSTRIA EXEMPLO S/A ...MX...000001
1...0CTRL000001...01000100001101025000000015100...0245678912000155COMERCIO EXEMPLO ALFA LTDA...000002
1...0CTRL000002...01000200002101025000000015200...0278912345000109COMERCIO EXEMPLO BETA LTDA...000003
9 ...000004
LineReading
HeaderOriginator 00000011222333000181, file generated on 12/08/2025, system MX
Detail 1Asset CTRL000001, document 0001000010, matures on 10/10/2025, face R$ 1,510.00, acquisition R$ 1,480.00, drawee CNPJ 45.678.912/0001-55
Detail 2Asset CTRL000002, document 0002000020, face R$ 1,520.00, acquisition R$ 1,490.00, drawee CNPJ 78.912.345/0001-09
TrailerCloses the file with the sequential number 000004

Example files​

FileKindWhat it carries
Commercial duplicata01Two instruments with the invoice and the NF-e access key filled in
Service duplicata14Two instruments with the invoice and without the NF-e access key
CT-e53Two transport bills with the access key filled in
About the examples

The three files pass our validation in full. The CNPJs are fictitious, but they have a valid check digit — if you replace them with "round" documents like 45678912000199, the file will be refused.

Checklist before sending​

  • All the lines with exactly 444 characters
  • The header starts with 01REMESSA01COBRANCA and has MX in positions 109–110
  • Originator code registered, right-aligned with zeros
  • No accents, Ç or special characters in any field
  • Drawee's CPF/CNPJ with a valid check digit
  • Drawee's name and address filled in
  • NF-e access key with 44 digits in commercial duplicatas and CT-e
  • Participant's control number unique per asset
  • Monetary values without a comma, with 2 decimals
  • Occurrence 01 (or 72/74 only in a substitution batch)
  • Correct record sequential number, with the trailer closing on the last line