AP Voucher

Endpoints

Provides access to AP Voucher data.

VoucherDetailApi

Provides API access to AP Voucher creation from KOFAX scanned data.

/api/VoucherDetailApi

/api/VoucherDetailApi

Method

Performed As

Request Query

Request Body

Response

POST
Create a new AP Voucher

Admin User

-

VoucherApiModel

VoucherApiResult

Models

VoucherApiModel

Property

Type

Description

Property

Type

Description

VoucherApiFields

VoucherApiFields

General data associated with the AP Voucher.

Rows

Array<VoucherApiLine>

The Voucher Scan Lines of the AP Voucher.

VoucherApiFields

Property

Type

Description

Property

Type

Description

DocumentType

String

Either “Credit” or “Invoice”.

DocID

Integer

The Doc ID of the AP Voucher.

InvoiceDate

DateTime

The Invoice Date of the AP Voucher.

InvoiceNumber

String

The Invoice Number of the AP Voucher.

GstNumber

String

The GST Number of the AP Voucher.

PONumber

Integer

The PO Number of the AP Voucher.

ReferAPInvoice

String

The Invoice the AP Voucher refers to.

FcGstTotal

Number

The total value (GST incl.) on the AP Voucher.

FcGst

Number

The total GST on the AP Voucher.

InvoiceTo

String

The Invoice To fields on the AP Voucher.

Comments

String

The Comments on the AP Voucher.

AlphaCode

String

The Alpha Code of the Supplier the AP Voucher is for.

VoucherApiLine

Property

Type

Description

Property

Type

Description

LineDescription

string

The Line Description.

LineCode

String

The Line Code.

Unit

String

The Unit.

Quantity

Number

The Quantity.

Rate

Number

The Rate.

FcValueExcl

Number

The total value of the line (GST excl.).

FcGst

Number

The total GST on the line.

LineDate

DateTime

The Line Date.

PONumber

Integer

The PO Number.

DocketNo

String

The Docket Number.

DiscountPercent

Number

The Discount Percent.

VoucherApiResult

Property

Type

Description

Property

Type

Description

Status

Integer

1 for success.

WorkflowError

String

The error message if the AP Voucher failed to be submitted into the Xtracta Workflow.

WarningMessage

String

The warning message if multiple Suppliers are found for the Alpha Code.

VoucherId

Integer

The unique Voucher ID of the created AP Voucher.

Example

VoucherDetailApi POST

Request

Response

Response sample

Top of page