From 06479efef23fb9f7caf8426d1931211aa9f76443 Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 27 Nov 2024 15:26:41 +0000 Subject: [PATCH] Adjusting endpoint description to self billing process --- structure/syntax/part/customer-party-sb.xml | 312 +++++++++++++++ structure/syntax/part/supplier-party-sb.xml | 359 ++++++++++++++++++ structure/syntax/ubl-selfbilledcreditnote.xml | 6 +- structure/syntax/ubl-selfbilledinvoice.xml | 6 +- 4 files changed, 677 insertions(+), 6 deletions(-) create mode 100644 structure/syntax/part/customer-party-sb.xml create mode 100644 structure/syntax/part/supplier-party-sb.xml diff --git a/structure/syntax/part/customer-party-sb.xml b/structure/syntax/part/customer-party-sb.xml new file mode 100644 index 0000000..e8d0353 --- /dev/null +++ b/structure/syntax/part/customer-party-sb.xml @@ -0,0 +1,312 @@ + + + + cac:AccountingCustomerParty + BUYER + A group of business terms providing information about the Buyer. + BG-7 + + + cac:Party + PARTY + + + cbc:EndpointID + Buyer electronic address + Identifies the Buyer's electronic address to which the application level response to the self-billing invoice or credit note may be delivered. + Identifier + BT-49 + BR-63 + BR-CL-25 + PEPPOL-EN16931-R010 + PEPPOL-COMMON-R040 + PEPPOL-COMMON-R041 + PEPPOL-COMMON-R042 + PEPPOL-COMMON-R043 + PEPPOL-COMMON-R044 + PEPPOL-COMMON-R045 + PEPPOL-COMMON-R046 + PEPPOL-COMMON-R047 + PEPPOL-COMMON-R048 + PEPPOL-COMMON-R049 + PEPPOL-COMMON-R050 + PEPPOL-EN16931-CL008 + + + + schemeID + Buyer electronic address identification scheme identifier + The identification scheme identifier of the Buyer electronic address. + eas + 0192 + + + 987654321 + + + + + cac:PartyIdentification + PARTY IDENTIFICATION + + + + cbc:ID + Buyer identifier + An identifier of the Buyer. + Identifier + BT-46 + PEPPOL-COMMON-R040 + PEPPOL-COMMON-R041 + PEPPOL-COMMON-R042 + PEPPOL-COMMON-R043 + PEPPOL-COMMON-R044 + PEPPOL-COMMON-R045 + PEPPOL-COMMON-R046 + PEPPOL-COMMON-R047 + PEPPOL-COMMON-R048 + PEPPOL-COMMON-R049 + PEPPOL-COMMON-R050 + + + schemeID + Buyer identifier identification scheme identifier + The identification scheme identifier of the Buyer identifier. + BR-CL-10 + DK-R-013 + ICD + 0088 + + SE8765456787 + + + + + cac:PartyName + PARTY NAME + + + cbc:Name + Buyer trading name + A name by which the Buyer is known, other than Buyer name (also known as Business name). + Text + BT-45 + Buyer Trading Name + + + + + cac:PostalAddress + BUYER POSTAL ADDRESS + A group of business terms providing information about the postal address for the Buyer. + Sufficient components of the address are to be filled to comply with legal requirements. + BG-8 + BR-10 + + + cbc:StreetName + Buyer address line 1 + The main address line in an address. + Text + BT-50 + Hovudgatan 32 + + + + cbc:AdditionalStreetName + Buyer address line 2 + An additional address line in an address that can be used to give further details supplementing the + main line. + + Text + BT-51 + Po box 43 + + + + cbc:CityName + Buyer city + The common name of the city, town or village, where the Buyer's address is located. + Text + BT-52 + Stockholm + + + + cbc:PostalZone + Buyer post code + The identifier for an addressable group of properties according to the relevant postal service. + + Text + BT-53 + 34567 + + + + cbc:CountrySubentity + Buyer country subdivision + The subdivision of a country. + Text + BT-54 + Region A + + + + cac:AddressLine + ADDRESS LINE + + + cbc:Line + Buyer address line 3 + An additional address line in an address that can be used to give further details supplementing the + main line. + + Text + BT-163 + Building F2 + + + + + cac:Country + COUNTRY + + + cbc:IdentificationCode + Buyer country code + A code that identifies the country. + Code + BT-55 + BR-11 + BR-CL-14 + ISO3166 + SE + + + + + + cac:PartyTaxScheme + PARTY VAT IDENTIFIER + + + cbc:CompanyID + Buyer VAT identifier + The Buyer's VAT identifier (also known as Buyer VAT identification number). + Identifier + BT-48 + BR-CO-09 + BR-AE-02 + BR-AE-03 + BR-AE-04 + BR-IC-02 + BR-IC-03 + BR-IC-04 + BR-O-02 + BR-O-03 + BR-O-04 + PEPPOL-COMMON-R040 + PEPPOL-COMMON-R041 + PEPPOL-COMMON-R042 + PEPPOL-COMMON-R043 + PEPPOL-COMMON-R044 + PEPPOL-COMMON-R045 + PEPPOL-COMMON-R046 + PEPPOL-COMMON-R047 + PEPPOL-COMMON-R048 + PEPPOL-COMMON-R049 + PEPPOL-COMMON-R050 + + SE8765456787 + + + + cac:TaxScheme + TAX SCHEME + + + cbc:ID + Mandatory element. Use “VAT” + Identifier + VAT + + + + + + + cac:PartyLegalEntity + PARTY LEGAL ENTITY + + + cbc:RegistrationName + Buyer name + The full name of the Buyer. + Text + BT-44 + BR-07 + Buyer Full Name AS + + + + cbc:CompanyID + Buyer legal registration identifier + An identifier issued by an official registrar that identifies the Buyer as a legal entity or + person. + + Identifier + BT-47 + BR-AE-02 + BR-AE-03 + BR-AE-04 + BR-CL-11 + DK-R-014 + + + + schemeID + Buyer legal registration identifier identification scheme identifier + The identification scheme identifier of the Buyer legal registration identifier. + ICD + 0007 + + 5560104525 + + + + + cac:Contact + BUYER CONTACT + A group of business terms providing contact information relevant for the Buyer. + BG-9 + + + cbc:Name + Buyer contact point + A contact point for a legal entity or person. + Text + BT-56 + Jens Jensen + + + + cbc:Telephone + Buyer contact telephone number + A phone number for the contact point. + Text + BT-57 + 876 654 321 + + + + cbc:ElectronicMail + Buyer contact email address + An e-mail address for the contact point. + Text + BT-58 + jens.j@buyer.se + + + + + \ No newline at end of file diff --git a/structure/syntax/part/supplier-party-sb.xml b/structure/syntax/part/supplier-party-sb.xml new file mode 100644 index 0000000..599ed6e --- /dev/null +++ b/structure/syntax/part/supplier-party-sb.xml @@ -0,0 +1,359 @@ + + + + cac:AccountingSupplierParty + SELLER + A group of business terms providing information about the Seller. + BG-4 + + + cac:Party + PARTY + + + cbc:EndpointID + Seller electronic address + Identifies the Seller's electronic address to which the self-billed invoice or credit note is delivered. + Identifier + BT-34 + BR-62 + BR-CL-25 + PEPPOL-EN16931-R020 + PEPPOL-COMMON-R040 + PEPPOL-COMMON-R041 + PEPPOL-COMMON-R042 + PEPPOL-COMMON-R043 + PEPPOL-COMMON-R044 + PEPPOL-COMMON-R045 + PEPPOL-COMMON-R046 + PEPPOL-COMMON-R047 + PEPPOL-COMMON-R048 + PEPPOL-COMMON-R049 + PEPPOL-COMMON-R050 + + PEPPOL-EN16931-CL008 + + + + + schemeID + Seller electronic address identification scheme identifier + The identification scheme identifier of the Seller electronic address + eas + 0088 + + + 7300010000001 + + + + cac:PartyIdentification + PARTY IDENTIFICATION + + + + cbc:ID + Seller identifier or bank assigned creditor identifier + This element is used for both the identification of the Seller, or the unique banking reference identifier of Seller (assigned by the Seller bank.). For seller identification use ICD code list, for SEPA bank assigned creditor reference, use SEPA. + In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present + Identifier + BT-29, BT-90 + BR-CO-26 + DE-R-030 + PEPPOL-COMMON-R040 + PEPPOL-COMMON-R041 + PEPPOL-COMMON-R042 + PEPPOL-COMMON-R043 + PEPPOL-COMMON-R044 + PEPPOL-COMMON-R045 + PEPPOL-COMMON-R046 + PEPPOL-COMMON-R047 + PEPPOL-COMMON-R048 + PEPPOL-COMMON-R049 + PEPPOL-COMMON-R050 + + + schemeID + Seller or bank assigned creditor identifier identification scheme identifier + The identification scheme identifier of the Seller identifier. For bank assigned creditor identifier (BT-90), value MUST be "SEPA" + BR-CL-10 + DK-R-013 + ICD + SEPA + 0088 + + + 5060012349998 + + + + + + + cac:PartyName + PARTY NAME + + + cbc:Name + Seller trading name + A name by which the Seller is known, other than Seller name (also known as Business name). + + Text + BT-28 + Seller Business Name AS + + + + + cac:PostalAddress + SELLER POSTAL ADDRESS + A group of business terms providing information about the address of the Seller. + Sufficient components of the address are to be filled to comply with legal requirements. + BG-5 + BR-08 + + + cbc:StreetName + Seller address line 1 + The main address line in an address. + Text + BT-35 + IT-R-002 + Main Street 1 + + + + cbc:AdditionalStreetName + Seller address line 2 + An additional address line in an address that can be used to give further details supplementing the main line. + Text + BT-36 + Po Box 351 + + + + cbc:CityName + Seller city + The common name of the city, town or village, where the Seller address is located. + Text + BT-37 + IT-R-003 + London + + + + cbc:PostalZone + Seller post code + The identifier for an addressable group of properties according to the relevant postal service. + + Text + BT-38 + IT-R-004 + W1G 8LZ + + + + cbc:CountrySubentity + Seller country subdivision + The subdivision of a country. + Text + BT-39 + Region A + + + + cac:AddressLine + ADDRESS LINE + + + cbc:Line + Seller address line 3 + An additional address line in an address that can be used to give further details supplementing the + main line. + + Text + BT-162 + Building 23 + + + + + cac:Country + COUNTRY + + + cbc:IdentificationCode + Seller country code + A code that identifies the country. + Text + BT-40 + BR-09 + BR-CL-14 + ISO3166 + GB + + + + + + cac:PartyTaxScheme + PARTY VAT/TAX IDENTIFIERS + + + cbc:CompanyID + Seller VAT identifier, Seller tax registration identifier + The Seller's VAT identifier (also known as Seller VAT identification number) or the local identification (defined by the Seller’s address) of the Seller for tax purposes or a + reference that enables the Seller to state his registered tax status. In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present + Identifier + BT-31, BT-32 + BR-CO-09 + BR-CO-26 + BR-S-02 + BR-S-03 + BR-S-04 + BR-Z-02 + BR-Z-03 + BR-Z-04 + BR-E-02 + BR-E-03 + BR-E-04 + BR-AE-02 + BR-AE-03 + BR-AE-04 + BR-IC-02 + BR-IC-03 + BR-IC-04 + BR-G-02 + BR-G-03 + BR-G-04 + BR-O-02 + BR-O-03 + BR-O-04 + BR-IG-02 + BR-IG-03 + BR-IG-04 + BR-IP-02 + BR-IP-03 + BR-IP-04 + IT-R-001 + NO-R-001 + NO-R-002 + SE-R-001 + SE-R-002 + SE-R-005 + DK-R-015 + PEPPOL-COMMON-R040 + PEPPOL-COMMON-R041 + PEPPOL-COMMON-R042 + PEPPOL-COMMON-R043 + PEPPOL-COMMON-R044 + PEPPOL-COMMON-R045 + PEPPOL-COMMON-R046 + PEPPOL-COMMON-R047 + PEPPOL-COMMON-R048 + PEPPOL-COMMON-R049 + PEPPOL-COMMON-R050 + + NO999888777 + + + + cac:TaxScheme + TAX SCHEME + + + cbc:ID + Mandatory element. For Seller VAT identifier (BT-31), use value “VAT”, for the seller tax registration identifier (BT-32), use != "VAT" + VAT + + + + + + + cac:PartyLegalEntity + PARTY LEGAL ENTITY + + + + cbc:RegistrationName + Seller name + The full formal name by which the Seller is registered in the national registry of legal entities + or as a Taxable person or otherwise trades as a person or persons. + + Text + BT-27 + BR-06 + Full Formal Seller Name LTD. + + + + cbc:CompanyID + Seller legal registration identifier + An identifier issued by an official registrar that identifies the Seller as a legal entity or + person. In order for the buyer to automatically identify a supplier, the Seller identifier (BT-29), the Seller legal registration identifier (BT-30) and/or the Seller VAT identifier (BT-31) shall be present + + Identifier + BT-30 + BR-CO-26 + BR-CL-11 + DK-R-002 + DK-R-014 + SE-R-003 + SE-R-004 + SE-R-013 + + schemeID + Seller legal registration identifier identification scheme identifier + The identification scheme identifier of the Seller legal registration identifier. + ICD + 0002 + + 987654321 + + + + cbc:CompanyLegalForm + Seller additional legal information + Additional legal information relevant for the Seller. + Text + BT-33 + Share capital + + + + + cac:Contact + SELLER CONTACT + A group of business terms providing contact information about the Seller. + BG-6 + DE-R-002 + + cbc:Name + Seller contact point + A contact point for a legal entity or person. + Text + BT-41 + xyz123 + + + cbc:Telephone + Seller contact telephone number + A phone number for the contact point. + Text + BT-42 + DE-R-027 + 887 654 321 + + + cbc:ElectronicMail + Seller contact email address + An e-mail address for the contact point. + Text + BT-43 + DE-R-028 + test.name@foo.bar + + + + diff --git a/structure/syntax/ubl-selfbilledcreditnote.xml b/structure/syntax/ubl-selfbilledcreditnote.xml index 2dda7cb..af28c88 100644 --- a/structure/syntax/ubl-selfbilledcreditnote.xml +++ b/structure/syntax/ubl-selfbilledcreditnote.xml @@ -87,7 +87,7 @@ BR-04 BR-CL-01 PEPPOL-EN16931-P0101 - UNCL1001-cn + UNCL1001-sbcn 261 @@ -420,9 +420,9 @@ - part/supplier-party.xml + part/supplier-party-sb.xml - part/customer-party.xml + part/customer-party-sb.xml part/payee-party.xml diff --git a/structure/syntax/ubl-selfbilledinvoice.xml b/structure/syntax/ubl-selfbilledinvoice.xml index 65ed43b..17b1793 100644 --- a/structure/syntax/ubl-selfbilledinvoice.xml +++ b/structure/syntax/ubl-selfbilledinvoice.xml @@ -77,7 +77,7 @@ BR-04 BR-CL-01 PEPPOL-EN16931-P0100 - UNCL1001-inv + UNCL1001-sbinv 389 @@ -321,9 +321,9 @@ - part/supplier-party.xml + part/supplier-party-sb.xml - part/customer-party.xml + part/customer-party-sb.xml part/payee-party.xml