CreditNote
This element MUST be conveyed as the root element in any instance document based on this Schema expression
Element information
Namespace: urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2
Schema document: maindoc/UBL-CreditNote-2.0.xsd
Type: CreditNoteType
Properties: Global, Qualified
Content
- Sequence [1..1]
- ext:UBLExtensions [0..1] A container for all extensions present in the document.
- cbc:UBLVersionID [0..1] The earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance.
- cbc:CustomizationID [0..1] Identifies a user-defined customization of UBL for a specific use.
- cbc:ProfileID [0..1] Identifies a user-defined profile of the customization of UBL being used.
- cbc:ID [1..1] An identifier for the Credit Note assigned by the Creditor.
- cbc:CopyIndicator [0..1] Indicates whether the Credit Note is a copy (true) or not (false).
- cbc:UUID [0..1] A universally unique identifier for an instance of this ABIE.
- cbc:IssueDate [1..1] The date assigned by the Creditor on which the Credit Note was issued.
- cbc:IssueTime [0..1] The time assigned by the Creditor at which the Credit Note was issued.
- cbc:TaxPointDate [0..1] The date of the Credit Note used Indicates the point at which tax becomes applicable.
- cbc:Note [0..*] Free-form text applying to the Credit Note. This element may contain notes or any other similar information that is not contained explicitly in another structure.
- cbc:DocumentCurrencyCode [0..1] The default currency for the Credit Note.
- cbc:TaxCurrencyCode [0..1] The currency used for tax amounts in the Credit Note.
- cbc:PricingCurrencyCode [0..1] The currency used for prices in the Credit Note.
- cbc:PaymentCurrencyCode [0..1] The currency used for payment in the Credit Note.
- cbc:PaymentAlternativeCurrencyCode [0..1] The alternative currency used for payment in the Credit Note.
- cbc:AccountingCostCode [0..1] The Buyer's accounting code applied to the Credit Note as a whole.
- cbc:AccountingCost [0..1] The Buyer's accounting code applied to the Credit Note as a whole, expressed as text.
- cbc:LineCountNumeric [0..1] The number of lines in the document.
- cac:InvoicePeriod [0..*] Associates the Credit Note with an Invoicing Period rather than a specific Invoice.
- cac:DiscrepancyResponse [0..*] An association to a reason for the Credit Note as a whole.
- cac:OrderReference [0..1] An association to Order Reference.
- cac:BillingReference [0..*] An association to Billing Reference.
- cac:DespatchDocumentReference [0..*] An associative reference to Despatch Advice.
- cac:ReceiptDocumentReference [0..*] An associative reference to Receipt Advice.
- cac:ContractDocumentReference [0..*] An associative reference to Contract.
- cac:AdditionalDocumentReference [0..*] An associative reference to Additional Document.
- cac:Signature [0..*] An association to Signature.
- cac:AccountingSupplierParty [1..1] An association to the Accounting Supplier Party.
- cac:AccountingCustomerParty [1..1] An association to the Accounting Customer Party.
- cac:PayeeParty [0..1] An association to the Payee.
- cac:TaxRepresentativeParty [0..1] An association to the Tax Representative.
- cac:TaxExchangeRate [0..1] An association to Exchange Rate between the Document Currency and the Tax Currency.
- cac:PricingExchangeRate [0..1] An association to Exchange Rate between the Document Currency and the Pricing Currency.
- cac:PaymentExchangeRate [0..1] An association to Exchange Rate between the Document Currency and the Payment Currency.
- cac:PaymentAlternativeExchangeRate [0..1] An association to Exchange Rate between the Document Currency and the Payment Alternative Currency.
- cac:AllowanceCharge [0..*] An association to Allowances and Charges that apply to the Credit Note as a whole.
- cac:TaxTotal [0..*] An association to Tax Total.
- cac:LegalMonetaryTotal [1..1] An association to the total amount payable on the Credit Note, including Allowances, Charges, and Taxes.
- cac:CreditNoteLine [1..*] An association to one or more Credit Note Lines.
Attributes
None
Sample instance
<CreditNote xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2 UBL-CreditNote-2.0.xsd"> <cbc:UBLVersionID>2.0</cbc:UBLVersionID> <cbc:CustomizationID>urn:oasis:names:specification:ubl:xpath:CreditNote-2.0:sbs-1.0-draft</cbc:CustomizationID> <cbc:ProfileID>bpid:urn:oasis:names:draft:bpss:ubl-2-sbs-credit-notification-draft</cbc:ProfileID> <cbc:ID>CN758494</cbc:ID> <cbc:CopyIndicator>false</cbc:CopyIndicator> <cbc:UUID>349ABBAE-DF9D-40B4-849F-94C5FF9D1AF4</cbc:UUID> <cbc:IssueDate>2005-06-25</cbc:IssueDate> <cbc:TaxPointDate>2005-06-21</cbc:TaxPointDate> <cbc:Note>sample</cbc:Note> <cac:AccountingSupplierParty> <cbc:CustomerAssignedAccountID>CO001</cbc:CustomerAssignedAccountID> <cac:Party> <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:PartyTaxScheme> <cbc:RegistrationName>Farthing Purchasing Consortia</cbc:RegistrationName> <cbc:CompanyID>175 269 2355</cbc:CompanyID> <cbc:ExemptionReason>N/A</cbc:ExemptionReason> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> <cbc:TaxTypeCode>VAT</cbc:TaxTypeCode> </cac:TaxScheme> </cac:PartyTaxScheme> <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:Party> </cac:AccountingSupplierParty> <cac:AccountingCustomerParty> <cbc:CustomerAssignedAccountID>XFB01</cbc:CustomerAssignedAccountID> <cbc:SupplierAssignedAccountID>GT00978567</cbc:SupplierAssignedAccountID> <cac:Party> <cac:PartyName> <cbc:Name>IYT Corporation</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>Mr Fred Churchill</cbc:Name> <cbc:Telephone>0127 2653214</cbc:Telephone> <cbc:Telefax>0127 2653215</cbc:Telefax> <cbc:ElectronicMail>fred@iytcorporation.gov.uk</cbc:ElectronicMail> </cac:Contact> </cac:Party> </cac:AccountingCustomerParty> <cac:TaxTotal> <cbc:TaxAmount currencyID="GBP">17.50</cbc:TaxAmount> <cbc:TaxEvidenceIndicator>true</cbc:TaxEvidenceIndicator> <cac:TaxSubtotal> <cbc:TaxableAmount currencyID="GBP">100.00</cbc:TaxableAmount> <cbc:TaxAmount currencyID="GBP">17.50</cbc:TaxAmount> <cac:TaxCategory> <cbc:ID>A</cbc:ID> <cac:TaxScheme> <cbc:ID>UK VAT</cbc:ID> <cbc:TaxTypeCode>VAT</cbc:TaxTypeCode> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal> </cac:TaxTotal> <cac:LegalMonetaryTotal> <cbc:LineExtensionAmount currencyID="GBP">100.00</cbc:LineExtensionAmount> <cbc:TaxExclusiveAmount currencyID="GBP">90.00</cbc:TaxExclusiveAmount> <cbc:PayableAmount currencyID="GBP">107.50</cbc:PayableAmount> </cac:LegalMonetaryTotal> <cac:CreditNoteLine> <cbc:ID>1</cbc:ID> <cbc:Note>as agreed on phone, the invoice should have been cancelled earlier, apologies</cbc:Note> <cbc:CreditedQuantity unitCode="KG">100</cbc:CreditedQuantity> <cbc:LineExtensionAmount currencyID="GBP">100.00</cbc:LineExtensionAmount> <cbc:TaxPointDate>2005-06-21</cbc:TaxPointDate> <cac:DiscrepancyResponse> <cbc:ReferenceID>A00095678</cbc:ReferenceID> <cbc:Description>invoice cancelation</cbc:Description> </cac:DiscrepancyResponse> <cac:BillingReference> <cac:InvoiceDocumentReference> <cbc:ID>A00095678</cbc:ID> <cbc:UUID>849FBBCE-E081-40B4-906C-94C5FF9D1AC3</cbc:UUID> <cbc:IssueDate>2005-06-21</cbc:IssueDate> </cac:InvoiceDocumentReference> </cac:BillingReference> <cac:TaxTotal> <cbc:TaxAmount currencyID="GBP">17.50</cbc:TaxAmount> <cbc:TaxEvidenceIndicator>true</cbc:TaxEvidenceIndicator> <cac:TaxSubtotal> <cbc:TaxableAmount currencyID="GBP">100.00</cbc:TaxableAmount> <cbc:TaxAmount currencyID="GBP">17.50</cbc:TaxAmount> <cac:TaxCategory> <cbc:ID>A</cbc:ID> <cac:TaxScheme> <cbc:ID>UK VAT</cbc:ID> <cbc:TaxTypeCode>VAT</cbc:TaxTypeCode> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal> </cac:TaxTotal> <cac:Item> <cbc:Description>Acme beeswax</cbc:Description> <cbc:Name>beeswax</cbc:Name> <cac:BuyersItemIdentification> <cbc:ID>6578489</cbc:ID> </cac:BuyersItemIdentification> <cac:SellersItemIdentification> <cbc:ID>17589683</cbc:ID> </cac:SellersItemIdentification> <cac:ItemInstance> <cac:LotIdentification> <cbc:LotNumberID>546378239</cbc:LotNumberID> <cbc:ExpiryDate>2010-01-01</cbc:ExpiryDate> </cac:LotIdentification> </cac:ItemInstance> </cac:Item> <cac:Price> <cbc:PriceAmount currencyID="GBP">1.00</cbc:PriceAmount> <cbc:BaseQuantity unitCode="KG">1</cbc:BaseQuantity> </cac:Price> </cac:CreditNoteLine> </CreditNote>