<?xml version="1.0" encoding="UTF-8"?>
<CreditNote xmlns="urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2"
            xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
            xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
  <cbc:UBLVersionID>2.1</cbc:UBLVersionID>
  <cbc:CustomizationID>urn:novus-examples:restaurant-procure-to-pay:1.0</cbc:CustomizationID>
  <cbc:ID>CN-CAF-7002</cbc:ID>
  <cbc:IssueDate>2026-08-29</cbc:IssueDate>
  <cbc:CreditNoteTypeCode>381</cbc:CreditNoteTypeCode>
  <cbc:Note>Goods returned on GRN-CAF-2004 for condition. This credit is raised for 5 each.</cbc:Note>
  <cbc:DocumentCurrencyCode>CAD</cbc:DocumentCurrencyCode>
  <cac:OrderReference><cbc:ID>PO-CAF-1004</cbc:ID></cac:OrderReference>
  <cac:BillingReference>
    <cac:InvoiceDocumentReference>
      <cbc:ID>INV-CAF-5004</cbc:ID>
      <cbc:IssueDate>2026-08-28</cbc:IssueDate>
    </cac:InvoiceDocumentReference>
  </cac:BillingReference>
  <cac:AccountingSupplierParty>
    <cac:Party>
      <cac:PartyIdentification><cbc:ID schemeID="0088">0614141000029</cbc:ID></cac:PartyIdentification>
      <cac:PartyName><cbc:Name>Harbour Food Supply</cbc:Name></cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>8 Harbour Road</cbc:StreetName>
        <cbc:CityName>Halifax</cbc:CityName>
        <cbc:PostalZone>B3J 2B2</cbc:PostalZone>
        <cbc:CountrySubentity>NS</cbc:CountrySubentity>
        <cac:Country><cbc:IdentificationCode>CA</cbc:IdentificationCode></cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>CA-BN-100000002</cbc:CompanyID>
        <cac:TaxScheme><cbc:ID>GST</cbc:ID></cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity><cbc:RegistrationName>Harbour Food Supply</cbc:RegistrationName></cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingSupplierParty>
  <cac:AccountingCustomerParty>
    <cac:Party>
      <cac:PartyIdentification><cbc:ID schemeID="0088">0626004000011</cbc:ID></cac:PartyIdentification>
      <cac:PartyName><cbc:Name>Juniper Corner Cafe</cbc:Name></cac:PartyName>
      <cac:PostalAddress>
        <cbc:StreetName>3 Juniper Street</cbc:StreetName>
        <cbc:CityName>Halifax</cbc:CityName>
        <cbc:PostalZone>B3H 2B2</cbc:PostalZone>
        <cbc:CountrySubentity>NS</cbc:CountrySubentity>
        <cac:Country><cbc:IdentificationCode>CA</cbc:IdentificationCode></cac:Country>
      </cac:PostalAddress>
      <cac:PartyTaxScheme>
        <cbc:CompanyID>CA-BN-200000002</cbc:CompanyID>
        <cac:TaxScheme><cbc:ID>GST</cbc:ID></cac:TaxScheme>
      </cac:PartyTaxScheme>
      <cac:PartyLegalEntity><cbc:RegistrationName>Juniper Corner Cafe</cbc:RegistrationName></cac:PartyLegalEntity>
    </cac:Party>
  </cac:AccountingCustomerParty>
  <cac:TaxTotal>
    <cbc:TaxAmount currencyID="CAD">0.38</cbc:TaxAmount>
    <cac:TaxSubtotal>
      <cbc:TaxableAmount currencyID="CAD">7.60</cbc:TaxableAmount>
      <cbc:TaxAmount currencyID="CAD">0.38</cbc:TaxAmount>
      <cac:TaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>5.00</cbc:Percent>
        <cac:TaxScheme><cbc:ID>GST</cbc:ID></cac:TaxScheme>
      </cac:TaxCategory>
    </cac:TaxSubtotal>
  </cac:TaxTotal>
  <cac:LegalMonetaryTotal>
    <cbc:LineExtensionAmount currencyID="CAD">7.60</cbc:LineExtensionAmount>
    <cbc:TaxExclusiveAmount currencyID="CAD">7.60</cbc:TaxExclusiveAmount>
    <cbc:TaxInclusiveAmount currencyID="CAD">7.98</cbc:TaxInclusiveAmount>
    <cbc:PayableAmount currencyID="CAD">7.98</cbc:PayableAmount>
  </cac:LegalMonetaryTotal>
  <cac:CreditNoteLine>
    <cbc:ID>1</cbc:ID>
    <cbc:CreditedQuantity unitCode="H87">5</cbc:CreditedQuantity>
    <cbc:LineExtensionAmount currencyID="CAD">7.60</cbc:LineExtensionAmount>
    <cac:Item>
      <cbc:Name>Avocado</cbc:Name>
      <cac:BuyersItemIdentification><cbc:ID>ING-06</cbc:ID></cac:BuyersItemIdentification>
      <cac:SellersItemIdentification><cbc:ID>HF-ING-06</cbc:ID></cac:SellersItemIdentification>
      <cac:ClassifiedTaxCategory>
        <cbc:ID>S</cbc:ID>
        <cbc:Percent>5.00</cbc:Percent>
        <cac:TaxScheme><cbc:ID>GST</cbc:ID></cac:TaxScheme>
      </cac:ClassifiedTaxCategory>
    </cac:Item>
    <cac:Price><cbc:PriceAmount currencyID="CAD">1.52</cbc:PriceAmount></cac:Price>
  </cac:CreditNoteLine>
</CreditNote>
