Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

{ "ID": 135, "FinCoCode": "02", "CompanyCode": "TESTCUST2", "ClientSupplier": 1, "CompanyName": "Test Customer 2", "AlphaCode": "TESTCUST2", "PaymentTermsDays": 30, "PaymentTermsType": 1, "PostalAddress1": "1 Smith Street", "PostalAddress2": "Melbourne", "PostalAddress5": "Australia", "PhysicalAddress1": "1 Smith Street", "PhysicalAddress2": "Melbourne", "PhysicalAddress5": "Australia", "UseGST": false, "Inactive": false, "ExternalID": "TESTCUST2" }These APIs are for data transferring between Workbench and other systems.

Endpoints

APInvoiceTrfApi

Get or update AP invoices from transfer table.

/api/APInvoiceTrfApi

Operation

Logged in User

Parameters

Body

Response

GET
Get APInvoice with APInvoiceLines from Trf tables using BatchNo

Sample

 

/batchNo *

 

Inline Model

Inline Model 1

Transfer_APInvoiceLineTrfApiModel

PUT
Update APInvoice with APInvoiceLines in APInvoiceTrf and APInvoice table

Sample

entity *

Transfer_APInvoiceTrfApiModel

Transfer_APInvoiceLineTrfApiModel

ARInvoiceTrfApi

[Description]

/api/ARInvoiceTrfApi

Operation

Logged in User

Parameters

Body

Response

GET
Get ARInvoice with ARInvoiceLines from Trf tables using BatchNo.

Sample

 

/batchNo *

 

Inline Model

Inline Model 1

Transfer_ARInvoiceLineTrfApiModel

PUT
Update APInvoice with ARInvoiceLines in ARInvoiceTrf and JobInvoice table.

Sample

entity *

Transfer_ARInvoiceTrfApiModel

Transfer_ARInvoiceLineTrfApiModel

BatchTrfApi

Update ExportBatch info.

/api/BatchTrf

Operation

Logged in User

Parameters

Body

Response

GET

Sample

 

 

 

Inline Model

Inline Model 1

Transfer_ARInvoiceLineTrfApiModel

POST
Update ExportBatch info.

Sample

listOfBatches *
exportUserId *

POST Parameters

Parameter

Value

Description

Parameter Type

Data Type

listOfBatches

Required

comma separated list of batches

query

string

exportUserId

Required

userid of user who initiated export

query

integer

CompanyTrfApi

/api/CompanyTrfApi

Operation

Logged in User

Parameters

Body

Response

GET
Retrieve Company from CompanyTrf table by CompanyCode

Sample

 

 companyCode*

 

 

POST
Creates Company record to CompanyTrf tables.

Sample

PUT
Updates Company record to CompanyTrf tables.

Sample

GLJournalTrfApi

/api/GLJournalTrfApi

Operation

Logged in User

Parameters

Body

Response

GET

Sample

 

 BatchNo *

 

 

PUT

Sample

JobReceiptTrfApi

/api/JobReceiptTrfApi

Operation

Logged in User

Parameters

Body

Response

GET
Retrieve Job Receipt from JobReceiptTrf table by id

Sample

 

 jobReceiptId*

 

 

POST
Creates Job Receipt record to JobReceiptTrf tables.

Sample

PUT
Updates Job Receipt record to JobReceiptTrf tables

Sample

LogTrfApi

/api/TransferLogTrf and /api/ExportLogTrf

Operation

Logged in User

Parameters

Body

Response

POST /api/TransferLogTrf

Update ExportBatch info.

Sample

sessionId*
description*
batchNo
type (info, warning,error)

POST /api/ExportLogTrf

Update ExportBatch info.

Sample

batchNo*
exportId
exportable
message (text)
type (info, warning,error)

Parameters /api/TransferLogTrf

Parameter

Value

Description

Parameter Type

Data Type

sessionId

export session id

query

string

description

description

query

string

batchNo

batch number

query

integer

type

Info,Warning,  Error       

transfer log type

query

string

Parameters /api/ExportLogTrf

Parameter

Value

Description

Parameter Type

Data Type

batchNo

batchNo

query

integer

exportId

id of the object to export

query

integer

exportTable

export table of the batch

query

string

type

Info, Warning, Error       

transfer log type

query

string

message

success or error message

query

string

PaymentTrfApi

/api/PaymentTrfApi

Operation

Logged in User

Parameters

Body

Response

GET
Retrieve Payment from PaymentTrf table by id.

Sample

paymentId*

POST
Creates Payment record to PaymentTrf tables.

Sample

PUT
Updates Payment record to PaymentTrf tables.

Sample

Models

 

Inline Model

Syntax

Inline Model [ Inline Model 1]

⬆️ Back to top

Inline Model 1

Field

Type

Description

ID

Integer

FinCoCode

String

Financial company code.

APInvoiceID

Integer

AP invoice id.

CompanyCode

String

Company code.

SubcontractCode

String

Subcontract code.

ClaimNo

Integer

Claim number.

BatchNo

Integer

Batch number.

YearNo

Integer

Year number.

PeriodNo

Integer

Financial period number.

JobCode

String

Job code.

InvoiceRef

String

Invoice reference.

InvoiceDate

String

Invoice date.

PostingDate

String

Posting date.

DueDate

String

Due date.

CurrencyCode

String

Currency code.

ExchangeRate

Number

Currency exchange rate.

InvoiceCredit

Integer

Determine whether the Invoice is a Credit or not.
if the value is 1 = invoice
if the value is -1 =  credit

BuyerCreated

Boolean

Details

String

Details

ExternalID

String

ForExport

Boolean

For exporting or not.

APInvoiceLinesTrf

Array [Transfer_APInvoiceLineTrfApiModel]

⬆️ Back to top

Transfer_APInvoiceTrfApiModel

Field

Type

Description

ID

Integer

FinCoCode

String

Financial company code.

APInvoiceID

Integer

AP invoice id

CompanyCode

String

Company code.

SubcontractCode

String

Subcontract code.

ClaimNo

Integer

Claim number.

BatchNo

Integer

Batch number.

YearNo

Integer

Year number.

PeriodNo

Integer

Financial period number.

JobCode

String

Job code.

InvoiceRef

String

Invoice reference.

InvoiceDate

String

Invoice date,

PostingDate

String

Invoice posting date.

DueDate

String

Due date.

CurrencyCode

String

Currency code.

ExchangeRate

Number

Currency exchange rate.

InvoiceCredit

Integer

Determine whether the Invoice is a Credit or not.
if the value is 1 = invoice
if the value is -1 =  credit

BuyerCreated

Boolean

Details

String

Details

ExternalID

String

ForExport

Boolean

For exporting or not.

APInvoiceLinesTrf

Array [Transfer_APInvoiceLineTrfApiModel]

⬆️ Back to top

Transfer_APInvoiceLineTrfApiModel

Field

Type

Description

ID

Integer

FinCoCode

String

Financial company code.

JobTranID

Integer

Job transaction id.

APInvoiceID

Integer

AP invoice id.

TranDate

String

Transaction date.

YearNo

Integer

Year number.

PeriodNo

Integer

Financial period number.

JobCode

String

Job code.

ActivityCode

String

Activity code.

WorkCentreCode

String

Work Centre code.

DrGLAccount

String

Debit Account General Ledger.

TaxCode

String

Tax code.

LineDescription

String

Description of line.

Analysis1

String

Analysis2

String

Quantity

Number

Quantity.

Cost

Number

Cost.

GST

Number

Tax amount

FCCost

Number

Cost in foreign currency.

FCGST

Number

Foreign currency tax.

TaxCategory

String

Tax category.

⬆️ Back to top

Transfer_ARInvoiceTrfApiModel

Field

Type

Description

ID

Integer

FinCoCode

String

Financial company code.

InvoiceNo

Integer

AP invoice id

CompanyCode

String

Company code.

BatchNo

Integer

Batch number.

ClaimNo

Integer

Claim number.

ApplyNo

Integer

InvoiceRef

String

Invoice reference

YearNo

Integer

Year number.

PeriodNo

Integer

Financial period number.

JobCode

String

Job code.

InvoiceDate

String

Invoice date,

PostingDate

String

Invoice posting date.

DueDate

String

Due date.

CurrencyCode

String

Currency code.

ExchangeRate

Number

Currency exchange rate.

InvoiceCredit

Integer

Determine whether the Invoice is a Credit or not.
if the value is 1 = invoice
if the value is -1 =  credit

Details

String

Details

ExternalID

String

ForExport

Boolean

For exporting or not.

AIRnvoiceLinesTrf

Array [Transfer_ARInvoiceLineTrfApiModel]

⬆️ Back to top

Transfer_ARInvoiceLineTrfApiModel

Field

Type

Description

ID

Integer

FinCoCode

String

Financial company code.

InvoiceNo

Integer

AR invoice number.

InvoiceLineID

Integer

Invoice line id.

SalesCode

String

Sales code.

CrGLAccount

String

Credit Account General Ledger.

TaxCode

String

Tax code.

LineDescription

String

Line description.

Analysis1

String

Analysis2

String

JobCode

String

Job code.

WorkCentreCode

String

Work Centre code.

Quantity

Number

Quantity.

Amount

Number

Amount.

GST

Number

Tax amount

FCAmount

Number

Amount in foreign currency.

FCGST

Number

Foreign currency tax.

TaxCategory

String

Tax category.

⬆️ Back to top

Transfer_CompanyTrfApiModel

Field

Type

Description

ID

Integer

FinCoCode

String

Financial company code.

CompanyCode

String

Company code.

ClientSupplier

Integer

CompanyName

String

Company name.

AlphaCode

