The fastest way to invoice your clients and track time.

Invoice Clarity - effortless billingQuotation API XML



Show the quotation create schema Quotation create schema

<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Quotation" Method="Create" xmlns="urn:InvoiceClarity-com:QuotationCreate" >
  <Quotation>
    <QuotationNumber>11</QuotationNumber>
    <QuotationStatus>Draft</QuotationStatus>
    <Date>2008-02-20</Date>
    <PurchaseOrder>2314fgds</PurchaseOrder>
    <Discount>18.4</Discount>
    <ClientId>91</ClientId>
    <Notes>Notes </Notes>
    <Terms>Please pay in 30 days.</Terms>
    <Footer>Company details</Footer>
    <SendAsPdf>true</SendAsPdf>

    <QuotationLines>
      <QuotationLine>
        <ItemId></ItemId>
        <Name>Nice thing</Name>
        <Description>Nice thing</Description>
        <UnitCost>10.5</UnitCost>
        <Quantity>3</Quantity>
        <CompanyTax1>1</CompanyTax1>
        <CompanyTax2></CompanyTax2>
      </QuotationLine>
      <QuotationLine>
        <ItemId>94</ItemId>
        <Name>Expensive stuff</Name>
        <Description>Expensive stuff</Description>
        <UnitCost>124.35</UnitCost>
        <Quantity>2</Quantity>
        <CompanyTax1></CompanyTax1>
        <CompanyTax2>2</CompanyTax2>
      </QuotationLine>
    </QuotationLines>
  </Quotation>
</Request>

Quotation create response

<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
  <QuotationId>12356</QuotationId>
  <Errors>
    <Error description="Errors go here"></Error>
  </Errors>
</Response>

Show the quotation update schema Quotation update schema

<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Quotation" Method="Update" xmlns="urn:InvoiceClarity-com:QuotationUpdate" >
  <Quotation>
    <QuotationId>54</QuotationId>
    <QuotationStatus>Draft</QuotationStatus>
    <Date>2008-02-20</Date>
    <PurchaseOrder>342421</PurchaseOrder>
    <Discount>10.4</Discount>
    <ClientId>14</ClientId>
    <Notes>Notes go here</Notes>
    <Terms>Please pay in 30 days.</Terms>
    <Footer>Company details</Footer>
    <SendAsPdf>True</SendAsPdf>

    <QuotationLines>
      <QuotationLine>
        <Name>Invoice item name</Name>
        <Description>Invoice item description</Description>
        <UnitCost>543</UnitCost>
        <CompanyTax1></CompanyTax1>
        <CompanyTax2>Tax 2</CompanyTax2>
      </QuotationLine>
      <QuotationLine>
        <Name>And name changed</Name>
        <Description>It description changed</Description>
        <UnitCost>14.35</UnitCost>
        <CompanyTax1>Tax 1</CompanyTax1>
        <CompanyTax2></CompanyTax2>
      </QuotationLine>
    </QuotationLines>
  </Quotation>
</Request>

Quotation update response

<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
  <QuotationId>12356</QuotationId>
  <Errors>
    <Error description="Errors go here"></Error>
  </Errors>
</Response>

Show the quotation delete schema Quotation delete schema

<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Quotation" Method="Delete" xmlns="urn:InvoiceClarity-com:QuotationDelete" >
  <Quotation>
    <QuotationId>54</QuotationId>
  </Quotation>
</Request>

Quotation delete response

<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
  <QuotationId>12356</QuotationId>
  <Errors>
    <Error description="Errors go here"></Error>
  </Errors>
</Response>

Show the quotation list schema Quotation list schema

<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Quotation" Method="List" xmlns="urn:InvoiceClarity-com:QuotationList" >
  <Page>1</Page>                                 <!-- Page number to display -->
  <PerPage>3</PerPage>                           <!-- Number of invoices per page -->
  <ShowArchived>true</ShowArchived>              <!-- Show archived -->
  <ShowDeleted>true</ShowDeleted>                <!-- Invoice deleted -->
  <QuotationStatus></QuotationStatus>            <!-- Optional  -->
  <ClientId></ClientId>                          <!-- Optional  -->
  <DateFrom>2008-05-07</DateFrom>                <!-- Optional date start  -->
  <DateTo>2008-05-07</DateTo>                    <!-- Optional date end  -->
</Request>

Quotation list response

<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
  <Quotations page="1" total="2" >
    <Quotation>
      <QuotationId>54</QuotationId>
      <InvoiceNumber>3321</InvoiceNumber>
      <InvoiceStatus>Viewed</InvoiceStatus>
      <Date>2008-02-20</Date>
      <PurchaseOrder>342421</PurchaseOrder>
      <Discount>10.4</Discount>
      <ClientId>14</ClientId>
      <Notes>Notes go here</Notes>
      <Terms>Please pay in 30 days.</Terms>
      <Footer>Company details</Footer>
      <SendAsPdf>True</SendAsPdf>

      <InvoiceLines>
        <InvoiceLine>
          <Name>Lots of work</Name>
          <Description>It was hard</Description>
          <UnitCost>543</UnitCost>
          <CompanyTax1>Tax1</CompanyTax1>
          <CompanyTax2></CompanyTax2>
        </InvoiceLine>
        <InvoiceLine>
          <Name>And more changed</Name>
          <Description>It was even harder changed</Description>
          <UnitCost>14.35</UnitCost>
          <CompanyTax1></CompanyTax1>
          <CompanyTax2>Tax2</CompanyTax2>
        </InvoiceLine>
      </InvoiceLines>
    </Quotation>
  </Quotations>
  <Errors>
    <Error description="Errors go here"></Error>
  </Errors>
</Response>

Show the quotation item schema Quotation item schema

<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Quotation" Method="Item" xmlns="urn:InvoiceClarity-com:QuotationItem" >
    <QuotationId>91</QuotationId>
</Request>

Quotation item response

<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
  <Quotation>
    <QuotationId>54</QuotationId>
    <InvoiceNumber>3321</InvoiceNumber>
    <InvoiceStatus>Viewed</InvoiceStatus>
    <Date>2008-02-20</Date>
    <PurchaseOrder>342421</PurchaseOrder>
    <Discount>10.4</Discount>
    <ClientId>14</ClientId>
    <Notes>Notes go here</Notes>
    <Terms>Please pay in 30 days.</Terms>
    <Footer>Company details</Footer>
    <SendAsPdf>True</SendAsPdf>

    <InvoiceLines>
      <InvoiceLine>
        <Name>Lots of work</Name>
        <Description>It was hard</Description>
        <UnitCost>543</UnitCost>
        <CompanyTax1>Tax1</CompanyTax1>
        <CompanyTax2></CompanyTax2>
      </InvoiceLine>
      <InvoiceLine>
        <Name>And more changed</Name>
        <Description>It was even harder changed</Description>
        <UnitCost>14.35</UnitCost>
        <CompanyTax1></CompanyTax1>
        <CompanyTax2>Tax2</CompanyTax2>
      </InvoiceLine>
    </InvoiceLines>
  </Quotation>
  <Errors>
    <Error description="Errors go here"></Error>
  </Errors>
</Response>
Rss feed Rss feed Free phone Call free 0800 612 6270 Secure login Login Sign Up