Create AP Invoices
POST {{base_url}}/APInvoiceApprovals
Use this endpoint to create a single AP invoice or multiple AP invoices in AP Invoice Approvals.
If a FileID contains multiple values and CreateMultiple = Y, then an AP Invoice record will be created for each FileID, otherwise all the FileID's will be associated to a single AP Invoice.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | Required. |
The type of content supported by the API endpoint. |
| Authorization
| string | | Required.
The type of authorization supported by the API endpoint. |
RESPONSES
status: OK
[{"MasterPKey":"6E0D5B9FBC05480A810D976AA3A1BF2E","ApprovalID":"31","Status":"N","Company":"01","Vendor":"0000031241","LiabCode":"Trade","Address":"\u003cDefault\u003e","PayTerms":"NEXT","PayDate":"","Invoice":"12345","InvoiceDate":"2023-04-20T00:00:00.000","InvoiceAmount":0,"CurrencyCode":"USD","RouteType":"","RouteToEmployee":"","RouteToOrg":"","SubmittedBy":"","SubmittedDate":"","CreateUser":"2D424230ADA044419FCD78E4E8F3BD61","CreateDate":"2023-04-20T09:38:24.337","ModUser":"2D424230ADA044419FCD78E4E8F3BD61","ModDate":"2023-04-20T09:38:24.337","opBatch":"","opVoucherDate":"","opBank":"","opNextVoucherNumber":"","opDiary":"","opPOPeriod":0,"opPOPostSeq":0,"OrigPODetailPKey":"","ApprovalStatus":"Start","StatusCode":"Start","WorkflowStep":0,"MyActionRequired":"Submit","PONumberMaster":"","StatusDesc":"In Progress","ClientID":"92918969f5d940dbbe3d0f29e7a1845d","VendorName":"Andrea Client Firm","VendorTypeLiab":"AP00000001","VendorTerms":"Next","VendorTaxCode":"","VendorMatchMethod":"3","DefaultExpenseCode":"","RegAccount":"","RegAccountName":"","RegAccountCurrencyCode":"","RegAccountGlobal":"","RegAccountType":"","OHAccount":"","OHAccountName":"","OHAccountCurrencyCode":"","OHAccountGlobal":"","OHAccountType":"","RouteToEmployeeName":"","RouteToEMEmail":"","RouteToOrgName":"","ApplicationID":"AP","ApplicationKey":"6E0D5B9FBC05480A810D976AA3A1BF2E","ApprovalActionsAllowed":"Submit|Delete","AssignUSR_ID":"VPCO1","AssignItem_UID":"FDE8F406FD304F2DA3D6885EF1CA404C","CompletionStatusCode":"","IsClosed":"N","IsSuspended":"N","IsUpdated":"N","Item_UID":"C9677AA83A0C42428020B9FE3DEB437B","ItemModDate":"2023-08-30T11:09:41.443","ItemParent_UID":"","ItemType_UID":"569BF6337B2F49D0ACDF731F32BE2998","NextStepAssignmentSelection":0,"Reject":"","ReviewAction":"","WorkflowFlag":"","OrgDoNotUse":"Y"}]