String

The company shorthand code.

CurrencyCode

String

Currency code.

PaymentTermsDays

Integer

The numerical value for days.

PaymentTermsType

Integer

The payment terms for Job Sales Invoices to this company.

GSTNumber

String

Tax number

ContactFirstName

String

Contact first name.

ContactSurname

String

Contact Surname.

Contact_BusinessPhone

String

Contact business phone.

Contact_MobilePhone

String

Contact mobile number.

Contact_Fax

String

Contact fax number.

Contact_EmailAddress

String

Contact email address.

PostalAddress1

String

Postal address fields

PostalAddress2

String

PostalAddress3

String

PostalAddress4

String

PostalAddress5

String

PostalAddress6

String

PostalPhone

String

Postal phone number.

PostalFax

String

Postal fax number.

PostalPostCode

String

Postal Post code.

PhysicalAddress1

String

Physical address fields.

PhysicalAddress2

String

PhysicalAddress3

String

PhysicalAddress4

String

PhysicalAddress5

String

PhysicalAddress6

String

PhysicalPhone

String

Physical address phone

PhysicalFax

String

Physical address fax.

PhysicalPostCode

String

Physical address Post code.

EmailAddress

String

Email address

BankAccountRef1

String

Reference fields if needed to store account details. More

BankAccountRef2

String

BankAccountRef3

String

UseGST

Boolean

Include tax on any sales to this company or not.

BCIFlag

Boolean

Use Buyer Created Invoice or not.

Inactive

Boolean

The company is inactive or not.

ExternalID

String

SubContractor

Boolean

The company is a Subcontractor or not.

 ⬆️ Back to top

Transfer_GLJournalTrfApiModel

Field

Type

Description

ID

Integer

FinCoCode

String

Financial company code.

JobTranID

Integer

Job transaction id.

BatchNo

Integer

Batch number.

BatchType

String

Batch type.

YearNo

Integer

Year number.

PeriodNo

Integer

Financial period number.

BatchReference

String

Batch reference.

TranDate

String

Transaction date.

PostingDate

String

Posting date.

GLCode

String

LineDescription

String

Line description.

Analysis1

String

Analysis2

String

Quantity

Number

Quantity.

Amount

Number

Amount

GST

Number

Tax.

GSTTypeCode

String

Taxe type code.

⬆️ Back to top

Transfer_JobReceiptTrfApiModel

Field

Type

Description

ID

Integer

FinCoCode

String

Financial company code.

JobReceiptID

Integer

Job receipt id.

ExternalID

String

InvoiceNumber

Integer

Invoice number.

ReceiptNumber

String

Receipt number.

ReceiptReference

String

Receipt reference.

ReceiptDate

String

Receipt date.

BatchNo

Integer

Batch number.

YearNo

Integer

Year number.

PeriodNo

Integer

Financial period number.

Amount

Number

Amount.

LineDescription

String

Line description.

⬆️ Back to top

Transfer_PaymentTrfApiModel

Field

Type

Description

ID

Integer

FinCoCode

String

Financial company code.

PaymentID

Integer

Payment id.

ExternalID

String

APInvoiceID

Integer

AP invoices id.

PaymentReference

String

Payment reference.

PaymentDate

String

Payment date.

Amount

Number

Amount.

LineDescription

String

Line description.

⬆️ Back to top

Example

APInvoiceTrfApi GET

Expand
titleResponse
Code Block
languagejson
Inline Model [
Inline Model 1
]
Inline Model 1 {
ID (integer, optional),
FinCoCode (string, optional),
APInvoiceID (integer, optional),
CompanyCode (string, optional),
SubcontractCode (string, optional),
ClaimNo (integer, optional),
BatchNo (integer, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
JobCode (string, optional),
InvoiceRef (string, optional),
InvoiceDate (string, optional),
PostingDate (string, optional),
DueDate (string, optional),
CurrencyCode (string, optional),
ExchangeRate (number, optional),
InvoiceCredit (integer, optional),
BuyerCreated (boolean, optional),
Details (string, optional),
ExternalID (string, optional),
ForExport (boolean, optional),
APInvoiceLinesTrf (Array[Transfer_APInvoiceLineTrfApiModel], optional)
}
Transfer_APInvoiceLineTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
JobTranID (integer, optional),
APInvoiceID (integer, optional),
TranDate (string, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
JobCode (string, optional),
ActivityCode (string, optional),
WorkCentreCode (string, optional),
DrGLAccount (string, optional),
TaxCode (string, optional),
LineDescription (string, optional),
Analysis1 (string, optional),
Analysis2 (string, optional),
Quantity (number, optional),
CostRate (number, optional),
Cost (number, optional),
GST (number, optional),
FCCost (number, optional),
FCGST (number, optional),
TaxCategory (string, optional)
}
Expand
titleResponse sample
Code Block
[
  {
    "ID": 162,
    "FinCoCode": "01",
    "APInvoiceID": 1501,
    "CompanyCode": "20010",
    "SubcontractCode": "6126002",
    "ClaimNo": 1,
    "BatchNo": 224030,
    "YearNo": 2024,
    "PeriodNo": 2,
    "JobCode": "6126",
    "InvoiceRef": "6126002-1",
    "InvoiceDate": "2023-08-31T00:00:00",
    "PostingDate": "2023-08-31T00:00:00",
    "DueDate": "2023-09-28T00:00:00",
    "CurrencyCode": "AUD",
    "ExchangeRate": 1,
    "InvoiceCredit": 1,
    "BuyerCreated": false,
    "Details": "BOC LIMITED2345678921234567893123456789412345678951 - Batch: 224030",
    "ForExport": false,
    "APInvoiceLinesTrf": [
      {
        "ID": 183,
        "FinCoCode": "01",
        "JobTranID": 26399,
        "APInvoiceID": 1501,
        "TranDate": "2023-08-31T00:00:00",
        "YearNo": 2024,
        "PeriodNo": 2,
        "JobCode": "6126",
        "ActivityCode": "6-1000",
        "WorkCentreCode": "LAB",
        "DrGLAccount": "6-1100",
        "TaxCode": "GST",
        "LineDescription": "BOC LIMITED2345678921234567893123456789412345678951; 6126/6-1000/LAB;224030",
        "Analysis2": "6126",
        "Quantity": 5,
        "CostRate": 20,
        "Cost": 100,
        "GST": 10,
        "FCCost": 100,
        "FCGST": 10
      },
      {
        "ID": 184,
        "FinCoCode": "01",
        "JobTranID": 26400,
        "APInvoiceID": 1501,
        "TranDate": "2023-08-31T00:00:00",
        "YearNo": 2024,
        "PeriodNo": 2,
        "JobCode": "ZRET",
        "ActivityCode": "ZRET",
        "WorkCentreCode": "ZRET",
        "DrGLAccount": "1-0000",
        "TaxCode": "INPUT",
        "LineDescription": "BOC LIMITED2345678921234567893123456789412345678951; ZRET/ZRET/ZRET;224030",
        "Analysis2": "6126",
        "Quantity": 1,
        "CostRate": -10,
        "Cost": -10,
        "GST": -1,
        "FCCost": -10,
        "FCGST": -1
      }
    ]
  },
  {
    "ID": 163,
    "FinCoCode": "01",
    "APInvoiceID": 1502,
    "CompanyCode": "20010",
    "SubcontractCode": "6126002",
    "ClaimNo": 2,
    "BatchNo": 224030,
    "YearNo": 2024,
    "PeriodNo": 2,
    "JobCode": "6126",
    "InvoiceRef": "6126002-2",
    "InvoiceDate": "2023-08-31T00:00:00",
    "PostingDate": "2023-08-31T00:00:00",
    "DueDate": "2023-09-28T00:00:00",
    "CurrencyCode": "AUD",
    "ExchangeRate": 1,
    "InvoiceCredit": 1,
    "BuyerCreated": false,
    "Details": "BOC LIMITED2345678921234567893123456789412345678951 - Batch: 224030",
    "ForExport": false,
    "APInvoiceLinesTrf": [
      {
        "ID": 185,
        "FinCoCode": "01",
        "JobTranID": 26401,
        "APInvoiceID": 1502,
        "TranDate": "2023-08-31T00:00:00",
        "YearNo": 2024,
        "PeriodNo": 2,
        "JobCode": "ZRET",
        "ActivityCode": "ZRET",
        "WorkCentreCode": "ZRET",
        "DrGLAccount": "1-0000",
        "TaxCode": "GST",
        "LineDescription": "BOC LIMITED2345678921234567893123456789412345678951; ZRET/ZRET/ZRET;224030",
        "Analysis2": "6126",
        "Quantity": 1,
        "CostRate": 8,
        "Cost": 8,
        "GST": 0.8,
        "FCCost": 8,
        "FCGST": 0.8
      }
    ]
  }
]

APInvoiceTrfApi PUT

Expand
titleResponse
Code Block
languagejson
Transfer_APInvoiceTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
APInvoiceID (integer, optional),
CompanyCode (string, optional),
SubcontractCode (string, optional),
ClaimNo (integer, optional),
BatchNo (integer, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
JobCode (string, optional),
InvoiceRef (string, optional),
InvoiceDate (string, optional),
PostingDate (string, optional),
DueDate (string, optional),
CurrencyCode (string, optional),
ExchangeRate (number, optional),
InvoiceCredit (integer, optional),
BuyerCreated (boolean, optional),
Details (string, optional),
ExternalID (string, optional),
ForExport (boolean, optional),
APInvoiceLinesTrf (Array[Transfer_APInvoiceLineTrfApiModel], optional)
}
Transfer_APInvoiceLineTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
JobTranID (integer, optional),
APInvoiceID (integer, optional),
TranDate (string, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
JobCode (string, optional),
ActivityCode (string, optional),
WorkCentreCode (string, optional),
DrGLAccount (string, optional),
TaxCode (string, optional),
LineDescription (string, optional),
Analysis1 (string, optional),
Analysis2 (string, optional),
Quantity (number, optional),
CostRate (number, optional),
Cost (number, optional),
GST (number, optional),
FCCost (number, optional),
FCGST (number, optional),
TaxCategory (string, optional)
}
Expand
titleResponse sample
Code Block

ARnvoiceTrfApi GET

Expand
titleResponse
Code Block
languagejson
Inline Model [
Inline Model 1
]
Inline Model 1 {
ID (integer, optional),
FinCoCode (string, optional),
InvoiceNo (integer, optional),
CompanyCode (string, optional),
BatchNo (integer, optional),
ClaimNo (integer, optional),
ApplyNo (integer, optional),
InvoiceRef (string, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
JobCode (string, optional),
InvoiceDate (string, optional),
PostingDate (string, optional),
DueDate (string, optional),
CurrencyCode (string, optional),
ExchangeRate (number, optional),
InvoiceCredit (integer, optional),
Details (string, optional),
ExternalID (string, optional),
ForExport (boolean, optional),
ARInvoiceLinesTrf (Array[Transfer_ARInvoiceLineTrfApiModel], optional)
}
Transfer_ARInvoiceLineTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
InvoiceNo (integer, optional),
InvoiceLineID (integer, optional),
SalesCode (string, optional),
CrGLAccount (string, optional),
TaxCode (string, optional),
LineDescription (string, optional),
Analysis1 (string, optional),
Analysis2 (string, optional),
JobCode (string, optional),
WorkCentreCode (string, optional),
Quantity (number, optional),
Amount (number, optional),
GST (number, optional),
FCAmount (number, optional),
FCGST (number, optional),
TaxCategory (string, optional)
}
Expand
titleResponse sample
Code Block
[
  {
    "ID": 142,
    "FinCoCode": "01",
    "InvoiceNo": 100298,
    "CompanyCode": "10002",
    "BatchNo": 723026,
    "YearNo": 2023,
    "PeriodNo": 7,
    "JobCode": "6098",
    "InvoiceDate": "2023-01-16T00:00:00",
    "PostingDate": "2023-01-31T00:00:00",
    "DueDate": "2023-02-15T00:00:00",
    "CurrencyCode": "AUD",
    "ExchangeRate": 1,
    "InvoiceCredit": 1,
    "Details": "Commercialscapes Landscaping",
    "ForExport": false,
    "ARInvoiceLinesTrf": [
      {
        "ID": 167,
        "FinCoCode": "01",
        "InvoiceNo": 100298,
        "InvoiceLineID": 1377,
        "SalesCode": "SALES",
        "CrGLAccount": "4-1000",
        "TaxCode": "GST",
        "LineDescription": "Sales Revenue WB Job: 6098 Final cleaning.",
        "Analysis2": "6098",
        "JobCode": "6098",
        "WorkCentreCode": "03",
        "Quantity": 3,
        "Amount": 210,
        "GST": 21,
        "FCAmount": 210,
        "FCGST": 21
      }
    ]
  },
  {
    "ID": 141,
    "FinCoCode": "01",
    "InvoiceNo": 100303,
    "CompanyCode": "10002",
    "BatchNo": 723026,
    "YearNo": 2023,
    "PeriodNo": 7,
    "JobCode": "6127",
    "InvoiceDate": "2023-01-31T00:00:00",
    "PostingDate": "2023-01-31T00:00:00",
    "DueDate": "2023-03-02T00:00:00",
    "CurrencyCode": "AUD",
    "ExchangeRate": 1,
    "InvoiceCredit": 1,
    "Details": "Myob-AccRight-AR",
    "ForExport": false,
    "ARInvoiceLinesTrf": [
      {
        "ID": 166,
        "FinCoCode": "01",
        "InvoiceNo": 100303,
        "InvoiceLineID": 1387,
        "SalesCode": "SALES",
        "CrGLAccount": "4-1000",
        "TaxCode": "GST",
        "FinCoCodeLineDescription": "01Sales Revenue WB Job: 6127 ",
        "InvoiceNoAnalysis2": 100303"6127",
        "InvoiceLineIDJobCode": 1387"6127",
        "SalesCodeWorkCentreCode": "SALES01",
        "CrGLAccountQuantity": "4-1000"5,
        "TaxCodeAmount": "GST"125,
        "LineDescriptionGST": "Sales Revenue WB Job: 6127 "12.5,
        "Analysis2FCAmount": "6127"125,
        "JobCodeFCGST": "6127",12.5
      }
    "WorkCentreCode": "01",]
  }
]

ARnvoiceTrfApi PUT

Expand
titleResponse
Code Block
languagejson
Transfer_ARInvoiceTrfApiModel {
ID (integer, optional),
 "Quantity": 5FinCoCode (string, optional),
InvoiceNo (integer, optional),
CompanyCode (string, optional),
BatchNo  "Amount": 125(integer, optional),
ClaimNo (integer, optional),
ApplyNo (integer, optional),
InvoiceRef  "GST": 12.5(string, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
JobCode  "FCAmount": 125,
        "FCGST": 12.5
      }
    ]
  }
]

