Documentation
Organization Structure API
- Axis-sections
- Departments
- Legal-Units
- Establishments
Core HR API
- Employees Directory
- Guides
Expenses API
- Expense-temp-items
- Expense-claims
- Expense-claim-items
- Exports
- Guides
Invoices API
- Cost-Centers
- Purchases
- Approval Workflow
- Booked Documents
- Misc.
- Guides
Absences API
- Leaves
- Leave-requests
- Sick-leaves
- Imports
- Guides
Office API
- User-locations
- Work-locations
Project API
- Clients
- Projects
- Project services
- Organizations
- Financials
Time Settings API
- UserDates
- Workcycle-exceptions
- Working-time-arrangement
Timesheet API
- Time-entries
- Timesheets
- Reports
- Guides
Mealvouchers API
- Statutory
- Computation
Compensation API
- Fixed-natures
- Fixed-items
- Variable-natures
- Variable-items
Training API
- Training-demands
- Realized-trainings
Purchases
The purchase resource
Purchase.
Was this page helpful?
Copy
Ask AI
{
"id": 123,
"type": "Subscription",
"title": "<string>",
"state": "Created",
"commitment": {
"id": 123,
"type": "<string>",
"owner": {
"id": 123,
"href": "<string>",
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pictureHref": "<string>"
},
"purchase": {
"id": 123,
"href": "<string>",
"name": "<string>",
"type": "Subscription"
},
"attachments": [
{
"id": 123,
"file": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"href": "<string>",
"name": "<string>",
"displayHref": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"pages": {
"displayHrefTemplate": "<string>",
"count": 123
}
}
],
"comment": "<string>",
"paymentMethod": "BankTransfer",
"state": "Created",
"startDate": "2023-12-25",
"firstInvoiceDate": "2023-12-25",
"invoicingFrequency": {
"value": 123,
"unit": "Day"
},
"subscriptionDuration": {
"value": 123,
"unit": "Day"
},
"contractualObligation": {
"value": 123,
"unit": "Day"
},
"terminationNotice": {
"value": 123,
"unit": "Day"
},
"amountIncludingTaxesPerPeriod": {
"base": {
"excludingTaxes": {
"value": 123,
"currency": "Invalid"
},
"taxes": [
{
"rateTypeId": 123,
"value": 123,
"currency": "Invalid"
}
],
"includingTaxes": {
"value": 123,
"currency": "Invalid"
}
},
"counter": {
"excludingTaxes": {
"value": 123,
"currency": "Invalid"
},
"taxes": [
{
"rateTypeId": 123,
"value": 123,
"currency": "Invalid"
}
],
"includingTaxes": {
"value": 123,
"currency": "Invalid"
}
},
"rate": 123
},
"amountIncludingTaxes": {
"base": {
"excludingTaxes": {
"value": 123,
"currency": "Invalid"
},
"taxes": [
{
"rateTypeId": 123,
"value": 123,
"currency": "Invalid"
}
],
"includingTaxes": {
"value": 123,
"currency": "Invalid"
}
},
"counter": {
"excludingTaxes": {
"value": 123,
"currency": "Invalid"
},
"taxes": [
{
"rateTypeId": 123,
"value": 123,
"currency": "Invalid"
}
],
"includingTaxes": {
"value": 123,
"currency": "Invalid"
}
},
"rate": 123
},
"subscriptionEndDate": "2023-12-25",
"periodsCount": 123,
"contractualEndDate": "2023-12-25",
"createdAt": "2023-11-07T05:31:56Z",
"author": {
"id": 123,
"href": "<string>",
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pictureHref": "<string>"
},
"modifiedAt": "2023-11-07T05:31:56Z",
"modifier": {
"id": 123,
"href": "<string>",
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pictureHref": "<string>"
}
},
"ownerId": 123,
"owner": {
"id": 123,
"href": "<string>",
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pictureHref": "<string>"
},
"natureId": 123,
"nature": {
"id": 123,
"name": "<string>",
"href": "<string>"
},
"costCenterId": 123,
"costCenter": {
"id": 123,
"name": "<string>",
"code": "<string>",
"href": "<string>"
},
"establishmentId": 123,
"establishment": {
"id": 123,
"name": "<string>",
"href": "<string>"
},
"departmentId": 123,
"department": {
"id": 123,
"name": "<string>",
"href": "<string>"
},
"supplier": {
"type": "Draft",
"name": "<string>",
"territoryId": "<string>",
"territory": {
"id": 123,
"name": "<string>",
"href": "<string>"
}
},
"availableAmount": {
"base": {
"value": 123,
"currency": "Invalid"
},
"counter": {
"value": 123,
"currency": "Invalid"
},
"rate": 123
},
"billedAmount": {
"base": {
"value": 123,
"currency": "Invalid"
},
"counter": {
"value": 123,
"currency": "Invalid"
},
"rate": 123
},
"committedAmount": {
"base": {
"value": 123,
"currency": "Invalid"
},
"counter": {
"value": 123,
"currency": "Invalid"
},
"rate": 123
},
"confirmedAmount": {
"base": {
"value": 123,
"currency": "Invalid"
},
"counter": {
"value": 123,
"currency": "Invalid"
},
"rate": 123
},
"requestedAmount": {
"base": {
"value": 123,
"currency": "Invalid"
},
"counter": {
"value": 123,
"currency": "Invalid"
},
"rate": 123
},
"aggregatedStates": {
"creditNotes": {
"expected": 123,
"toReview": 123,
"partial": 123,
"confirmed": 123,
"pendingRetraction": 123,
"removed": 123,
"bypassed": 123
},
"invoices": {
"expected": 123,
"toReview": 123,
"pendingBreakdown": 123,
"confirmed": 123,
"litigation": 123,
"discarded": 123,
"removed": 123,
"bypassed": 123
},
"invoicesPayments": {
"toPay": 123,
"underReview": 123,
"emitting": 123,
"paid": 123,
"onHold": 123
},
"creditNotesPayments": {
"available": 123,
"consumed": 123,
"unavailable": 123
}
},
"axisSectionIds": [
123
],
"axisSections": [
{
"id": 123,
"href": "<string>",
"name": "<string>",
"code": "<string>",
"axisId": 123
}
],
"createdAt": "2023-11-07T05:31:56Z",
"author": {
"id": 123,
"href": "<string>",
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pictureHref": "<string>"
},
"modifiedAt": "2023-11-07T05:31:56Z",
"modifier": {
"id": 123,
"href": "<string>",
"name": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"pictureHref": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.