# OrderAgreement

Sample origin: <https://github.com/OpenPEPPOL/poacc-upgrade-3/blob/master/rules/examples/OrderAgreement_Example.xml>

{% tabs %}
{% tab title="JSON" %}

```json
{
  "OrderResponse": {
    "$": {
      "xmlns": "urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2",
      "xmlns:cac": "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2",
      "xmlns:cbc": "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
    },
    "cbc:CustomizationID": [
      {
        "_": "urn:fdc:peppol.eu:poacc:trns:order_agreement:3"
      }
    ],
    "cbc:ProfileID": [
      {
        "_": "urn:fdc:peppol.eu:poacc:bis:order_agreement:3"
      }
    ],
    "cbc:ID": [
      {
        "_": "0263bf48-9a55-4d15-adf5-2c2921036d1c"
      }
    ],
    "cbc:SalesOrderID": [
      {
        "_": "101-111"
      }
    ],
    "cbc:IssueDate": [
      {
        "_": "2013-07-01"
      }
    ],
    "cbc:IssueTime": [
      {
        "_": "06:10:10"
      }
    ],
    "cbc:Note": [
      {
        "_": "We have a new phone number 33 44 55"
      }
    ],
    "cbc:DocumentCurrencyCode": [
      {
        "_": "EUR"
      }
    ],
    "cbc:CustomerReference": [
      {
        "_": "ABC-123"
      }
    ],
    "cac:OrderReference": [
      {
        "cbc:ID": [
          {
            "_": "11233"
          }
        ]
      }
    ],
    "cac:OriginatorDocumentReference": [
      {
        "cbc:ID": [
          {
            "_": "123456"
          }
        ]
      }
    ],
    "cac:AdditionalDocumentReference": [
      {
        "cbc:ID": [
          {
            "_": "147852"
          }
        ],
        "cbc:DocumentType": [
          {
            "_": "Timesheet"
          }
        ],
        "cac:Attachment": [
          {
            "cbc:EmbeddedDocumentBinaryObject": [
              {
                "_": "\n\t\t\t\tUjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi",
                "$": {
                  "mimeCode": "image/tiff",
                  "filename": "hours-spend.csv"
                }
              }
            ],
            "cac:ExternalReference": [
              {
                "cbc:URI": [
                  {
                    "_": "http://www.example.com/index.html"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "cac:Contract": [
      {
        "cbc:ID": [
          {
            "_": "CON-12345"
          }
        ]
      }
    ],
    "cac:SellerSupplierParty": [
      {
        "cac:Party": [
          {
            "cbc:EndpointID": [
              {
                "_": "7598000000128",
                "$": {
                  "schemeID": "0088"
                }
              }
            ],
            "cac:PartyIdentification": [
              {
                "cbc:ID": [
                  {
                    "_": "DK12345678",
                    "$": {
                      "schemeID": "0184"
                    }
                  }
                ]
              }
            ],
            "cac:PostalAddress": [
              {
                "cbc:StreetName": [
                  {
                    "_": "Storgt. 12"
                  }
                ],
                "cbc:AdditionalStreetName": [
                  {
                    "_": "4. etasje"
                  }
                ],
                "cbc:CityName": [
                  {
                    "_": "Oslo"
                  }
                ],
                "cbc:PostalZone": [
                  {
                    "_": "0585"
                  }
                ],
                "cbc:CountrySubentity": [
                  {
                    "_": "Region"
                  }
                ],
                "cac:AddressLine": [
                  {
                    "cbc:Line": [
                      {
                        "_": "Address Line 3"
                      }
                    ]
                  }
                ],
                "cac:Country": [
                  {
                    "cbc:IdentificationCode": [
                      {
                        "_": "NO"
                      }
                    ]
                  }
                ]
              }
            ],
            "cac:PartyLegalEntity": [
              {
                "cbc:RegistrationName": [
                  {
                    "_": "The Supplier AB"
                  }
                ],
                "cbc:CompanyID": [
                  {
                    "_": "123456789",
                    "$": {
                      "schemeID": "0082"
                    }
                  }
                ]
              }
            ],
            "cac:Contact": [
              {
                "cbc:Name": [
                  {
                    "_": "John Doe"
                  }
                ],
                "cbc:Telephone": [
                  {
                    "_": "11223344"
                  }
                ],
                "cbc:ElectronicMail": [
                  {
                    "_": "jd@supplier.com"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "cac:BuyerCustomerParty": [
      {
        "cac:Party": [
          {
            "cbc:EndpointID": [
              {
                "_": "7590000012347",
                "$": {
                  "schemeID": "0088"
                }
              }
            ],
            "cac:PartyIdentification": [
              {
                "cbc:ID": [
                  {
                    "_": "DK55412777",
                    "$": {
                      "schemeID": "0184"
                    }
                  }
                ]
              }
            ],
            "cac:PostalAddress": [
              {
                "cbc:StreetName": [
                  {
                    "_": "Sinsenveien 40"
                  }
                ],
                "cbc:AdditionalStreetName": [
                  {
                    "_": "Oppgang B"
                  }
                ],
                "cbc:CityName": [
                  {
                    "_": "Oslo"
                  }
                ],
                "cbc:PostalZone": [
                  {
                    "_": "0501"
                  }
                ],
                "cbc:CountrySubentity": [
                  {
                    "_": "Region"
                  }
                ],
                "cac:AddressLine": [
                  {
                    "cbc:Line": [
                      {
                        "_": "Address Line 3"
                      }
                    ]
                  }
                ],
                "cac:Country": [
                  {
                    "cbc:IdentificationCode": [
                      {
                        "_": "NO"
                      }
                    ]
                  }
                ]
              }
            ],
            "cac:PartyLegalEntity": [
              {
                "cbc:RegistrationName": [
                  {
                    "_": "City Hospital"
                  }
                ],
                "cbc:CompanyID": [
                  {
                    "_": "931186755",
                    "$": {
                      "schemeID": "0082"
                    }
                  }
                ]
              }
            ]
          }
        ],
        "cac:DeliveryContact": [
          {
            "cbc:Name": [
              {
                "_": "Peter Petersen"
              }
            ],
            "cbc:Telephone": [
              {
                "_": "22334455"
              }
            ],
            "cbc:ElectronicMail": [
              {
                "_": "pp@hospital.no"
              }
            ]
          }
        ]
      }
    ],
    "cac:OriginatorCustomerParty": [
      {
        "cac:Party": [
          {
            "cac:PartyIdentification": [
              {
                "cbc:ID": [
                  {
                    "_": "DK55412777",
                    "$": {
                      "schemeID": "0184"
                    }
                  }
                ]
              }
            ],
            "cac:PartyName": [
              {
                "cbc:Name": [
                  {
                    "_": "Helseavdeling"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "cac:AccountingCustomerParty": [
      {
        "cac:Party": [
          {
            "cac:PartyIdentification": [
              {
                "cbc:ID": [
                  {
                    "_": "DK55412777",
                    "$": {
                      "schemeID": "0184"
                    }
                  }
                ]
              }
            ],
            "cac:PartyName": [
              {
                "cbc:Name": [
                  {
                    "_": "Accounting"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "cac:AllowanceCharge": [
      {
        "cbc:ChargeIndicator": [
          {
            "_": "true"
          }
        ],
        "cbc:AllowanceChargeReasonCode": [
          {
            "_": "ABK"
          }
        ],
        "cbc:AllowanceChargeReason": [
          {
            "_": "Miscellaneous services"
          }
        ],
        "cbc:Amount": [
          {
            "_": "2.00",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cac:TaxCategory": [
          {
            "cbc:ID": [
              {
                "_": "S"
              }
            ],
            "cbc:Percent": [
              {
                "_": "25"
              }
            ],
            "cac:TaxScheme": [
              {
                "cbc:ID": [
                  {
                    "_": "VAT"
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "cbc:ChargeIndicator": [
          {
            "_": "false"
          }
        ],
        "cbc:AllowanceChargeReasonCode": [
          {
            "_": "95"
          }
        ],
        "cbc:AllowanceChargeReason": [
          {
            "_": "Discount"
          }
        ],
        "cbc:MultiplierFactorNumeric": [
          {
            "_": "10"
          }
        ],
        "cbc:Amount": [
          {
            "_": "3.25",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cbc:BaseAmount": [
          {
            "_": "32.50",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cac:TaxCategory": [
          {
            "cbc:ID": [
              {
                "_": "S"
              }
            ],
            "cbc:Percent": [
              {
                "_": "25"
              }
            ],
            "cac:TaxScheme": [
              {
                "cbc:ID": [
                  {
                    "_": "VAT"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "cac:TaxTotal": [
      {
        "cbc:TaxAmount": [
          {
            "_": "7.81",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cac:TaxSubtotal": [
          {
            "cbc:TaxableAmount": [
              {
                "_": "31.25",
                "$": {
                  "currencyID": "EUR"
                }
              }
            ],
            "cbc:TaxAmount": [
              {
                "_": "7.81",
                "$": {
                  "currencyID": "EUR"
                }
              }
            ],
            "cac:TaxCategory": [
              {
                "cbc:ID": [
                  {
                    "_": "S"
                  }
                ],
                "cbc:Percent": [
                  {
                    "_": "25"
                  }
                ],
                "cac:TaxScheme": [
                  {
                    "cbc:ID": [
                      {
                        "_": "VAT"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "cac:LegalMonetaryTotal": [
      {
        "cbc:LineExtensionAmount": [
          {
            "_": "32.5",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cbc:TaxExclusiveAmount": [
          {
            "_": "31.25",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cbc:TaxInclusiveAmount": [
          {
            "_": "39.06",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cbc:AllowanceTotalAmount": [
          {
            "_": "3.25",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cbc:ChargeTotalAmount": [
          {
            "_": "2.00",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cbc:PrepaidAmount": [
          {
            "_": "10.00",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cbc:PayableRoundingAmount": [
          {
            "_": "0.94",
            "$": {
              "currencyID": "EUR"
            }
          }
        ],
        "cbc:PayableAmount": [
          {
            "_": "30.00",
            "$": {
              "currencyID": "EUR"
            }
          }
        ]
      }
    ],
    "cac:OrderLine": [
      {
        "cac:LineItem": [
          {
            "cbc:ID": [
              {
                "_": "1"
              }
            ],
            "cbc:Note": [
              {
                "_": "Order line note text"
              }
            ],
            "cbc:Quantity": [
              {
                "_": "15",
                "$": {
                  "unitCode": "C62"
                }
              }
            ],
            "cbc:LineExtensionAmount": [
              {
                "_": "22.50",
                "$": {
                  "currencyID": "EUR"
                }
              }
            ],
            "cac:Delivery": [
              {
                "cbc:Quantity": [
                  {
                    "_": "15.00",
                    "$": {
                      "unitCode": "C62"
                    }
                  }
                ],
                "cac:PromisedDeliveryPeriod": [
                  {
                    "cbc:StartDate": [
                      {
                        "_": "2018-08-10"
                      }
                    ],
                    "cbc:StartTime": [
                      {
                        "_": "12:00:00"
                      }
                    ],
                    "cbc:EndDate": [
                      {
                        "_": "2018-08-12"
                      }
                    ],
                    "cbc:EndTime": [
                      {
                        "_": "12:00:00"
                      }
                    ]
                  }
                ]
              }
            ],
            "cac:Price": [
              {
                "cbc:PriceAmount": [
                  {
                    "_": "1.50",
                    "$": {
                      "currencyID": "EUR"
                    }
                  }
                ],
                "cbc:BaseQuantity": [
                  {
                    "_": "1",
                    "$": {
                      "unitCode": "C62"
                    }
                  }
                ],
                "cbc:PriceType": [
                  {
                    "_": "AAA"
                  }
                ],
                "cac:AllowanceCharge": [
                  {
                    "cbc:ChargeIndicator": [
                      {
                        "_": "false"
                      }
                    ],
                    "cbc:Amount": [
                      {
                        "_": "0.20",
                        "$": {
                          "currencyID": "EUR"
                        }
                      }
                    ],
                    "cbc:BaseAmount": [
                      {
                        "_": "1.70",
                        "$": {
                          "currencyID": "EUR"
                        }
                      }
                    ]
                  }
                ]
              }
            ],
            "cac:Item": [
              {
                "cbc:Description": [
                  {
                    "_": "Brown sauce - long description"
                  }
                ],
                "cbc:Name": [
                  {
                    "_": "Brown sauce"
                  }
                ],
                "cac:SellersItemIdentification": [
                  {
                    "cbc:ID": [
                      {
                        "_": "SN-33"
                      }
                    ]
                  }
                ],
                "cac:StandardItemIdentification": [
                  {
                    "cbc:ID": [
                      {
                        "_": "7400000001234",
                        "$": {
                          "schemeID": "0160"
                        }
                      }
                    ]
                  }
                ],
                "cac:ItemSpecificationDocumentReference": [
                  {
                    "cbc:ID": [
                      {
                        "_": "147852"
                      }
                    ],
                    "cbc:DocumentTypeCode": [
                      {
                        "_": "TRADE_ITEM_DESCRIPTION"
                      }
                    ],
                    "cbc:DocumentType": [
                      {
                        "_": "Timesheet"
                      }
                    ],
                    "cac:Attachment": [
                      {
                        "cbc:EmbeddedDocumentBinaryObject": [
                          {
                            "_": "\n\t\t\t\t\t\t\tUjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi",
                            "$": {
                              "mimeCode": "image/tiff",
                              "filename": "hours-spend.csv"
                            }
                          }
                        ],
                        "cac:ExternalReference": [
                          {
                            "cbc:URI": [
                              {
                                "_": "http://www.example.com/index.html"
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  }
                ],
                "cac:CommodityClassification": [
                  {
                    "cbc:ItemClassificationCode": [
                      {
                        "_": "12345678",
                        "$": {
                          "listID": "MP",
                          "listVersionID": "19.0501"
                        }
                      }
                    ]
                  }
                ],
                "cac:TransactionConditions": [
                  {
                    "cbc:ActionCode": [
                      {
                        "_": "CT"
                      }
                    ]
                  }
                ],
                "cac:ClassifiedTaxCategory": [
                  {
                    "cbc:ID": [
                      {
                        "_": "S"
                      }
                    ],
                    "cbc:Percent": [
                      {
                        "_": "25"
                      }
                    ],
                    "cac:TaxScheme": [
                      {
                        "cbc:ID": [
                          {
                            "_": "VAT"
                          }
                        ]
                      }
                    ]
                  }
                ],
                "cac:AdditionalItemProperty": [
                  {
                    "cbc:ID": [
                      {
                        "_": "\n\t\t\t\t\t\t77e416eb-a363-4258-a04e-171d843a6460",
                        "$": {
                          "schemeDataURI": "https://define.cobuilder.no/77e416eb-a363-4258-a04e-171d843a6460/2022/",
                          "schemeID": "ISO22057",
                          "schemeVersionID": "2022"
                        }
                      }
                    ],
                    "cbc:Name": [
                      {
                        "_": "Length"
                      }
                    ],
                    "cbc:NameCode": [
                      {
                        "_": "test",
                        "$": {
                          "listID": "NN"
                        }
                      }
                    ],
                    "cbc:Value": [
                      {
                        "_": "30 mm"
                      }
                    ]
                  }
                ],
                "cac:Certificate": [
                  {
                    "cbc:ID": [
                      {
                        "_": "EU EcoLabel"
                      }
                    ],
                    "cbc:CertificateTypeCode": [
                      {
                        "_": "NA"
                      }
                    ],
                    "cbc:CertificateType": [
                      {
                        "_": "Environmental"
                      }
                    ],
                    "cbc:Remarks": [
                      {
                        "_": "Item labl value"
                      }
                    ],
                    "cac:IssuerParty": [
                      {
                        "cac:PartyName": [
                          {
                            "cbc:Name": [
                              {
                                "_": "Issuer party name"
                              }
                            ]
                          }
                        ]
                      }
                    ],
                    "cac:DocumentReference": [
                      {
                        "cbc:ID": [
                          {
                            "_": "http://www.label.eu/test/"
                          }
                        ]
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "cac:LineItem": [
          {
            "cbc:ID": [
              {
                "_": "2"
              }
            ],
            "cbc:Quantity": [
              {
                "_": "1",
                "$": {
                  "unitCode": "C62"
                }
              }
            ],
            "cbc:LineExtensionAmount": [
              {
                "_": "10",
                "$": {
                  "currencyID": "EUR"
                }
              }
            ],
            "cac:Price": [
              {
                "cbc:PriceAmount": [
                  {
                    "_": "10.00",
                    "$": {
                      "currencyID": "EUR"
                    }
                  }
                ]
              }
            ],
            "cac:Item": [
              {
                "cbc:Name": [
                  {
                    "_": "White sauce"
                  }
                ],
                "cac:SellersItemIdentification": [
                  {
                    "cbc:ID": [
                      {
                        "_": "SN-34"
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  }
}
```

