Skip to main content
POST
Create a new receipt

Authorizations

Authorization
string
header
required

Use a valid JWT token in the Authorization header with the format 'Bearer {token}'

Body

application/json
locationReference
null | string
required
originReference
string
type
enum<string>
Available options:
Supplier,
Customer
code
null | string
date
null | string<date>
externalReference
null | string

Response

Created

id
string
required
externalReference
null | string
required
date
string<date>
required
origin
string
required
originId
string
required
type
enum<string>
required
Available options:
Supplier,
Customer
status
enum<string>
required
Available options:
Pending,
Received
code
string
required
locationId
null | string
required
location
object | null
required
received
boolean
required
receivedAt
null | string<date-time>
required
createdAt
string<date-time>
required
createdBy
string
required
lastModifiedAt
string<date-time>
required
lastModifiedBy
string
required