Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
APInvoiceApprovalApiAPInvoiceUnapprovalApi
APInvoiceListApi
APInvoiceDetailApi
APInvoicePurchaseOrderDetailApi
Endpoints
APInvoiceListApi
Web Workbench Screen: “AP Invoice Enquiry“ (#/APProcessing/APInvoiceList.aspx)
Operation | Logged in User | Parameters | Body | Response |
---|---|---|---|---|
POST | Authenticating User | GridRequestParametersApi | GridResult<APInvoiceLine> |
APInvoiceDetailApi
Web Workbench Screen: “AP Invoice Enquiry“ (#/APProcessing/APInvoiceList.aspx)
/api/APInvoiceDetailApi | ||||
---|---|---|---|---|
Operation | Logged in User | Parameters | Body | Response |
DELETE | ||||
GET | Admin User | APInvoiceId | ||
POST | Admin User |
APCreditDetailApi
Web Workbench Screen: “AP Invoice Enquiry“ (#/APProcessing/APInvoiceList.aspx)
Operation | Logged in User | Parameters | Body | Response |
---|---|---|---|---|
GET | Admin User | APInvoiceId | ||
POST | Admin User |
APInvoiceApprovalApi
Web Workbench Screen: “AP Invoice Enquiry“ (#/APProcessing/APInvoiceList.aspx)
Operation | Logged in User | Parameters | Body | Response |
---|---|---|---|---|
POST | APInvoiceKey.PersonID | SaveResult |
APInvoiceUnapprovalApi
Web Workbench Screen: “AP Invoice Enquiry“ (#/APProcessing/APInvoiceList.aspx)
Operation | Logged in User | Parameters | Body | Response |
---|---|---|---|---|
POST | APInvoiceKey.PersonID | SaveResult |
APInvoicePurchaseOrderDetailApi
Web Workbench Screen: “AP Invoice Enquiry“ (#/APProcessing/APInvoiceList.aspx)
Operation | Logged in User | Parameters | Body | Response |
---|---|---|---|---|
GET | Authenticating User | APInvoiceId | ||
POST | Admin User |
Models
APInvoiceApiModel
Property | Data Type | Description |
---|---|---|
Key | APProcessingAPInvoiceKey | |
DialogHeader | APProcessingAPInvoiceDialogHeader | |
JobTransactions | APProcessingAPInvoiceDialogGrid | |
POLines | APProcessingPOConfirmationDialogGrid |
APInvoiceJobTransactionApi
Property | Data Type | Description |
---|---|---|
StoredFile | StoredFilesApiModel | |
Form | APInvoiceApiModel | |
Rows | Array [JobTransactionsJobTransactionLine] | |
ReadonlyMessages | Array [Tuple_String] | |
ValidationErrors | Array [MvcValidationError] | |
WarningMessage | String | |
SuccessMessage | String | |
ErrorMessage | String |
APInvoiceKey
Property | Data Type | Required | Description |
---|---|---|---|
APInvoiceId | integer | required | ID of the AP Invoice |
PersonId | integer | ID of the Person the operation will be performed as |
APInvoiceLine
Property | Description |
---|---|
InvoiceNumberValue | Reference |
SupplierValue | Supplier |
DateValue | Date |
TypeValue | Type |
BatchNoValue | Batch No |
APStatusValue | Status |
AssignedApproverValue | Assigned Approver |
ApprovedByValue | Approved By |
CurrencyValue | Currency |
AmountValue | |
ExGstValue | ex GST |
GstValue | GST |
IncGstValue | inc GST |
TotalPaymentValue | Total Payment |
TotalCreditInclValue | Total Credit Incl |
LastPaymentValue | Last Payment |
LastPaymentDate | Last Payment Date |
UpdatedDate |
APProcessingAPInvoiceDialogGrid
Field | Type | Description |
---|---|---|
Rows | Array [JobTransactionsJobTransactionLine] |
APProcessingAPInvoiceDialogHeader
Field | Type | Description |
---|---|---|
IsReviewed | Boolean | |
IsApproved | Boolean | |
InvoiceNo | ||
APReference | Set AP Reference through the API when you create AP from PO. This field does not work for AP Credits | |
InvoiceDate | ||
PaymentDate | ||
Currency | ||
EditableCurrency | ||
Rate | ||
BatchNo | ||
Period | ||
PONo | ||
APInvoiceId | ||
Supplier | ||
Status | ||
ReceivedDate | ||
ApprovedBy | ||
Date | ||
ApplyToInvoice | ||
Gst | ||
TotalInclGst | ||
AssignedReviewer | ||
AssignedApprover | ||
EnteredBy | ||
Comments | ||
FinancialCompany | ||
OnHold | ||
DataImportId | Integer | |
IsNew | Boolean | |
PoCurrencyCode | String | |
AllowBciTimesheets | Boolean | |
DocketPoSelected | Boolean | |
IsOnHoldVisible | Boolean |
APProcessingAPInvoiceLine
Field | Type | Description |
---|
...
Approved
...
...
...
SequenceNo
...
...
InvoiceNumber | String | |
CreditNumber | String | |
SupplierId | String | |
Date | String | |
Type | String | |
SubContractCode | String | |
APStatus | String | |
InvoiceNumberValue | ||
SupplierValue | ||
DateValue | String | |
TypeValue | ||
BatchNoValue | ||
APStatusValue | ||
AssignedApproverValue | ||
ApprovedByValue | ||
CurrencyValue | ||
AmountValue | ||
ExGstValue | ||
GstValue | ||
IncGstValue | ||
TotalPaymentValue | ||
TotalCreditInclValue | ||
LastPaymentValue | ||
LastPaymentDate | String | |
UpdatedDate | String | |
Status | String | |
ReadonlyFlag | Integer | |
ReadonlyMessage | String | |
OriginalKey | APProcessingAPInvoiceKey | |
CurrentKey | APProcessingAPInvoiceKey | |
Key | APProcessingAPInvoiceKey | |
Index | Integer |
APProcessingAPInvoiceKey
Property | Type | Description |
---|---|---|
APInvoiceId | Integer | |
BatchNo | Integer | |
BatchType | String | |
PONo | Integer | |
CompanyId | Integer | |
PersonId | Integer | |
IsApCredit | Boolean | |
FileUrl | String | |
Completed | Boolean | |
ActiveTab | String | |
StoredFileId | Integer | |
DocketId | Integer | |
FilterDockets | Boolean |
APProcessingPOConfirmationDialogGrid
Property | Type | Description |
---|---|---|
Layout | Layout | |
Rows | Array [APProcessingPOConfirmationLine] |
JobTransactionsJobTransactionDetailKey
Property | Type | Description |
---|---|---|
JobTransactionsJobTransactionLine
Property | Type | Description |
---|---|---|
TranDate | String | |
LogHeaderID | Integer | |
FcCost | Number | |
FcRetail | Number | |
PurchaseOrderLineId | Integer | |
StockLocationInactive | Boolean | |
Unit | String | |
EnteredByID | Integer | |
SourceID | Integer | |
FCGST | Number | |
JobCodeValue | ||
LogHeader | ||
ActivityCodeValue | ||
WorkCentreCodeValue | ||
QuantityValue | ||
FcCostValue | ||
CostValue | ||
GSTTypeValue | ||
GSTTypeCodeValue | ||
GSTRateValue | ||
GSTValue | ||
NetValueValue | ||
ReferenceValue | ||
FcRetailValue | ||
RetailValue | ||
LineDescriptionValue | ||
DetailsValue | ||
FromPONumberValue | ||
PurchaseOrderLineIdValue | ||
ReinstatePOCommitment | Boolean | |
StockLocationCodeValue | ||
StockItemCodeValue | ||
TotalLineCostValue | ||
CostRateValue | ||
UnitValue | ||
FCGSTValue | ||
Delete | ||
Serials | ||
SerialRows | Array [TabletSerialLine] | |
Status | String | |
ReadonlyFlag | Integer | |
ReadonlyMessage | String | |
OriginalKey | JobTransactionsJobTransactionDetailKey | |
CurrentKey | JobTransactionsJobTransactionDetailKey | |
Key | JobTransactionsJobTransactionDetailKey | |
Index | Integer |
Example
APInvoiceListApi POST
Expand | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Request
Response
Response sample
|
APInvoiceJobTransactionApi
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
APInvoiceApprovalApiAPInvoiceUnapprovalApiAPInvoiceListApi
APInvoiceDetailApi
APInvoicePurchaseOrderDetailApi