Preskoči na sadržaj

Get an invoice by ID

GET
/pos/invoices/:id

Retrieve a specific cash register invoice by its ID

id
required
string

OK

object
id
required
string
direction
required
string
issuedAt
required
Any of:
state
required
string
type
required
string
transactionType
required
number
amount
required
string
discountPercent
Any of:
string
userId
required
string
cashierTin
string
buyerTin
string
buyerIdentificationKind
string
buyerIdentificationValue
string
buyerOptionalFieldKind
string
buyerOptionalFieldValue
string
supplierTin
string
invoiceType
number
transactionTypeNumeric
number
payments
Array<object>
object
paymentType
required
number
amount
required
number
referentDocumentNumber
string
referentDocumentDT
Any of:
advertisement
Any of:
string
advanceContinuation
boolean
items
Array<object>
object
id
required
string
gtin
required
string
itemName
required
string
quantity
required
string
unitPrice
required
string
totalAmount
required
string
discountPercent
Any of:
string
tax
required
string
unit
Any of:
string
fiscalNumber
string
fiscalEnuCode
string
fiscalSignature
string
fiscalQrCode
string
fiscalJournal
string
fiscalizedAt
Any of:
sdcType
string
fiscalRequestId
string
fiscalStatus
string
efakturaStatus
string
efakturaSubmittedAt
Any of:
efakturaDetails
Any of:
null
processingKind
string
categories
Array<object>
object
id
required
string
name
required
string
slug
required
string
color
required
Any of:
string
path
required
string
createdAt
required
Any of:
updatedAt
required
Any of:

401

One of:
object
defined
required
code
required
Allowed value: UNAUTHORIZED
status
required
Allowed value: 401
message
required
string
default: Missing user session. Please log in!
data

403

One of:
object
defined
required
code
required
Allowed value: FORBIDDEN
status
required
Allowed value: 403
message
required
string
default: You do not have enough permission to perform this action.
data

422

One of:
object
defined
required
code
required
Allowed value: INPUT_VALIDATION_FAILED
status
required
Allowed value: 422
message
required
string
default: INPUT_VALIDATION_FAILED
data