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
Body ()
The request body defines the details of the API request.
Root Schema : requestPayload
Type: object
Request payload
Show Source
  • Title: Application Name
    Maximum Length: 128
    The name of the application which is accessing the API.

    First Available Version: 20.1.10

  • Title: Business Date
    The business date associated with the cash management detail
  • Title: Include
    Maximum Length: 2000
    List of objects to include in response
  • Title: Location Reference
    Maximum Length: 99
    The location reference, this may be a store number or name depending on the organization
  • Title: Search Criteria
    Maximum Length: 2000
    Search criteria to filter results based on field value
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : fiscalControlData
Type: object
The response body contains information about the fiscal invoice control data for the specified location.
Show Source
Nested Schema : Revenue Centers
Type: array
Title: Revenue Centers
An array of fiscal invoice control data by reveneue centers
Show Source
Nested Schema : fiscalControlDataByRVC
Type: object
The response body contains fiscal invoice control data about a revenue center for the specified location.
Show Source
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
Nested Schema : fiscalInvoiceControlData
Type: object
The response body contains fiscal inovice control data of a revenue center for the specified location.
Show Source
  • Title: Current Invoice Number
    Maximum Length: 19
    Country / Transaction specific value of the current invoice number
  • Title: End Invoice Number
    Maximum Length: 19
    Country / Transaction specific value of the end invoice number
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • Title: Invoice Type
    Maximum Length: 3
    Country / Transaction specific value of the Invoice Type
  • 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

  • Title: Locked By
    Maximum Length: 5
    Country / Transaction specific value of the id of the locked by
  • Title: Resolution Date
    Device Business date, Country / Transaction specific value of the resolution date
  • 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
  • Title: Start Invoice Number
    Maximum Length: 19
    Country / Transaction specific value of the start invoice number
  • Title: Status
    Maximum Length: 3
    Country / Transaction specific value of the status
  • 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
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

401 Response

Unauthorized
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

403 Response

Service Unavailable
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

404 Response

Resource Not Found
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source

Default Response

Unexpected Error
Body ()
Root Schema : exceptionDetailType
Type: object
Error details
Show Source
Back to Top

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}]",
  }]
 }]
}
Back to Top