AP Invoice
Endpoints
Provides access to AP Invoice and AP Credit related data.
APInvoiceListApi
Provides API access to the AP Invoice Enquiry (#/APProcessing/APInvoiceList.aspx) Web Workbench Screen.
/api/APInvoiceListApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
POST Retrieve a filtered list of AP Invoices. | Logged in User | - |
APInvoiceDetailApi
Provides API access to the AP Invoice Enquiry (#/APProcessing/APInvoiceList.aspx) dialog Web Workbench Screen.
/api/APInvoiceDetailApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
GET | Admin User | - | ||
POST | Admin User | - |
APCreditDetailApi
Provides API access to the AP Invoice Enquiry (#/APProcessing/APInvoiceList.aspx) dialog Web Workbench Screen.
/api/APCreditDetailApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
GET Retrieve a specific AP Credit, including its Job Transaction lines. | Admin User | - | ||
POST Create a new, or update an existing, AP Credit. | Admin User | - |
APInvoiceApprovalApi
Provides API access to the Approve action of the AP Invoice Enquiry (#/APProcessing/APInvoiceList.aspx) dialog Web Workbench Screen.
/api/APInvoiceApprovalApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
POST | APInvoiceKey.PersonID (or if null: Admin User) | - |
APInvoiceUnapprovalApi
Provides API access to Unapprove action of the AP Invoice Enquiry (#/APProcessing/APInvoiceList.aspx) dialog Web Workbench Screen.
/api/APInvoiceUnapprovalApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
POST | APInvoiceKey.PersonID (or if null: Admin User) | - |
APInvoicePurchaseOrderDetailApi
Provides API access to the ‘Confirm Purchase Order’ dialog of the AP Invoice Enquiry (#/APProcessing/APInvoiceList.aspx) dialog Web Workbench Screen.
/api/APInvoicePurchaseOrderDetailApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
GET | Logged in User | - | ||
POST | Admin User | - |
Models
APInvoiceApiModel
Property | Data Type | Description |
---|---|---|
Key |
| |
DialogHeader |
| |
JobTransactions |
| |
POLines |
|
APInvoiceJobTransactionApi
Property | Data Type | Description |
---|---|---|
StoredFile | Stored file. | |
Form |
| |
Rows |
| |
ReadonlyMessages | Array [Tuple_String] | Read Only message. |
ValidationErrors | Array [MvcValidationError] | Error validation. |
WarningMessage | String | Warning message. |
SuccessMessage | String | Success message. |
ErrorMessage | String | Error message. |
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 | Amount |
ExGstValue | ex GST |
GstValue | GST |
IncGstValue | inc GST |
TotalPaymentValue | Total Payment |
TotalCreditInclValue | Total Credit Incl |
LastPaymentValue | Last Payment |
LastPaymentDate | Last Payment Date |
UpdatedDate |
|
APProcessingAPInvoiceDialogGrid
Property | Type | Description |
---|---|---|
Rows |
|
APInvoicePurchaseOrderApi
Property | Type | Description |
---|---|---|
JobTransactions |
| |
StoredFile |
| |
Form |
| |
Rows | Array [APProcessingPOConfirmationLine] |
|
ReadonlyMessages | Array [Tuple_String] |
|
ValidationErrors | Array [MvcValidationError] |
|
WarningMessage | String |
|
SuccessMessage | String |
|
ErrorMessage | String |
|
APProcessingAPInvoiceDialogHeader
Property | Type | Description |
---|---|---|
IsReviewed | Boolean | Reviewed status. |
IsApproved | Boolean | Approved status. |
InvoiceNo | Invoice number. | |
APReference | Set AP Reference through the API when you create AP from PO. This field does not work for AP Credits | |
InvoiceDate | Invoice date. | |
PaymentDate | Payment date. | |
Currency | Currency | |
EditableCurrency |
| |
Rate | The cost per item being purchased. | |
BatchNo | Batch number | |
Period | Financial period | |
PONo | Purchase Order number | |
APInvoiceId | Code pf AP invoice. | |
Supplier | Supplier name. | |
Status | Status | |
ReceivedDate | Received date. | |
ApprovedBy | Approved person. | |
Date | Date | |
ApplyToInvoice |
| |
Gst | Tax | |
TotalInclGst | Total GST | |
AssignedReviewer | Person was assigned as Reviewer. | |
AssignedApprover | Person was assigned as Approver. | |
EnteredBy | Person entered data. | |
Comments | Note | |
FinancialCompany | Financial company. | |
OnHold | On hold. | |
DataImportId | Integer |
|
IsNew | Boolean | Is New. |
PoCurrencyCode | String | Code of currency in Purchase Order |
AllowBciTimesheets | Boolean |
|
DocketPoSelected | Boolean | Docket Purchase Order selected |
IsOnHoldVisible | Boolean |
|
APProcessingAPInvoiceLine
Property | Type | Description |
---|---|---|
InvoiceNumber | String | Invoice number |
CreditNumber | String | Credit number. |
SupplierId | String | Code of the supplier |
Date | String | Date |
Type | String | Type |
SubContractCode | String | Code of the Subcontract. |
APStatus | String | Status |
InvoiceNumberValue | Invoice number. | |
SupplierValue | Supplier | |
DateValue | String | Date. |
TypeValue | Type | |
BatchNoValue | Batch number | |
APStatusValue | AP status | |
AssignedApproverValue | Approver person. | |
ApprovedByValue | Approved date. | |
CurrencyValue | Currency | |
AmountValue | Amount | |
ExGstValue | The value of the invoice excluding tax | |
GstValue | Tax value. | |
IncGstValue | Total value including tax. | |
TotalPaymentValue | Total payment value. | |
TotalCreditInclValue | Total Credit . | |
LastPaymentValue | Last payment value | |
LastPaymentDate | String | Last payment date. |
UpdatedDate | String | Updated date. |
Status | String | Status |
ReadonlyFlag | Integer | Read only status. |
ReadonlyMessage | String | Read only message. |
OriginalKey |