XML 156 R128.htm IDEA: XBRL DOCUMENT
v3.24.1.u1

Tax and social security obligations - Additional Information (Details) - BRL (R$) R$ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Tax and Social Security Obligations [Abstract] |  |
Corporate income tax liability | R$ 313,167 | R$ 164,767
Corporate income tax prepaid | 166,755 | 20,741
Withholding taxes payable | R$ 116,591 | R$ 42,375

X
- Definition Corporate income tax liability + References No definition available. + Details
Name: | xp_CorporateIncomeTaxLiability
Namespace Prefix: | xp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Corporate Income Tax Prepaid + References No definition available. + Details
Name: | xp_CorporateIncomeTaxPrepaid
Namespace Prefix: | xp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Tax and Social Security Obligations [Abstract] + References No definition available. + Details
Name: | xp_TaxAndSocialSecurityObligationsAbstract
Namespace Prefix: | xp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Withholding taxes payable + References No definition available. + Details
Name: | xp_WithholdingTaxesPayable
Namespace Prefix: | xp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant