HOME / COMMUNITY Switch to knowledge base

PurchaseOrders API - add support for quantity


#1

Hi,
We can’t add quantity to an item

<PurchaseOrder_Create  xmlns="https://api.quickfile.co.uk"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xsi:schemaLocation="https://api.quickfile.co.uk https://api.quickfile.co.uk/schemas/1_2/PurchaseOrder_Create.xsd">
  <Header>
    <MessageType>Request</MessageType> 
    <SubmissionNumber>d11fdc3e-f839-4142-b9ab-3bd74157b510</SubmissionNumber>
    <Authentication>
      <AccNumber>6131516268</AccNumber>
      <MD5Value>a92e4a29c87104a7b6d9fd5729f9ef4a</MD5Value>
       <ApplicationID>60f31669-0e30-4f4c-b380-1a538a5fc869</ApplicationID>
    </Authentication>
  </Header>
  <Body>
    <PurchaseOrderData> 
      <SupplierID>106476</SupplierID> 
       <ReceiptDate>2017-06-05</ReceiptDate> 
      <Currency>GBP</Currency> 
      <InvoiceLines> 
          <ItemLine>
            <ItemNominalCode>5000</ItemNominalCode>
            <ItemDescription>Ergonomically Designed Inner Earphones with 3.5mm headphone jack</ItemDescription>
            <SubTotal>14.99</SubTotal>
           <VatRate>20</VatRate> 
          </ItemLine> 
      </InvoiceLines>
    </PurchaseOrderData>
  </Body>
</PurchaseOrder_Create>

#2

Hi @resins

Quantity isn’t currently supported through the API as I believe this was added to the interface later.

I have asked for this to be looked at to see if it can be added.