Skip to content

Export Goods Received Notes from Zahara

This task will export goods received notes from Zahara, and output them to an XML file.

Settings

Connection

Required
Select the Zahara connection you want to use. See Connecting to Zahara.

Export Purchase Orders

Required
Set to True to export the purchase orders related to each goods received note.

Export Settings > Date Modified

Required
Used when exporting modified records. The date shown will update automatically when the task runs.

Export Settings > Export Modified or All Records

Required
Select the type of export to perform. The following options are available:

  • Modified - Will export new/modified records since the date shown in the 'Date Modified' setting.
  • All - Will export all records.

Page Size

Required
The number of records to request from Zahara at a time.

Record IDs

Optional
Provide a list of record IDs to export specific records from Zahara. Doing so will override all other export settings.

Output File

Required
The XML file to save the exported records to.

Zynk Settings

See Common Task Settings

Examples

A sample input file is shown below.

<?xml version="1.0" encoding="utf-8"?>
<GoodsReceivedNotes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <GoodsReceivedNote>
    <Id>2655549</Id>
    <ExternalId />
    <LastUpdated>2025-10-02T10:09:38Z</LastUpdated>
    <GrnId>2655549</GrnId>
    <Audits>
      <Audit>
        <HistoryId>6023236</HistoryId>
        <QuantityReceived>1.0</QuantityReceived>
        <PurchaseOrderLineId>31491869</PurchaseOrderLineId>
      </Audit>
      <Audit>
        <HistoryId>6023237</HistoryId>
        <QuantityReceived>1.0</QuantityReceived>
        <PurchaseOrderLineId>31491870</PurchaseOrderLineId>
      </Audit>
      <Audit>
        <HistoryId>6023238</HistoryId>
        <QuantityReceived>0.0</QuantityReceived>
        <PurchaseOrderLineId>31491871</PurchaseOrderLineId>
      </Audit>
    </Audits>
    <DateReceived>2025-10-02T10:09:38Z</DateReceived>
    <DeliveryDate>2025-10-01T00:00:00Z</DeliveryDate>
    <PurchaseOrderIds>
      <PurchaseOrderId>23424540</PurchaseOrderId>
    </PurchaseOrderIds>
    <PurchaseOrders>
      <PurchaseOrder>
        <Id>23424540</Id>
        <DateCreated>2025-09-24T08:53:26Z</DateCreated>
        <LastUpdated>2025-10-02T10:48:25Z</LastUpdated>
        <Address>
          <AddressId>32164258</AddressId>
          <AddressLines>Zynk Software Ltd 6-8 Charlotte Square,
