全球商业网络
  1. UBL示例说明
全球商业网络
  • 接口文档
    • 1.认证授权
      • Oauth2认证
    • 2.企业管理
      • 企业注册接口
    • 3.文档管理
      • 1.发送UBL文档接口
      • 2.接收到文档通知接口
      • 3.根据文档id获取UBL文档内容
  • 业务文档
    • 1.企业信息
      • 1.企业信息字典信息
    • 2.UBL文档
      • 1.UBL文档说明
      • 2.文档profileId说明
      • 3.文档数据枚举定义
      • UBL示例说明
        • RemittanceAdvice
        • RequestForQuotation
        • Quotation
        • Enquiry
        • EnquiryResponse
  • 产品目标
    • 1.商业网络818发布
      • 1.商业网络818目标
  • 产品对接
    • 1.采购Baas
      • 1.对接说明
      • 2.数据样例
    • 2.银企联
      • 1.对接说明
      • 2.数据样例
  1. UBL示例说明

RemittanceAdvice

业务流程#

In the payment notification process, the Payee (who is most often the Accounting Customer) is notified of any funds transferred, against the account of the Accounting Supplier, using a Remittance Advice document.

数据样例#

数据构建可以使用 https://github.com/phax/ph-ubl/tree/master/ph-ubl23 开源工具,UBL23Marshaller
Definition: https://docs.oasis-open.org/ubl/os-UBL-2.3/mod/summary/reports/UBL-RemittanceAdvice-2.3.html
Example:https://docs.oasis-open.org/ubl/os-UBL-2.3/xml/UBL-RemittanceAdvice-2.0-Example.xml
<RemittanceAdvice
    xmlns="urn:oasis:names:specification:ubl:schema:xsd:RemittanceAdvice-2"
    xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
    xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
    <!-- UBLVersionID 默认值: 2.3 -->
    <cbc:UBLVersionID>2.3</cbc:UBLVersionID>
    <!-- CustomizationID 默认值: urn:yonyou.com:ubl-2.3-customizations:2021-06 -->
    <cbc:CustomizationID>urn:yonyou.com:ubl-2.3-customizations:2021-06</cbc:CustomizationID>
     <!-- ProfileID 默认值: urn:yonyou.com:profile:remittance:advice:cn:ver1.0 -->
    <cbc:ProfileID schemeAgencyID="http://yonyou.com">urn:yonyou.com:profile:remittance.advice:cn:ver1.0</cbc:ProfileID>
    <!-- 文档id,可以使用工具 ulid-creator生成 UlidCreator.getUlid().toString-->
    <cbc:ID>01h2vwqktkf4pew41kf2xj4yrs</cbc:ID>
     <!-- CopyIndicator 默认值:false -->
    <cbc:CopyIndicator>false</cbc:CopyIndicator>
     <!-- 文档id 转uuid的值 toUuid-->
    <cbc:UUID>84E081CE-F9D1-94C5-40F9-94C5FF9D1AC3</cbc:UUID>
    <!-- 业务处理日期 : yyyy-MM-dd-->
    <cbc:IssueDate>2005-06-22</cbc:IssueDate>
     <!-- 业务处理时间 : HH:mm:ss -->
    <cbc:IssueTime>10:22:33</cbc:IssueTime>
     <!-- 单据描述信息 -->
    <cbc:Note>dummy as sample</cbc:Note>
    <!-- 借方金额, 付款金额 -->
    <cbc:TotalDebitAmount currencyID="CNY">107.50</cbc:TotalDebitAmount>
     <!-- 贷方金额,默认 0 -->
    <cbc:TotalCreditAmount currencyID="CNY">0.00</cbc:TotalCreditAmount>
     <!-- 付款金额  -->
    <cbc:TotalPaymentAmount currencyID="CNY">107.50</cbc:TotalPaymentAmount>
    <cac:AdditionalDocumentReference>
        <cbc:ID>01H74S531ZJTBS7FQC35GB59VV</cbc:ID>
        <cbc:DocumentTypeCode listID="urn:yonyou.com:api:1.0:documenttypecode">YY_REFERENCE_DOCUMENT_ID</cbc:DocumentTypeCode>
    </cac:AdditionalDocumentReference>
    <cac:AdditionalDocumentReference>
        <cbc:ID>付款通知单</cbc:ID>
        <cbc:DocumentTypeCode listID="urn:yonyou.com:api:1.0:documenttypecode">YY_DOCUMENT_TYPE</cbc:DocumentTypeCode>
    </cac:AdditionalDocumentReference>
    <cac:AdditionalDocumentReference>
        <cbc:ID>比亚迪付款单</cbc:ID>
        <cbc:DocumentTypeCode listID="urn:yonyou.com:api:1.0:documenttypecode">YY_DOCUMENT_NAME</cbc:DocumentTypeCode>
    </cac:AdditionalDocumentReference>
    <cac:AdditionalDocumentReference>
        <cbc:ID>20230615123752</cbc:ID>
        <cbc:DocumentTypeCode listID="urn:yonyou.com:api:1.0:documenttypecode">YY_DOCUMENT_NUMBER</cbc:DocumentTypeCode>
    </cac:AdditionalDocumentReference>
     <!-- 付款周期  -->
    <cac:InvoicePeriod>
        <cbc:StartDate>2005-06-01</cbc:StartDate>
        <cbc:EndDate>2005-07-01</cbc:EndDate>
    </cac:InvoicePeriod>
    <!-- 购方 公司信息【文档发送方】 -->
    <cac:AccountingCustomerParty>
         <!-- 购方账号id -->
        <cbc:CustomerAssignedAccountID>XFB01</cbc:CustomerAssignedAccountID>
          <!-- 购方账号id -->
        <cbc:SupplierAssignedAccountID>GT00978567</cbc:SupplierAssignedAccountID>
        <cac:Party>
             <!--  购方 公司名称 -->
            <cac:PartyName>
                <cbc:Name>IYT Corporation</cbc:Name>
            </cac:PartyName>
             <cac:PartyIdentification>
                <cbc:ID schemeID="CN:VAT">91440300192317458F</cbc:ID>
            </cac:PartyIdentification>
             <!--  购方 公司地址 可选 -->
            <cac:PostalAddress>
                <cbc:StreetName>上海市长宁区金钟路968号12号楼801室</cbc:StreetName>
                <cac:Country>
                    <cbc:IdentificationCode>CN</cbc:IdentificationCode>
                </cac:Country>
            </cac:PostalAddress>
             <!--  购方 公司联系电话 可选 -->
            <cac:Contact>
                 <cbc:Name>Mrs Bouquet</cbc:Name>
                <cbc:Telephone>010-34064880</cbc:Telephone>
                <cbc:ElectronicMail>bouquet@fpconsortial.co.uk</cbc:ElectronicMail>
            </cac:Contact>
        </cac:Party>
    </cac:AccountingCustomerParty>
     <!-- 供应商 公司信息【文档接收方】 -->
    <cac:AccountingSupplierParty>
         <!-- 购方账号id -->
        <cbc:CustomerAssignedAccountID>CO001</cbc:CustomerAssignedAccountID>
        <cac:Party>
             <!--  供应商 公司名称 -->
            <cac:PartyName>
                <cbc:Name>Consortial</cbc:Name>
            </cac:PartyName>
             <cac:PartyIdentification>
                <cbc:ID schemeID="CN:VAT">91440300192317458F</cbc:ID>
            </cac:PartyIdentification>
             <!--  供应商 公司地址 可选 -->
            <cac:PostalAddress>
                <cbc:StreetName>上海市长宁区金钟路968号12号楼801室</cbc:StreetName>
                <cac:Country>
                    <cbc:IdentificationCode>CN</cbc:IdentificationCode>
                </cac:Country>
            </cac:PostalAddress>
             <!--  供应商 公司联系电话 可选 -->
            <cac:Contact>
                <cbc:Name>Mrs Bouquet</cbc:Name>
                <cbc:Telephone>010-34064880</cbc:Telephone>
                <cbc:ElectronicMail>bouquet@fpconsortial.co.uk</cbc:ElectronicMail>
            </cac:Contact>
        </cac:Party>
    </cac:AccountingSupplierParty>
    <!-- 收款方信息 参考AccountingSupplierParty  -->
    <cac:PayeeParty>
        <cac:PartyName>
            <cbc:Name>Consortial</cbc:Name>
        </cac:PartyName>
        <cac:PostalAddress>
            <cbc:StreetName>Busy Street</cbc:StreetName>
            <cbc:BuildingName>Thereabouts</cbc:BuildingName>
            <cbc:BuildingNumber>56A</cbc:BuildingNumber>
            <cbc:CityName>Farthing</cbc:CityName>
            <cbc:PostalZone>AA99 1BB</cbc:PostalZone>
            <cbc:CountrySubentity>Heremouthshire</cbc:CountrySubentity>
            <cac:AddressLine>
                <cbc:Line>The Roundabout</cbc:Line>
            </cac:AddressLine>
            <cac:Country>
                <cbc:IdentificationCode>GB</cbc:IdentificationCode>
            </cac:Country>
        </cac:PostalAddress>
        <cac:Contact>
            <cbc:Name>Mrs Bouquet</cbc:Name>
            <cbc:Telephone>0158 1233714</cbc:Telephone>
            <cbc:Telefax>0158 1233856</cbc:Telefax>
            <cbc:ElectronicMail>bouquet@fpconsortial.co.uk</cbc:ElectronicMail>
        </cac:Contact>
    </cac:PayeeParty>
    <!-- 付款方式 -->
    <cac:PaymentMeans>
         <!-- 付款方式编码 -->
        <cbc:PaymentMeansCode>20</cbc:PaymentMeansCode>
        <!-- 付款截止时间 -->
        <cbc:PaymentDueDate>2005-07-21</cbc:PaymentDueDate>
         <!-- 付款账户信息  可选 -->
        <cac:PayerFinancialAccount>
            <cbc:ID>12345678</cbc:ID>
            <cbc:Name>Farthing Purchasing Consortium</cbc:Name>
            <cbc:AccountTypeCode>Current</cbc:AccountTypeCode>
            <cbc:CurrencyCode>GBP</cbc:CurrencyCode>
            <cac:FinancialInstitutionBranch>
                <cbc:ID>10-26-58</cbc:ID>
                <cbc:Name>Open Bank Ltd, Bridgstow Branch </cbc:Name>
                <cac:FinancialInstitution>
                    <cbc:ID>10-26-58</cbc:ID>
                    <cbc:Name>Open Bank Ltd</cbc:Name>
                    <cac:Address>
                        <cbc:StreetName>City Road</cbc:StreetName>
                        <cbc:BuildingName>Banking House</cbc:BuildingName>
                        <cbc:BuildingNumber>12</cbc:BuildingNumber>
                        <cbc:CityName>London</cbc:CityName>
                        <cbc:PostalZone>AQ1 6TH</cbc:PostalZone>
                        <cbc:CountrySubentity>London </cbc:CountrySubentity>
                        <cac:AddressLine>
                            <cbc:Line>5th Floor</cbc:Line>
                        </cac:AddressLine>
                        <cac:Country>
                            <cbc:IdentificationCode>GB</cbc:IdentificationCode>
                        </cac:Country>
                    </cac:Address>
                </cac:FinancialInstitution>
                <cac:Address>
                    <cbc:StreetName>Busy Street</cbc:StreetName>
                    <cbc:BuildingName>The Mall</cbc:BuildingName>
                    <cbc:BuildingNumber>152</cbc:BuildingNumber>
                    <cbc:CityName>Farthing</cbc:CityName>
                    <cbc:PostalZone>AA99 1BB</cbc:PostalZone>
                    <cbc:CountrySubentity>Heremouthshire</cbc:CountrySubentity>
                    <cac:AddressLine>
                        <cbc:Line>West Wing</cbc:Line>
                    </cac:AddressLine>
                    <cac:Country>
                        <cbc:IdentificationCode>GB</cbc:IdentificationCode>
                    </cac:Country>
                </cac:Address>
            </cac:FinancialInstitutionBranch>
            <cac:Country>
                <cbc:IdentificationCode>GB</cbc:IdentificationCode>
            </cac:Country>
        </cac:PayerFinancialAccount>
         <!-- 收款账户信息  可选 -->
        <cac:PayeeFinancialAccount>
            <cbc:ID>12345678</cbc:ID>
            <cbc:Name>Farthing Purchasing Consortium</cbc:Name>
            <cbc:AccountTypeCode>Current</cbc:AccountTypeCode>
            <cbc:CurrencyCode>GBP</cbc:CurrencyCode>
            <cac:FinancialInstitutionBranch>
                <cbc:ID>10-26-58</cbc:ID>
                <cbc:Name>Open Bank Ltd, Bridgstow Branch </cbc:Name>
                <cac:FinancialInstitution>
                    <cbc:ID>10-26-58</cbc:ID>
                    <cbc:Name>Open Bank Ltd</cbc:Name>
                    <cac:Address>
                        <cbc:StreetName>City Road</cbc:StreetName>
                        <cbc:BuildingName>Banking House</cbc:BuildingName>
                        <cbc:BuildingNumber>12</cbc:BuildingNumber>
                        <cbc:CityName>London</cbc:CityName>
                        <cbc:PostalZone>AQ1 6TH</cbc:PostalZone>
                        <cbc:CountrySubentity>London </cbc:CountrySubentity>
                        <cac:AddressLine>
                            <cbc:Line>5th Floor</cbc:Line>
                        </cac:AddressLine>
                        <cac:Country>
                            <cbc:IdentificationCode>GB</cbc:IdentificationCode>
                        </cac:Country>
                    </cac:Address>
                </cac:FinancialInstitution>
                <cac:Address>
                    <cbc:StreetName>Busy Street</cbc:StreetName>
                    <cbc:BuildingName>The Mall</cbc:BuildingName>
                    <cbc:BuildingNumber>152</cbc:BuildingNumber>
                    <cbc:CityName>Farthing</cbc:CityName>
                    <cbc:PostalZone>AA99 1BB</cbc:PostalZone>
                    <cbc:CountrySubentity>Heremouthshire</cbc:CountrySubentity>
                    <cac:AddressLine>
                        <cbc:Line>West Wing</cbc:Line>
                    </cac:AddressLine>
                    <cac:Country>
                        <cbc:IdentificationCode>GB</cbc:IdentificationCode>
                    </cac:Country>
                </cac:Address>
            </cac:FinancialInstitutionBranch>
            <cac:Country>
                <cbc:IdentificationCode>GB</cbc:IdentificationCode>
            </cac:Country>
        </cac:PayeeFinancialAccount>
    </cac:PaymentMeans>
    <!-- 付款通知明细 -->
    <cac:RemittanceAdviceLine>
       <!-- 行序号,从1开始 -->
        <cbc:ID>1</cbc:ID>
        <!-- 备注说明 -->
        <cbc:Note>please note that local offices will close for recess for the next three weeks - please send their invoices to central offices for that time</cbc:Note>
          <!-- 行借方金额, 付款金额 -->
        <cbc:DebitLineAmount currencyID="CNY">107.50</cbc:DebitLineAmount>
           <!-- 行贷方金额,默认 0 -->
        <cbc:CreditLineAmount currencyID="CNY">0.00</cbc:CreditLineAmount>
         <!-- 待付款余额 -->
        <cbc:BalanceAmount currencyID="CNY">107.50</cbc:BalanceAmount>
        <!-- 原始客户信息 (代付) 可选  -->
        <cac:OriginatorCustomerParty>
            <cac:Party>
                <cac:PartyName>
                    <cbc:Name>The Terminus</cbc:Name>
                </cac:PartyName>
                <cac:PostalAddress>
                    <cbc:StreetName>Avon Way</cbc:StreetName>
                    <cbc:BuildingName>Thereabouts</cbc:BuildingName>
                    <cbc:BuildingNumber>56A</cbc:BuildingNumber>
                    <cbc:CityName>Bridgtow</cbc:CityName>
                    <cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone>
                    <cbc:CountrySubentity>Avon</cbc:CountrySubentity>
                    <cac:AddressLine>
                        <cbc:Line>3rd Floor, Room 5</cbc:Line>
                    </cac:AddressLine>
                    <cac:Country>
                        <cbc:IdentificationCode>GB</cbc:IdentificationCode>
                    </cac:Country>
                </cac:PostalAddress>
                <cac:PartyTaxScheme>
                    <cbc:RegistrationName>Bridgtow District Council</cbc:RegistrationName>
                    <cbc:CompanyID>12356478</cbc:CompanyID>
                    <cbc:ExemptionReason>Local Authority</cbc:ExemptionReason>
                    <cac:TaxScheme>
                        <cbc:ID>UK VAT</cbc:ID>
                        <cbc:TaxTypeCode>VAT</cbc:TaxTypeCode>
                    </cac:TaxScheme>
                </cac:PartyTaxScheme>
                <cac:Contact>
                    <cbc:Name>S Massiah</cbc:Name>
                    <cbc:Telephone>0127 98876545</cbc:Telephone>
                    <cbc:Telefax>0127 98876546</cbc:Telefax>
                    <cbc:ElectronicMail>smassiah@the-email.co.uk</cbc:ElectronicMail>
                </cac:Contact>
            </cac:Party>
        </cac:OriginatorCustomerParty>
         <!-- 付款关联的结算单信息  可选 -->
        <cac:BillingReference>
            <cac:InvoiceDocumentReference>
                <!-- 结算单 -->
                <cbc:ID>A00095678</cbc:ID>
                 <!-- 唯一标识 uuid -->
                <cbc:UUID>849FBBCE-E081-40B4-906C-94C5FF9D1AC3</cbc:UUID>
                <!-- 结算日期 -->
                <cbc:IssueDate>2005-06-21</cbc:IssueDate>
            </cac:InvoiceDocumentReference>
        </cac:BillingReference>
    </cac:RemittanceAdviceLine>
</RemittanceAdvice>
上一页
3.文档数据枚举定义
下一页
RequestForQuotation
Built with