ARnvoiceTrfApi PUT

Expand
titleResponse
Code Block
languagejson
Transfer_ARInvoiceTrfApiModel {
ID (integer(string, optional),
InvoiceDate (string, optional),
PostingDate (string, optional),
DueDate (string, optional),
CurrencyCode (string, optional),
ExchangeRate (number, optional),
InvoiceCredit (integer, optional),
Details (string, optional),
ExternalID (string, optional),
ForExport (boolean, optional),
FinCoCodeARInvoiceLinesTrf (stringArray[Transfer_ARInvoiceLineTrfApiModel], optional),
InvoiceNo)
}
Transfer_ARInvoiceLineTrfApiModel {
ID (integer, optional),
CompanyCodeFinCoCode (string, optional),
BatchNoInvoiceNo (integer, optional),
ClaimNoInvoiceLineID (integer, optional),
ApplyNoSalesCode (integerstring, optional),
InvoiceRefCrGLAccount (string, optional),
YearNoTaxCode (integerstring, optional),
PeriodNoLineDescription (integerstring, optional),
JobCodeAnalysis1 (string, optional),
InvoiceDateAnalysis2 (string, optional),
PostingDateJobCode (string, optional),
DueDateWorkCentreCode (string, optional),
CurrencyCodeQuantity (stringnumber, optional),
ExchangeRateAmount (number, optional),
InvoiceCreditGST (integernumber, optional),
DetailsFCAmount (stringnumber, optional),
ExternalIDFCGST (stringnumber, optional),
ForExportTaxCategory (booleanstring, optional),
ARInvoiceLinesTrf (Array[Transfer_ARInvoiceLineTrfApiModel], optional)
}
Transfer_ARInvoiceLineTrfApiModel
}
Expand
titleResponse sample
Code Block

BatchTrfApi GET

Expand
titleResponse
Code Block
languagejson
Inline Model [
Inline Model 1
]
Inline Model 1 {
ID (integer, optional),
FinCoCode (string, optional),
InvoiceNo (integer, optional),
InvoiceLineIDCompanyCode (integerstring, optional),
SalesCodeBatchNo (stringinteger, optional),
CrGLAccountClaimNo (stringinteger, optional),
TaxCodeApplyNo (stringinteger, optional),
LineDescriptionInvoiceRef (string, optional),
Analysis1YearNo (stringinteger, optional),
Analysis2PeriodNo (stringinteger, optional),
JobCode (string, optional),
WorkCentreCodeInvoiceDate (string, optional),
QuantityPostingDate (numberstring, optional),
AmountDueDate (numberstring, optional),
GST (number, optional),
FCAmount (number, optional),
FCGST (number, optional),
TaxCategory (string, optional)
}
Expand
titleResponse sample
Code Block

BatchTrfApi GET

Expand
titleResponse
Code Block
languagejson
Inline Model [
Inline Model 1
]
Inline Model 1 {
ID (integerCurrencyCode (string, optional),
ExchangeRate (number, optional),
InvoiceCredit (integer, optional),
Details (string, optional),
FinCoCodeExternalID (string, optional),
InvoiceNoForExport (integerboolean, optional),
CompanyCode (stringARInvoiceLinesTrf (Array[Transfer_ARInvoiceLineTrfApiModel], optional)
}
Transfer_ARInvoiceLineTrfApiModel {
ID (integer, optional),
BatchNoFinCoCode (integerstring, optional),
ClaimNoInvoiceNo (integer, optional),
ApplyNoInvoiceLineID (integer, optional),
InvoiceRefSalesCode (string, optional),
YearNoCrGLAccount (integerstring, optional),
PeriodNoTaxCode (integerstring, optional),
JobCodeLineDescription (string, optional),
InvoiceDateAnalysis1 (string, optional),
PostingDateAnalysis2 (string, optional),
DueDateJobCode (string, optional),
CurrencyCodeWorkCentreCode (string, optional),
ExchangeRateQuantity (number, optional),
InvoiceCreditAmount (integernumber, optional),
DetailsGST (stringnumber, optional),
ExternalIDFCAmount (stringnumber, optional),
ForExportFCGST (booleannumber, optional),
ARInvoiceLinesTrfTaxCategory (Array[Transfer_ARInvoiceLineTrfApiModel]string, optional)
}
Transfer_ARInvoiceLineTrfApiModel
Expand
titleResponse sample
Code Block

BatchTrfApi POST

Expand
titleResponse
Code Block
languagejson
Expand
titleResponse sample
Code Block

CompanyTrfApi GET

Expand
titleResponse
Code Block
languagejson
Transfer_CompanyTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
InvoiceNoCompanyCode (integerstring, optional),
InvoiceLineIDClientSupplier (integer, optional),
SalesCodeCompanyName (string, optional),
CrGLAccountAlphaCode (string, optional),
TaxCodeCurrencyCode (string, optional),
LineDescription
PaymentTermsDays (integer, optional),
PaymentTermsType (stringinteger, optional),
Analysis1GSTNumber (string, optional),
Analysis2ContactFirstName (string, optional),
JobCodeContactSurname (string, optional),
WorkCentreCodeContact_BusinessPhone (string, optional),
QuantityContact_MobilePhone (numberstring, optional),
AmountContact_Fax (numberstring, optional),
GSTContact_EmailAddress (numberstring, optional),
FCAmountPostalAddress1 (numberstring, optional),
FCGSTPostalAddress2 (numberstring, optional),
TaxCategoryPostalAddress3 (string, optional)
}
Expand
titleResponse sample
Code Block

BatchTrfApi POST

Expand
titleResponse
Code Block
languagejson
Expand
titleResponse sample
Code Block

CompanyTrfApi GET

Expand
titleResponse
Code Block
languagejson
Transfer_CompanyTrfApiModel {
ID (integer,
PostalAddress4 (string, optional),
FinCoCodePostalAddress5 (string, optional),
CompanyCodePostalAddress6 (string, optional),
ClientSupplierPostalPhone (integerstring, optional),
CompanyNamePostalFax (string, optional),
AlphaCodePostalPostCode (string, optional),
CurrencyCodePhysicalAddress1 (string, optional),
PaymentTermsDaysPhysicalAddress2 (integerstring, optional),
PaymentTermsTypePhysicalAddress3 (integerstring, optional),
GSTNumberPhysicalAddress4 (string, optional),
ContactFirstNamePhysicalAddress5 (string, optional),
ContactSurnamePhysicalAddress6 (string, optional),
Contact_BusinessPhonePhysicalPhone (string, optional),
Contact_MobilePhonePhysicalFax (string, optional),
Contact_FaxPhysicalPostCode (string, optional),
Contact_EmailAddress (string, optional),
PostalAddress1BankAccountRef1 (string, optional),
PostalAddress2BankAccountRef2 (string, optional),
PostalAddress3BankAccountRef3 (string, optional),
PostalAddress4UseGST (stringboolean, optional),
PostalAddress5BCIFlag (stringboolean, optional),
PostalAddress6Inactive (stringboolean, optional),
PostalPhoneExternalID (string, optional),
PostalFaxSubContractor (stringBoolean, optional),
PostalPostCode (string, optional),
PhysicalAddress1 (string, optional),
PhysicalAddress2 (string, optional),
PhysicalAddress3 (string, optional),
PhysicalAddress4 (string, optional),
PhysicalAddress5 (string, optional),
PhysicalAddress6 (string, optional),
PhysicalPhone (string, optional),
PhysicalFax (string, optional),
PhysicalPostCode (string, optional),
EmailAddress (string, optional),
BankAccountRef1 (string, optional),
BankAccountRef2 (string, optional),
BankAccountRef3 (string, optional),
UseGST (boolean, optional),
BCIFlag (boolean, optional),
Inactive (boolean, optional),
ExternalID (string, optional),
SubContractor (Boolean, optional)
}
Expand
titleResponse sample
code

}
Expand
titleResponse sample
Code Block
{
  "ID": 135,
  "FinCoCode": "02",
  "CompanyCode": "TESTCUST2",
  "ClientSupplier": 1,
  "CompanyName": "Test Customer 2",
  "AlphaCode": "TESTCUST2",
  "PaymentTermsDays": 30,
  "PaymentTermsType": 1,
  "PostalAddress1": "1 Smith Street",
  "PostalAddress2": "Melbourne",
  "PostalAddress5": "Australia",
  "PhysicalAddress1": "1 Smith Street",
  "PhysicalAddress2": "Melbourne",
  "PhysicalAddress5": "Australia",
  "UseGST": false,
  "Inactive": false,
  "ExternalID": "TESTCUST2"
}

CompanyTrfApi POST

Expand
titleResponse
Code Block
languagejson
Transfer_CompanyTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
CompanyCode (string, optional),
ClientSupplier (integer, optional),
CompanyName (string, optional),
AlphaCode (string, optional),
CurrencyCode (string, optional),
PaymentTermsDays (integer, optional),
PaymentTermsType (integer, optional),
GSTNumber (string, optional),
ContactFirstName (string, optional),
ContactSurname (string, optional),
Contact_BusinessPhone (string, optional),
Contact_MobilePhone (string, optional),
Contact_Fax (string, optional),
Contact_EmailAddress (string, optional),
PostalAddress1 (string, optional),
PostalAddress2 (string, optional),
PostalAddress3 (string, optional),
PostalAddress4 (string, optional),
PostalAddress5 (string, optional),
PostalAddress6 (string, optional),
PostalPhone (string, optional),
PostalFax (string, optional),
PostalPostCode (string, optional),
PhysicalAddress1 (string, optional),
PhysicalAddress2 (string, optional),
PhysicalAddress3 (string, optional),
PhysicalAddress4 (string, optional),
PhysicalAddress5 (string, optional),
PhysicalAddress6 (string, optional),
PhysicalPhone (string, optional),
PhysicalFax (string, optional),
PhysicalPostCode (string, optional),
EmailAddress (string, optional),
BankAccountRef1 (string, optional),
BankAccountRef2 (string, optional),
BankAccountRef3 (string, optional),
UseGST (boolean, optional),
BCIFlag (boolean, optional),
Inactive (boolean, optional),
ExternalID (string, optional),
SubContractor (Boolean, optional)
}
Expand
titleResponse sample
Code Block

