Invoice item API XML
Show the invoice item create schema Invoice item create schema
<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Item" Method="Create" xmlns="urn:InvoiceClarity-com:ItemCreate" >
<Item>
<Name>Christmass card</Name>
<Description>Christmass card in blue</Description>
<UnitCost>31</UnitCost>
<CompanyTax1>Tax 1</CompanyTax1> <!-- Optional Tax 1 -->
<CompanyTax2>Tax 2</CompanyTax2> <!-- Optional Tax 2 -->
<TrackStock>true</TrackStock> <!-- Optional track stock default to false -->
<StockLevel>50</StockLevel> <!-- Option stock level if TrackStock is true -->
<MinLevel>10</MinLevel> <!-- Option minimum stock level checked when logging in -->
</Item>
</Request>
Invoice item create response
<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
<ItemId>12356</ItemId>
<Errors>
<Error description="Errors go here"></Error>
</Errors>
</Response>
Show the invoice item update schema Invoice item update schema
<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Item" Method="Update" xmlns="urn:InvoiceClarity-com:ItemUpdate" >
<Item>
<Name>Christmass card</Name>
<Description>Christmass card in pink</Description>
<UnitCost>55</UnitCost>
<CompanyTax1>Tax 1</CompanyTax1> <!-- Optional Tax 1 -->
<CompanyTax2>Tax 2</CompanyTax2> <!-- Optional Tax 2 -->
<TrackStock>true</TrackStock> <!-- Optional track stock default to false -->
<StockLevel>50</StockLevel> <!-- Option stock level if TrackStock is true -->
<MinLevel>10</MinLevel> <!-- Option minimum stock level checked when logging in -->
</Item>
</Request>
Invoice item update response
<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
<ItemId>12356</ItemId>
<Errors>
<Error description="Errors go here"></Error>
</Errors>
</Response>
Show the invoice item delete schema Invoice item delete schema
<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Item" Method="Delete" xmlns="urn:InvoiceClarity-com:ItemDelete" >
<Item>
<ItemId>10</ItemId>
</Item>
</Request>
Invoice item delete response
<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
<ItemId>12356</ItemId>
<Errors>
<Error description="Errors go here"></Error>
</Errors>
</Response>
Show the invoice item list schema Invoice item list schema
<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Item" Method="List" xmlns="urn:InvoiceClarity-com:ItemList" >
<Page>1</Page>
<PerPage>5</PerPage>
<ShowArchived>true</ShowArchived>
<ShowDeleted>true</ShowDeleted>
</Request>
Invoice item list response
<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
<Items page="1" total="3" >
<Item>
<Name>Christmass card</Name>
<Description>Christmass card in blue</Description>
<UnitCost>31</UnitCost>
<CompanyTax1>Tax 1</CompanyTax1>
<CompanyTax2>Tax 2</CompanyTax2>
<TrackStock>true</TrackStock>
<StockLevel>50</StockLevel>
<MinLevel>10</MinLevel>
</Item>
<Item>
<Name>Christmass card</Name>
<Description>Christmass card in pink</Description>
<UnitCost>66</UnitCost>
<CompanyTax1>Tax 1</CompanyTax1>
<CompanyTax2>Tax 2</CompanyTax2>
<TrackStock>true</TrackStock>
<StockLevel>50</StockLevel>
<MinLevel></MinLevel>
</Item>
</Items>
<Errors>
<Error description="Errors go here"></Error>
</Errors>
</Response>
Show the invoice item schema Invoice item schema
<?xml version="1.0" encoding="utf-8" ?>
<Request Object="Item" Method="Item" xmlns="urn:InvoiceClarity-com:ItemItem" >
<ItemId>10</ItemId>
</Request>
Invoice item response
<?xml version="1.0" encoding="utf-8"?>
<Response status="Ok" >
<Item>
<Name>Christmass card</Name>
<Description>Christmass card in blue</Description>
<UnitCost>31</UnitCost>
<CompanyTax1>Tax 1</CompanyTax1>
<CompanyTax2>Tax 2</CompanyTax2>
<TrackStock>true</TrackStock>
<StockLevel>50</StockLevel>
<MinLevel>10</MinLevel>
</Item>
<Errors>
<Error description="Errors go here"></Error>
</Errors>
</Response>