Get invoice transactions

post

/bi/v1/{orgIdentifier}/getFiscalInvoiceData

Get all the Fiscal invoice transactions 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 : fiscalInvoiceData
Type: object
The response body contains information about the fiscal invoice for the specified location.
Show Source
Nested Schema : Revenue Centers
Type: array
Title: Revenue Centers
An array of fiscal invoice data by reveneue centers
Show Source
Nested Schema : fiscalInvoiceDataByRVC
Type: object
The response body contains fiscal invoice data about a revenue center for the specified location.
Show Source
  • Invoice Data
    Title: Invoice Data
    An array of fiscal invoice data for a revenue center. This attribute will not be returned in the response if value is null
  • Title: Revenue center number
    Maximum Length: 10
    Revenue Center number. This attribute will not be returned in the response if invoiceData is null
Nested Schema : Invoice Data
Type: array
Title: Invoice Data
An array of fiscal invoice data for a revenue center. This attribute will not be returned in the response if value is null
Show Source
Nested Schema : fiscalInvoiceDataObj
Type: object
The response body contains fiscal invoice data of a revenue center for the specified location.
Show Source
  • Title: Check Number
    Maximum Length: 10
    Optional Check number
  • Title: Customer Data Number
    Maximum Length: 20
    The unque reference of customer data. This attribute will not be returned in the response if value is null.

    First Available Version: 20.1.10

  • Title: Data Type
    Maximum Length: 10
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Device Identifier
    Maximum Length: 50
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Dociment Type
    Maximum Length: 10
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Extra Date 1
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Extra Date 2
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Extra Date 3
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Extra Date 4
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Extra Date 5
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Business Date
    Device Business date, Country / Transaction specific value
  • Title: FCR Identifier
    Maximum Length: 10
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: FCR Invoice Number
    Maximum Length: 50
    Country / Transaction specific value
  • Title: Fiscal Key
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Guest Check ID
    Maximum Length: 16
    The unique identifier of the guest check
  • Title: Invoice Data Info 1
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 10
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 11
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 12
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 13
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 14
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 15
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 16
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 2
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 3
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 4
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 5
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 6
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 7
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 8
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Data Info 9
    Maximum Length: 100
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Invoice Status
    Maximum Length: 3
    Country / Transaction specific value
  • Title: Invoice Type
    Maximum Length: 3
    Country / Transaction specific value
  • 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: Open Business Date
    Optional business date the guest check was opened.
  • Title: Store Identifier
    Maximum Length: 10
    Country / Transaction specific value. This attribute will not be returned in the response if value is null
  • Title: Subtotal 1
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 10
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 11
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 12
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 13
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 14
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 2
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 3
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 4
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 5
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 6
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 7
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 8
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Subtotal 9
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: System Document Identifier
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 1
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 10
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 11
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 12
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 13
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 14
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 15
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 16
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 2
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 3
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 4
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 5
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 6
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 7
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 8
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • Title: Tax Total 9
    Country / Transaction specific value. This attribute will not be returned in the response if value is 0 or null
  • 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 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/getFiscalInvoiceData 
  

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-19",    
 "revenueCenters":[{
  "rvcNum": 1372,
  "invoiceData":[{
   "wsNum": 23,
   "fcrInvNum": "INV01",
   "customerDataNum": "CUST123",
   "opnBusDt": "2019-07-19",
   "checkNum": 414798,
   "guestCheckId": 123,
   "invoiceType": 1,
   "invoiceStatus": 1,
   "fcrBusinessDt": "2019-07-19",
   "subTotal1": 1234.56,
   "subTotal2": 1234.56,
   "subTotal3": 1234.56,
   "subTotal4": 1234.56,
   "subTotal5": 1234.56,
   "subTotal6": 1234.56,
   "subTotal7": 1234.56,
   "subTotal8": 1234.56,
   "subTotal9": 1234.56,
   "subTotal10": 1234.56,
   "subTotal11": 1234.56,
   "subTotal12": 1234.56,
   "subTotal13": 1234.56,
   "subTotal14": 1234.56,
   "taxTotal1": 1234.56,
   "taxTotal2": 1234.56,
   "taxTotal3": 1234.56,
   "taxTotal4": 1234.56,
   "taxTotal5": 1234.56,
   "taxTotal6": 1234.56,
   "taxTotal7": 1234.56,
   "taxTotal8": 1234.56,
   "taxTotal9": 1234.56,
   "taxTotal10": 1234.56,
   "taxTotal11": 1234.56,
   "taxTotal12": 1234.56,
   "taxTotal13": 1234.56,
   "taxTotal14": 1234.56,
   "taxTotal15": 1234.56,
   "taxTotal16": 1234.56,
   "invDataInfo1": "Inv Info",
   "invDataInfo2": "Inv Info",
   "invDataInfo3": "Inv Info",
   "invDataInfo4": "Inv Info",
   "invDataInfo5": "Inv Info",
   "invDataInfo6": "Inv Info",
   "invDataInfo7": "Inv Info",
   "invDataInfo8": "Inv Info",
   "invDataInfo9": "Inv Info",
   "invDataInfo10": "Inv Info",
   "invDataInfo11": "Inv Info",
   "invDataInfo12": "Inv Info",
   "invDataInfo13": "Inv Info",
   "invDataInfo14": "Inv Info",
   "invDataInfo15": "Inv Info",
   "invDataInfo16": "Inv Info",
   "fcrIdentifier": 987,
   "storeIdentifier": 654,
   "deviceIdentifier": "ID01",
   "documentType": "D01",
   "dataType": "T01",
   "sysDocIdentifier": 1234.56,
   "fiscalKey":  "KEY01",
   "json": "[{Country / Transaction specific fiscal data}]",
   "extraDate1": "2019-07-01T13:00:00",
   "extraDate2": "2019-07-01T13:00:00",
   "extraDate3": "2019-07-01T13:00:00",
   "extraDate4": "2019-07-01T13:00:00",
   "extraDate5": "2019-07-01T13:00:00"
  }]
}]
}
Back to Top