{% endtab %}

{% tab title="XML" %}

```xml
<OrderResponse
	xmlns="urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-2"
	xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
	xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
	<cbc:CustomizationID>urn:fdc:peppol.eu:poacc:trns:order_agreement:3</cbc:CustomizationID>
	<cbc:ProfileID>urn:fdc:peppol.eu:poacc:bis:order_agreement:3</cbc:ProfileID>
	<cbc:ID>0263bf48-9a55-4d15-adf5-2c2921036d1c</cbc:ID>
	<cbc:SalesOrderID>101-111</cbc:SalesOrderID>
	<cbc:IssueDate>2013-07-01</cbc:IssueDate>
	<cbc:IssueTime>06:10:10</cbc:IssueTime>
	<cbc:Note>We have a new phone number 33 44 55</cbc:Note>
	<cbc:DocumentCurrencyCode>EUR</cbc:DocumentCurrencyCode>
	<cbc:CustomerReference>ABC-123</cbc:CustomerReference>
	<cac:OrderReference>
		<cbc:ID>11233</cbc:ID>
	</cac:OrderReference>
	<cac:OriginatorDocumentReference>
		<cbc:ID>123456</cbc:ID>
	</cac:OriginatorDocumentReference>
	<cac:AdditionalDocumentReference>
		<cbc:ID>147852</cbc:ID>
		<cbc:DocumentType>Timesheet</cbc:DocumentType>
		<cac:Attachment>
			<cbc:EmbeddedDocumentBinaryObject mimeCode="image/tiff" filename="hours-spend.csv">
				UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</cbc:EmbeddedDocumentBinaryObject>
			<cac:ExternalReference>
				<cbc:URI>http://www.example.com/index.html</cbc:URI>
			</cac:ExternalReference>
		</cac:Attachment>
	</cac:AdditionalDocumentReference>
	<cac:Contract>
		<cbc:ID>CON-12345</cbc:ID>
	</cac:Contract>
	<cac:SellerSupplierParty>
		<cac:Party>
			<cbc:EndpointID schemeID="0088">7598000000128</cbc:EndpointID>
			<cac:PartyIdentification>
				<cbc:ID schemeID="0184">DK12345678</cbc:ID>
			</cac:PartyIdentification>
			<cac:PostalAddress>
				<cbc:StreetName>Storgt. 12</cbc:StreetName>
				<cbc:AdditionalStreetName>4. etasje</cbc:AdditionalStreetName>
				<cbc:CityName>Oslo</cbc:CityName>
				<cbc:PostalZone>0585</cbc:PostalZone>
				<cbc:CountrySubentity>Region</cbc:CountrySubentity>
				<cac:AddressLine>
					<cbc:Line>Address Line 3</cbc:Line>
				</cac:AddressLine>
				<cac:Country>
					<cbc:IdentificationCode>NO</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>The Supplier AB</cbc:RegistrationName>
				<cbc:CompanyID schemeID="0082">123456789</cbc:CompanyID>
			</cac:PartyLegalEntity>
			<cac:Contact>
				<cbc:Name>John Doe</cbc:Name>
				<cbc:Telephone>11223344</cbc:Telephone>
				<cbc:ElectronicMail>jd@supplier.com</cbc:ElectronicMail>
			</cac:Contact>
		</cac:Party>
	</cac:SellerSupplierParty>
	<cac:BuyerCustomerParty>
		<cac:Party>
			<cbc:EndpointID schemeID="0088">7590000012347</cbc:EndpointID>
			<cac:PartyIdentification>
				<cbc:ID schemeID="0184">DK55412777</cbc:ID>
			</cac:PartyIdentification>
			<cac:PostalAddress>
				<cbc:StreetName>Sinsenveien 40</cbc:StreetName>
				<cbc:AdditionalStreetName>Oppgang B</cbc:AdditionalStreetName>
				<cbc:CityName>Oslo</cbc:CityName>
				<cbc:PostalZone>0501</cbc:PostalZone>
				<cbc:CountrySubentity>Region</cbc:CountrySubentity>
				<cac:AddressLine>
					<cbc:Line>Address Line 3</cbc:Line>
				</cac:AddressLine>
				<cac:Country>
					<cbc:IdentificationCode>NO</cbc:IdentificationCode>
				</cac:Country>
			</cac:PostalAddress>
			<cac:PartyLegalEntity>
				<cbc:RegistrationName>City Hospital</cbc:RegistrationName>
				<cbc:CompanyID schemeID="0082">931186755</cbc:CompanyID>
			</cac:PartyLegalEntity>
		</cac:Party>
		<cac:DeliveryContact>
			<cbc:Name>Peter Petersen</cbc:Name>
			<cbc:Telephone>22334455</cbc:Telephone>
			<cbc:ElectronicMail>pp@hospital.no</cbc:ElectronicMail>
		</cac:DeliveryContact>
	</cac:BuyerCustomerParty>
	<cac:OriginatorCustomerParty>
		<cac:Party>
			<cac:PartyIdentification>
				<cbc:ID schemeID="0184">DK55412777</cbc:ID>
			</cac:PartyIdentification>
			<cac:PartyName>
				<cbc:Name>Helseavdeling</cbc:Name>
			</cac:PartyName>
		</cac:Party>
	</cac:OriginatorCustomerParty>
	<cac:AccountingCustomerParty>
		<cac:Party>
			<cac:PartyIdentification>
				<cbc:ID schemeID="0184">DK55412777</cbc:ID>
			</cac:PartyIdentification>
			<cac:PartyName>
				<cbc:Name>Accounting</cbc:Name>
			</cac:PartyName>
		</cac:Party>
	</cac:AccountingCustomerParty>
	<cac:AllowanceCharge>
		<cbc:ChargeIndicator>true</cbc:ChargeIndicator>
		<cbc:AllowanceChargeReasonCode>ABK</cbc:AllowanceChargeReasonCode>
		<cbc:AllowanceChargeReason>Miscellaneous services</cbc:AllowanceChargeReason>
		<!--	<cbc:MultiplierFactorNumeric>10</cbc:MultiplierFactorNumeric>
-->
		<cbc:Amount currencyID="EUR">2.00</cbc:Amount>
		<!--	<cbc:BaseAmount currencyID="EUR">32.50</cbc:BaseAmount>
-->
		<cac:TaxCategory>
			<cbc:ID>S</cbc:ID>
			<cbc:Percent>25</cbc:Percent>
			<cac:TaxScheme>
				<cbc:ID>VAT</cbc:ID>
			</cac:TaxScheme>
		</cac:TaxCategory>
	</cac:AllowanceCharge>
	<cac:AllowanceCharge>
		<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
		<cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
		<cbc:AllowanceChargeReason>Discount</cbc:AllowanceChargeReason>
		<cbc:MultiplierFactorNumeric>10</cbc:MultiplierFactorNumeric>
		<cbc:Amount currencyID="EUR">3.25</cbc:Amount>
		<cbc:BaseAmount currencyID="EUR">32.50</cbc:BaseAmount>
		<cac:TaxCategory>
			<cbc:ID>S</cbc:ID>
			<cbc:Percent>25</cbc:Percent>
			<cac:TaxScheme>
				<cbc:ID>VAT</cbc:ID>
			</cac:TaxScheme>
		</cac:TaxCategory>
	</cac:AllowanceCharge>
	<cac:TaxTotal>
		<cbc:TaxAmount currencyID="EUR">7.81</cbc:TaxAmount>
		<cac:TaxSubtotal>
			<cbc:TaxableAmount currencyID="EUR">31.25</cbc:TaxableAmount>
			<cbc:TaxAmount currencyID="EUR">7.81</cbc:TaxAmount>
			<cac:TaxCategory>
				<cbc:ID>S</cbc:ID>
				<cbc:Percent>25</cbc:Percent>
				<cac:TaxScheme>
					<cbc:ID>VAT</cbc:ID>
				</cac:TaxScheme>
			</cac:TaxCategory>
		</cac:TaxSubtotal>
	</cac:TaxTotal>
	<cac:LegalMonetaryTotal>
		<cbc:LineExtensionAmount currencyID="EUR">32.5</cbc:LineExtensionAmount>
		<cbc:TaxExclusiveAmount currencyID="EUR">31.25</cbc:TaxExclusiveAmount>
		<cbc:TaxInclusiveAmount currencyID="EUR">39.06</cbc:TaxInclusiveAmount>
		<cbc:AllowanceTotalAmount currencyID="EUR">3.25</cbc:AllowanceTotalAmount>
		<cbc:ChargeTotalAmount currencyID="EUR">2.00</cbc:ChargeTotalAmount>
		<cbc:PrepaidAmount currencyID="EUR">10.00</cbc:PrepaidAmount>
		<cbc:PayableRoundingAmount currencyID="EUR">0.94</cbc:PayableRoundingAmount>
		<cbc:PayableAmount currencyID="EUR">30.00</cbc:PayableAmount>
	</cac:LegalMonetaryTotal>
	<cac:OrderLine>
		<cac:LineItem>
			<cbc:ID>1</cbc:ID>
			<cbc:Note>Order line note text</cbc:Note>
			<cbc:Quantity unitCode="C62">15</cbc:Quantity>
			<cbc:LineExtensionAmount currencyID="EUR">22.50</cbc:LineExtensionAmount>
			<cac:Delivery>
				<cbc:Quantity unitCode="C62">15.00</cbc:Quantity>
				<cac:PromisedDeliveryPeriod>
					<cbc:StartDate>2018-08-10</cbc:StartDate>
					<cbc:StartTime>12:00:00</cbc:StartTime>
					<cbc:EndDate>2018-08-12</cbc:EndDate>
					<cbc:EndTime>12:00:00</cbc:EndTime>
				</cac:PromisedDeliveryPeriod>
			</cac:Delivery>
			<cac:Price>
				<cbc:PriceAmount currencyID="EUR">1.50</cbc:PriceAmount>
				<cbc:BaseQuantity unitCode="C62">1</cbc:BaseQuantity>
				<cbc:PriceType>AAA</cbc:PriceType>
				<cac:AllowanceCharge>
					<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
					<cbc:Amount currencyID="EUR">0.20</cbc:Amount>
					<cbc:BaseAmount currencyID="EUR">1.70</cbc:BaseAmount>
				</cac:AllowanceCharge>
			</cac:Price>
			<cac:Item>
				<cbc:Description>Brown sauce - long description</cbc:Description>
				<cbc:Name>Brown sauce</cbc:Name>
				<cac:SellersItemIdentification>
					<cbc:ID>SN-33</cbc:ID>
				</cac:SellersItemIdentification>
				<cac:StandardItemIdentification>
					<cbc:ID schemeID="0160">7400000001234</cbc:ID>
				</cac:StandardItemIdentification>
				<cac:ItemSpecificationDocumentReference>
					<cbc:ID>147852</cbc:ID>
					<cbc:DocumentTypeCode>TRADE_ITEM_DESCRIPTION</cbc:DocumentTypeCode>
					<cbc:DocumentType>Timesheet</cbc:DocumentType>
					<cac:Attachment>
						<cbc:EmbeddedDocumentBinaryObject mimeCode="image/tiff"
							filename="hours-spend.csv">
							UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</cbc:EmbeddedDocumentBinaryObject>
						<cac:ExternalReference>
							<cbc:URI>http://www.example.com/index.html</cbc:URI>
						</cac:ExternalReference>
					</cac:Attachment>
				</cac:ItemSpecificationDocumentReference>
				<cac:CommodityClassification>
					<cbc:ItemClassificationCode listID="MP" listVersionID="19.0501">12345678</cbc:ItemClassificationCode>
				</cac:CommodityClassification>
				<cac:TransactionConditions>
					<cbc:ActionCode>CT</cbc:ActionCode>
				</cac:TransactionConditions>
				<cac:ClassifiedTaxCategory>
					<cbc:ID>S</cbc:ID>
					<cbc:Percent>25</cbc:Percent>
					<cac:TaxScheme>
						<cbc:ID>VAT</cbc:ID>
					</cac:TaxScheme>
				</cac:ClassifiedTaxCategory>
				<cac:AdditionalItemProperty>
					<cbc:ID
						schemeDataURI="https://define.cobuilder.no/77e416eb-a363-4258-a04e-171d843a6460/2022/"
						schemeID="ISO22057" schemeVersionID="2022">
						77e416eb-a363-4258-a04e-171d843a6460</cbc:ID>
					<cbc:Name>Length</cbc:Name>
					<cbc:NameCode listID="NN">test</cbc:NameCode>
					<cbc:Value>30 mm</cbc:Value>
				</cac:AdditionalItemProperty>
				<cac:Certificate>
					<cbc:ID>EU EcoLabel</cbc:ID>
					<cbc:CertificateTypeCode>NA</cbc:CertificateTypeCode>
					<cbc:CertificateType>Environmental</cbc:CertificateType>
					<cbc:Remarks>Item labl value</cbc:Remarks>
					<cac:IssuerParty>
						<cac:PartyName>
							<cbc:Name>Issuer party name</cbc:Name>
						</cac:PartyName>
					</cac:IssuerParty>
					<cac:DocumentReference>
						<cbc:ID>http://www.label.eu/test/</cbc:ID>
					</cac:DocumentReference>
				</cac:Certificate>
			</cac:Item>
		</cac:LineItem>
	</cac:OrderLine>
	<cac:OrderLine>
		<cac:LineItem>
			<cbc:ID>2</cbc:ID>
			<cbc:Quantity unitCode="C62">1</cbc:Quantity>
			<cbc:LineExtensionAmount currencyID="EUR">10</cbc:LineExtensionAmount>
			<cac:Price>
				<cbc:PriceAmount currencyID="EUR">10.00</cbc:PriceAmount>
			</cac:Price>
			<cac:Item>
				<cbc:Name>White sauce</cbc:Name>
				<cac:SellersItemIdentification>
					<cbc:ID>SN-34</cbc:ID>
				</cac:SellersItemIdentification>
			</cac:Item>
		</cac:LineItem>
	</cac:OrderLine>
</OrderResponse>
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api.qvalia.io/sample-data/api-sample-data/orderagreement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
