Skip to content

PayeePartyCreditorFinancialAccount > AccountName is the account holder name, not the bank name #30

@d--j

Description

@d--j

a GOBL invoice with the following payment information

# ...
payment:
  instructions:
    key: "credit-transfer+sepa"
    credit_transfer:
      - iban: "DE02120300000000202051"
        bic: "BYLADEM1001"
        name: "This is the name of the bank (DEUTSCHE KREDITBANK BERLIN)"

will be converted to the following CII XML:

<?xml version="1.0" encoding="UTF-8"?>
<rsm:CrossIndustryInvoice xmlns:rsm="urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100" xmlns:ram="urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100" xmlns:qdt="urn:un:unece:uncefact:data:standard:QualifiedDataType:100" xmlns:udt="urn:un:unece:uncefact:data:standard:UnqualifiedDataType:100">
  <!--- ... --->
  <rsm:SupplyChainTradeTransaction>
  <!--- ... --->    
    <ram:ApplicableHeaderTradeSettlement>
      <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode>
      <ram:SpecifiedTradeSettlementPaymentMeans>
        <ram:TypeCode>58</ram:TypeCode>
        <ram:PayeePartyCreditorFinancialAccount>
          <ram:IBANID>DE02120300000000202051</ram:IBANID>
          <ram:AccountName>This is the name of the bank (DEUTSCHE KREDITBANK BERLIN)</ram:AccountName>
        </ram:PayeePartyCreditorFinancialAccount>
        <ram:PayeeSpecifiedCreditorFinancialInstitution>
          <ram:BICID>BYLADEM1001</ram:BICID>
        </ram:PayeeSpecifiedCreditorFinancialInstitution>
      </ram:SpecifiedTradeSettlementPaymentMeans>
        <!--- ... --->
    </ram:ApplicableHeaderTradeSettlement>
  </rsm:SupplyChainTradeTransaction>
</rsm:CrossIndustryInvoice>

This is wrong since ApplicableHeaderTradeSettlement > SpecifiedTradeSettlementPaymentMeans > PayeePartyCreditorFinancialAccount > AccountName should be the name of the account holder. Not the name of the bank.

It looks like the name of the account holder is missing in https://docs.gobl.org/draft-0/pay/credit_transfer, but that could be taken from the org.Party of PaymentDetails.Payee or Invoice.Supplier.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions