AP Invoice
URL | Verbs | Function |
/APInvoice | GET | Query a list of all APInvoices |
/APInvoice/<reference> | GET | Query a list of APInvoice with a particular reference (noting that reference codes are unique by Supplier). If the reference is unique a single record will be returned, if it is not unique a list will be returned |
/APInvoice/<reference>?supplier=<code> | GET | Get a specific APInvoice with a particular reference for a particular Supplier. |
/APInvoice | POST | Create a new AP Invoice |
Supported modifiers
Query String | Definition | Sample | Available |
---|---|---|---|
modifiedSince | Return AP Invoices modified since a particular date and time | modifiedSince=2013-02-28T16:45:00 | |
supplier | Return a list of APInvoices for a particular Supplier | supplier=24454342 | |
holdCode | Return a list of AP Invoices for a particular Hold Code | holdCode=Entered | |
canBeApprovedByUser | Return a list of AP Invoices that are able to be approved by a particular User | canBeApprovedByUser=Amanda Algar | Post 2019.4 |
includesGLAccount | Return AP Invoices that contain at least one line item with the nominated GL Account | includesGLAccount=10.10.1050 | 2021.1 |
postingDate | Return AP Invoices for a specific Posting Date | postingDate=2018-08-01 | 2021.1 |
Security Linked Menu
Menu Item | Located |
---|---|
Invoice Entry | Data Entry / Accounts Payable |
Sample XML Response
<?xml version="1.0" encoding="UTF-8"?> <APInvoice> <Edition>11</Edition> <OidString>2645.316</OidString> <EntryTimeStamp>2007-01-07T13:42:07</EntryTimeStamp> <EntryUser>SUPER</EntryUser> <ModifiedTimeStamp>2013-09-03T09:33:17</ModifiedTimeStamp> <ModifiedUser>SUPER</ModifiedUser> <CurrencyRate>1.81801654</CurrencyRate> <DocumentDate>2007-01-07</DocumentDate> <Discount>0.00</Discount> <HoldAmount>0.00</HoldAmount> <NetAmount>800.00</NetAmount> <TaxAmount>80.00</TaxAmount> <IsCurrencyRateMultiply>true</IsCurrencyRateMultiply> <IsPrinted>false</IsPrinted> <IsRootTransaction>true</IsRootTransaction> <BatchNumber>389</BatchNumber> <Branch>02</Branch> <Currency>USD</Currency> <PostingDate>2007-01-07</PostingDate> <Reference>030106INV</Reference> <SourceSystem>Greentree</SourceSystem> <StandardText>Inventec Technolgies</StandardText> <HoldCode>None</HoldCode> <PaymentDate>2007-02-06</PaymentDate> <IsUpdatingTaxPeriodSummary>true</IsUpdatingTaxPeriodSummary> <CombinedRate>1.81803157</CombinedRate> <IsMaterialsOnly>false</IsMaterialsOnly> <IsWithholdingTaxDeducted>false</IsWithholdingTaxDeducted> <PaymentTerm>30 Days from Invoice Date</PaymentTerm> <Supplier>2013</Supplier> <SourceStdingInvRef/> <LineItems collection="true" count="1"> <LineItem> <LineType>FALineItem</LineType> <LineNumber>1</LineNumber> <OidString>2604.16</OidString> <Edition>3</Edition> <TaxCode>Capital Aquisitions with GST</TaxCode> <TaxType>Exclusive</TaxType> <Quantity>1.0000</Quantity> <DiscountPercentage>0.00</DiscountPercentage> <Amount>800.00</Amount> <DiscountAmount>0.00</DiscountAmount> <HoldAmount>0.00</HoldAmount> <TaxAmount>80.00</TaxAmount> <TaxPercentage>10.0000</TaxPercentage> <UnitPrice>800.0000</UnitPrice> <StandardText/> <CurrencyRate>1.81801654</CurrencyRate> <DocumentDate>2007-01-07</DocumentDate> <IsCurrencyRateMultiply>true</IsCurrencyRateMultiply> <IsRateFixed>true</IsRateFixed> <LineItemType>FA</LineItemType> <NonTaxPrice>800.0000</NonTaxPrice> <PostingDate>2007-01-07</PostingDate> <TaxInclusivePrice>880.0000</TaxInclusivePrice> <FixedAsset>OE001</FixedAsset> <PurchaseReference>100094</PurchaseReference> </LineItem> </LineItems> </APInvoice>