Newcastle upon Tyne,
NE1 4XF</AddressLines>
          <Postcode>NE1 4XF</Postcode>
          <CountryCodeId>77</CountryCodeId>
          <CountryCode>gb</CountryCode>
          <AddressType>4</AddressType>
          <IsPrimary>false</IsPrimary>
          <Void>false</Void>
        </Address>
        <RequisitorId>145724</RequisitorId>
        <PurchaseOrderNumber>00666</PurchaseOrderNumber>
        <TotalNetValue>354.990000000000000000</TotalNetValue>
        <TotalGrossValue>425.988000000000000000</TotalGrossValue>
        <RequiredDate>2025-09-23T00:00:00Z</RequiredDate>
        <DocumentId>23424540</DocumentId>
        <BusinessDivisionId>167127</BusinessDivisionId>
        <CreatedBy>145724</CreatedBy>
        <SupplierId>3119004</SupplierId>
        <Supplier>
          <Id>3119004</Id>
          <DateCreated>2025-06-23T14:12:06Z</DateCreated>
          <LastUpdated>2025-09-09T16:02:49Z</LastUpdated>
          <BankAccountNumber />
          <BankSortCode />
          <BusinessUnitId>69576</BusinessUnitId>
          <ContactName />
          <CountryCode>gb</CountryCode>
          <CountryCodeId>77</CountryCodeId>
          <DefaultNominalCodeId>1225149</DefaultNominalCodeId>
          <DefaultPaymentTerms>30</DefaultPaymentTerms>
          <PaymentTermStartType>3</PaymentTermStartType>
          <PaymentTermDaysNumber>30</PaymentTermDaysNumber>
          <PaymentTermType>8</PaymentTermType>
          <Products />
          <ReferenceNumber>ZYNK0001</ReferenceNumber>
          <SupplierId>3119004</SupplierId>
          <SupplierName>Zynk Software Ltd</SupplierName>
          <Telephone>0191 820 1484</Telephone>
          <VatReg>123456789</VatReg>
          <Void>false</Void>
          <IsActive>true</IsActive>
          <TrustedStatus>false</TrustedStatus>
        </Supplier>
        <Type>1</Type>
        <Status>5</Status>
        <Void>false</Void>
        <LineItemMatchType>1</LineItemMatchType>
        <ProcessId>327774</ProcessId>
        <ProcessStatus>4</ProcessStatus>
        <ProcessToken>98a57328-4b5c-5412-b809-00041b104e2a</ProcessToken>
        <CurrentStepIndex>1</CurrentStepIndex>
        <CurrentStepKey>41a0b5581130a1b33c08cafb78335e65211ef13d57607e76ed5d1a7a0aa45af6</CurrentStepKey>
        <SecondaryOrderRef>101038</SecondaryOrderRef>
        <LineItems>
          <LineItem>
            <LineItemId>31491869</LineItemId>
            <DocumentId>23424540</DocumentId>
            <CostCodeId>311208</CostCodeId>
            <OrderNumber>00666</OrderNumber>
            <Quantity>1.0</Quantity>
            <Price>9.990000000000000000</Price>
            <Description>Shipping</Description>
            <NominalCodeId>1225361</NominalCodeId>
            <NominalCode>5100</NominalCode>
            <TaxCodeId>266532</TaxCodeId>
            <TaxCode>VAT</TaxCode>
            <TaxPercentage>20.000000000000000000</TaxPercentage>
            <TaxValue>1.998000000000000000</TaxValue>
            <NetValue>9.990000000000000000</NetValue>
            <QuantityReceived>1.0</QuantityReceived>
            <LastUpdated>2025-10-02T10:47:14Z</LastUpdated>
            <ProductCode>CARRIAGE</ProductCode>
            <DiscountPercentage>0.0</DiscountPercentage>
            <MatchType>3</MatchType>
            <DivisionId>167127</DivisionId>
          </LineItem>
          <LineItem>
            <LineItemId>31491870</LineItemId>
            <DocumentId>23424540</DocumentId>
            <CostCodeId>311208</CostCodeId>
            <OrderNumber>00666</OrderNumber>
            <Quantity>1.0</Quantity>
            <Price>205.000000000000000000</Price>
            <Description>TSC DA220 label printer</Description>
            <NominalCodeId>1225149</NominalCodeId>
            <NominalCode>5000</NominalCode>
            <TaxCodeId>266532</TaxCodeId>
            <TaxCode>VAT</TaxCode>
            <TaxPercentage>20.000000000000000000</TaxPercentage>
            <TaxValue>41.000000000000000000</TaxValue>
            <NetValue>205.000000000000000000</NetValue>
            <QuantityReceived>1.0</QuantityReceived>
            <LastUpdated>2025-10-02T10:48:25Z</LastUpdated>
            <ProductCode>DA220</ProductCode>
            <DiscountPercentage>0.0</DiscountPercentage>
            <MatchType>1</MatchType>
            <DivisionId>167127</DivisionId>
          </LineItem>
          <LineItem>
            <LineItemId>31491871</LineItemId>
            <DocumentId>23424540</DocumentId>
            <CostCodeId>311208</CostCodeId>
            <OrderNumber>00666</OrderNumber>
            <Quantity>1.0</Quantity>
            <Price>140.000000000000000000</Price>
            <Description>Yealink WH66 Wireless Headset</Description>
            <NominalCodeId>1225149</NominalCodeId>
            <NominalCode>5000</NominalCode>
            <TaxCodeId>266532</TaxCodeId>
            <TaxCode>VAT</TaxCode>
            <TaxPercentage>20.000000000000000000</TaxPercentage>
            <TaxValue>28.000000000000000000</TaxValue>
            <NetValue>140.000000000000000000</NetValue>
            <QuantityReceived>0.0</QuantityReceived>
            <LastUpdated>2025-10-02T10:47:14Z</LastUpdated>
            <ProductCode>YWH66</ProductCode>
            <DiscountPercentage>0.0</DiscountPercentage>
            <MatchType>1</MatchType>
            <DivisionId>167127</DivisionId>
          </LineItem>
        </LineItems>
        <ReprocessCount>0</ReprocessCount>
        <SentToSupplier>false</SentToSupplier>
        <EverSentToSupplier>false</EverSentToSupplier>
        <GeneratedFromPr>false</GeneratedFromPr>
        <SendToSupplierFailed>false</SendToSupplierFailed>
        <BasePurchaseOrderNumber>00666</BasePurchaseOrderNumber>
        <CurrencyId>1</CurrencyId>
        <CurrentExportMessage />
        <ExportedTo>0</ExportedTo>
        <CurrentExportType>0</CurrentExportType>
        <CurrentExportStatus>0</CurrentExportStatus>
        <Exported>false</Exported>
        <ExportedByWorkflow>false</ExportedByWorkflow>
        <PriorityApprovalDocument>false</PriorityApprovalDocument>
      </PurchaseOrder>
    </PurchaseOrders>
  </GoodsReceivedNote>
</GoodsReceivedNotes>