Skip to content

Element 'urn:OECD:StandardAuditFile-Tax:PT_1.04_01:CreditLine' cannot appear more than once if content model type is "all". #3

Description

@jonferreira

Hi.

A transaction with multiple Credit/DebitLine fails validation

e.g.:

<Transaction>
        <TransactionID>2025-05-25 00041 50677</TransactionID>
        <Period>5</Period>
        <TransactionDate>2025-05-25</TransactionDate>
        <SourceID>xxxx</SourceID>
        <Description>FT 2A2501/3169  xxx</Description>
        <DocArchivalNumber>50677</DocArchivalNumber>
        <TransactionType>N</TransactionType>
        <GLPostingDate>2025-05-25</GLPostingDate>
        <Lines>
          <CreditLine>
            <RecordID>1</RecordID>
            <AccountID>111</AccountID>
            <SystemEntryDate>2025-07-10T11:19:42</SystemEntryDate>
            <Description>FT 2A2501/3169  xxx</Description>
            <CreditAmount>91.60</CreditAmount>
          </CreditLine>
          <DebitLine>
            <RecordID>2</RecordID>
            <AccountID>62661</AccountID>
            <SystemEntryDate>2025-07-10T11:19:42</SystemEntryDate>
            <Description>FT 2A2501/3169  xxx</Description>
            <DebitAmount>73.60</DebitAmount>
          </DebitLine>
          <DebitLine>
            <RecordID>3</RecordID>
            <AccountID>62661</AccountID>
            <SystemEntryDate>2025-07-10T11:19:42</SystemEntryDate>
            <Description>FT 2A2501/3169  xxx</Description>
            <DebitAmount>18.00</DebitAmount>
          </DebitLine>
        </Lines>
      </Transaction>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions