Get invoice control data
post
/bi/v1/{orgIdentifier}/getFiscalInvoiceControlData
Get all the Fiscal invoice control data for a specified location that occurred for a specified business date.
Request
Path Parameters
-
orgIdentifier(required): string
Unique identifier of the organization name
The request body defines the details of the API request.
Root Schema : requestPayload
Type:
object
Request payload
Show Source
-
applicationName:
string
Title:
Application Name
Maximum Length:128
The name of the application which is accessing the API.First Available Version: 20.1.10
-
busDt(required):
string(date)
Title:
Business Date
The business date associated with the cash management detail -
include:
string
Title:
Include
Maximum Length:2000
List of objects to include in response -
locRef(required):
string
Title:
Location Reference
Maximum Length:99
The location reference, this may be a store number or name depending on the organization -
searchCriteria:
string
Title:
Search Criteria
Maximum Length:2000
Search criteria to filter results based on field value
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : fiscalControlData
Type:
object
The response body contains information about the fiscal invoice control data for the specified location.
Show Source
-
busDt(required):
string(date)
Title:
Business Date
Business Date -
locRef(required):
string
Title:
Location Reference
Maximum Length:99
The location reference, this may be a store number or name depending on the organization -
revenueCenters(required):
array Revenue Centers
Title:
Revenue Centers
An array of fiscal invoice control data by reveneue centers
Nested Schema : Revenue Centers
Type:
array
Title:
Revenue Centers
An array of fiscal invoice control data by reveneue centers
Show Source
-
Array of:
object fiscalControlDataByRVC
The response body contains fiscal invoice control data about a revenue center for the specified location.
Nested Schema : fiscalControlDataByRVC
Type:
object
The response body contains fiscal invoice control data about a revenue center for the specified location.
Show Source
-
invoiceControlData(required):
array Control Data
Title:
Control Data
An array of fiscal control data for a revenue center. This attribute will not be returned in the response if value is null -
rvcNum(required):
integer
Title:
Revenue center number
Maximum Length:10
Revenue Center number. This attribute will not be returned in the response if invoiceControlData is null
Nested Schema : Control Data
Type:
array
Title:
Control Data
An array of fiscal control data for a revenue center. This attribute will not be returned in the response if value is null
Show Source
-
Array of:
object fiscalInvoiceControlData
The response body contains fiscal inovice control data of a revenue center for the specified location.
Nested Schema : fiscalInvoiceControlData
Type:
object
The response body contains fiscal inovice control data of a revenue center for the specified location.
Show Source
-
currInvNum(required):
integer
Title:
Current Invoice Number
Maximum Length:19
Country / Transaction specific value of the current invoice number -
endInvNum(required):
integer
Title:
End Invoice Number
Maximum Length:19
Country / Transaction specific value of the end invoice number -
invcontrolInfo1(required):
string
Title:
Invoice Control Info 1
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo10(required):
string
Title:
Invoice Control Info 10
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo11(required):
string
Title:
Invoice Control Info 11
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo12(required):
string
Title:
Invoice Control Info 12
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo2(required):
string
Title:
Invoice Control Info 2
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo3(required):
string
Title:
Invoice Control Info 3
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo4(required):
string
Title:
Invoice Control Info 4
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo5(required):
string
Title:
Invoice Control Info 5
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo6(required):
string
Title:
Invoice Control Info 6
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo7(required):
string
Title:
Invoice Control Info 7
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo8(required):
string
Title:
Invoice Control Info 8
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invcontrolInfo9(required):
string
Title:
Invoice Control Info 9
Maximum Length:100
Country / Transaction specific value. This attribute will not be returned in the response if value is null -
invoiceType(required):
integer
Title:
Invoice Type
Maximum Length:3
Country / Transaction specific value of the Invoice Type -
json:
json object
Title:
Country / Transaction specific fiscal data in Json
Country / Transaction specific fiscal data represented in JSON format. This attribute will not be returned in the response if value is null.First Available Version: 20.1.12
-
lockedBy(required):
integer
Title:
Locked By
Maximum Length:5
Country / Transaction specific value of the id of the locked by -
resolutionDt(required):
string(date)
Title:
Resolution Date
Device Business date, Country / Transaction specific value of the resolution date -
series(required):
string
Title:
Series
Maximum Length:3
Country / Transaction specific value of the series. This attribute will not be returned in the response if value is null -
startInvNum(required):
integer
Title:
Start Invoice Number
Maximum Length:19
Country / Transaction specific value of the start invoice number -
status(required):
integer
Title:
Status
Maximum Length:3
Country / Transaction specific value of the status -
wsNum(required):
integer
Title:
Workstation Number
Maximum Length:16
Workstation Number. This attribute will not be returned in the response if value is null
400 Response
Bad Request
Root Schema : exceptionDetailType
Type:
object
Error details
Show Source
-
detail:
string
Title:
Error description
The description of the error -
o:errorCode(required):
integer
Title:
Oracle error code
Oracle error code -
status:
integer
Title:
Status
HTTP response code -
title(required):
string
Title:
Title
High level description of the error -
type(required):
string
Title:
Type
The description of the type of HTTP error
401 Response
Unauthorized
Root Schema : exceptionDetailType
Type:
object
Error details
Show Source
-
detail:
string
Title:
Error description
The description of the error -
o:errorCode(required):
integer
Title:
Oracle error code
Oracle error code -
status:
integer
Title:
Status
HTTP response code -
title(required):
string
Title:
Title
High level description of the error -
type(required):
string
Title:
Type
The description of the type of HTTP error
403 Response
Service Unavailable
Root Schema : exceptionDetailType
Type:
object
Error details
Show Source
-
detail:
string
Title:
Error description
The description of the error -
o:errorCode(required):
integer
Title:
Oracle error code
Oracle error code -
status:
integer
Title:
Status
HTTP response code -
title(required):
string
Title:
Title
High level description of the error -
type(required):
string
Title:
Type
The description of the type of HTTP error
404 Response
Resource Not Found
Root Schema : exceptionDetailType
Type:
object
Error details
Show Source
-
detail:
string
Title:
Error description
The description of the error -
o:errorCode(required):
integer
Title:
Oracle error code
Oracle error code -
status:
integer
Title:
Status
HTTP response code -
title(required):
string
Title:
Title
High level description of the error -
type(required):
string
Title:
Type
The description of the type of HTTP error
Default Response
Unexpected Error
Root Schema : exceptionDetailType
Type:
object
Error details
Show Source
-
detail:
string
Title:
Error description
The description of the error -
o:errorCode(required):
integer
Title:
Oracle error code
Oracle error code -
status:
integer
Title:
Status
HTTP response code -
title(required):
string
Title:
Title
High level description of the error -
type(required):
string
Title:
Type
The description of the type of HTTP error
Examples
The following example shows how to view Fiscal Invoice Control Data for a specified location & business date by submitting a POST request on the REST resource using cURL. For more information, see Use cURL
curl -i -X POST -H "Authorization: Bearer" -H "Content-Type:application/json" -d {"locRef":"1234","busDt":"2020-10-20"} https://baseurl/bi/v1/orgidentifier/getFiscalInvoiceControlData
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 200 OK Date: Tue, 20 Oct 2020 21:24:33 GMT Transfer-Encoding: chunked Content-Type: application/json
Example of Response Body
The following example shows the contents of the response body in JSON format:
{ "locRef": "1234", "busDt": "2019-07-20", "revenueCenters":[{ "rvcNum": 1372, "invoiceControlData":[{ "wsNum": 23, "invoiceType": 1, "series": "S01", "startInvNum": 1, "endInvNum": 99999999, "status": 0, "currInvNum": 8877, "lockedBy": 0, "resolutionDt": "2019-07-01", "invcontrolInfo1": "Control Info", "invcontrolInfo2": "Control Info", "invcontrolInfo3": "Control Info", "invcontrolInfo4": "Control Info", "invcontrolInfo5": "Control Info", "invcontrolInfo6": "Control Info", "invcontrolInfo7": "Control Info", "invcontrolInfo8": "Control Info", "invcontrolInfo9": "Control Info", "invcontrolInfo10": "Control Info", "invcontrolInfo11": "Control Info", "invcontrolInfo12": "Control Info" "invcontrolInfo12": "Control Info" "json": "[{Country / Transaction specific fiscal data}]", }] }] }