CompanyTrfApi PUT

Expand
titleResponse
Code Block
languagejson
Expand
titleResponse sample
Code Block

GLJournalTrfApi GET

Expand
titleResponse
Code Block
languagejson
Inline Model [
Inline Model 1
]
Inline Model 1 {
ID (integer, optional),
FinCoCode (string, optional),
JobTranID (integer, optional),
BatchNo (integer, optional),
BatchType (string, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
BatchReference (string, optional),
TranDate (string, optional),
PostingDate (string, optional),
GLCode (string, optional),
LineDescription (string, optional),
Analysis1 (string, optional),
Analysis2 (string, optional),
Quantity (number, optional),
Amount (number, optional),
GST (number, optional),
GSTTypeCode (string, optional)
}
Expand
titleResponse sample
Code Block

GLJournalTrfApi PUT

Expand
titleResponse
Code Block
languagejson
Transfer_GLJournalTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
JobTranID (integer, optional),
BatchNo (integer, optional),
BatchType (string, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
BatchReference (string, optional),
TranDate (string, optional),
PostingDate (string, optional),
GLCode (string, optional),
LineDescription (string, optional),
Analysis1 (string, optional),
Analysis2 (string, optional),
Quantity (number, optional),
Amount (number, optional),
GST (number, optional),
GSTTypeCode (string, optional)
}
Expand
titleResponse sample
Code Block

JobReceiptTrfApi GET

Expand
titleResponse
Code Block
languagejson
Transfer_JobReceiptTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
JobReceiptID (integer, optional),
ExternalID (string, optional),
InvoiceNumber (integer, optional),
ReceiptNumber (string, optional),
ReceiptReference (string, optional),
ReceiptDate (string, optional),
BatchNo (integer, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
Amount (number, optional),
LineDescription (string, optional)
}
Expand
titleResponse sample
Code Block

JobReceiptTrfApi POST

Expand
titleResponse
Code Block
languagejson
Transfer_JobReceiptTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
JobReceiptID (integer, optional),
ExternalID (string, optional),
InvoiceNumber (integer, optional),
ReceiptNumber (string, optional),
ReceiptReference (string, optional),
ReceiptDate (string, optional),
BatchNo (integer, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
Amount (number, optional),
LineDescription (string, optional)
}
Expand
titleResponse sample
Code Block

JobReceiptTrfApi PUT

Expand
titleResponse
Code Block
languagejson
Transfer_JobReceiptTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
JobReceiptID (integer, optional),
ExternalID (string, optional),
InvoiceNumber (integer, optional),
ReceiptNumber (string, optional),
ReceiptReference (string, optional),
ReceiptDate (string, optional),
BatchNo (integer, optional),
YearNo (integer, optional),
PeriodNo (integer, optional),
Amount (number, optional),
LineDescription (string, optional)
}
Expand
titleResponse sample
Code Block

LogTrfApi POST /api/TransferLogTrf

Expand
titleResponse
Code Block
languagejson
Expand
titleResponse sample
Code Block

LogTrfApi POST /api/ExportLogTrf

Expand
titleResponse
Code Block
languagejson
Expand
titleResponse sample
Code Block

PaymentTrfApi

Expand
titleResponse
Code Block
languagejson
Transfer_PaymentTrfApiModel {
ID (integer, optional),
FinCoCode (string, optional),
PaymentID (integer, optional),
ExternalID (string, optional),
APInvoiceID (integer, optional),
PaymentReference (string, optional),
PaymentDate (string, optional),
Amount (number, optional),
LineDescription (string, optional)
}
Expand
titleResponse sample
Code Block

⬆️ Back to top

In this page:

Table of Contents
minLevel1
maxLevel2
outlinefalse
stylenone
typelist
printabletrue


Include Page
footer API doc
footer API doc