Get started
Integrations
Use cases
API reference
- Accounting
- Overview
- Accounts
- Async Task
- Bills
- Bill Lines
- Bookings
- Booking Proposals
- Contacts
- Customers
- Dimensions
- Expenses
- Files
- Invoices
- Invoice Lines
- Items
- Journals
- Journal Entries
- Offers
- Offer Lines
- Payments
- Payment Terms
- Projects
- Sales Orders
- Sales Order Lines
- Suppliers
- Tax Rates
- Transactions
- Vendor Credits
- Authentication
- Tenant Management
- User
Get offerline
curl --request GET \
--url https://api.maesn.dev/accounting/offers/{offerId}/lineItems/{lineItemId} \
--header 'X-ACCOUNT-KEY: <x-account-key>' \
--header 'X-API-KEY: <x-api-key>'
{
"meta": {
"warnings": [
"Field not used by target system"
],
"pagination": {
"total": 123,
"perPage": 123,
"currentPage": 123,
"totalPages": 123
}
},
"data": {
"id": "Offer line item id",
"accountCode": "8400",
"accountId": "a23cc-334rn-finsd-438m",
"createdDate": "2021-01-01T00:00:00Z",
"description": "Description",
"itemId": "Item id",
"name": "Item name",
"quantity": "1",
"taxCode": "CODE.19",
"taxRatePercentage": "19",
"taxType": "type-19",
"type": "ITEM",
"totalDiscountAmount": "5",
"totalDiscountPercentage": "5",
"totalGrossAmount": "500",
"totalNetAmount": "100",
"totalTaxAmount": "19",
"unitAmount": "100",
"unitDiscountAmount": "5",
"unitDiscountPercentage": "5",
"unitName": "STÜCK",
"updatedDate": "2021-01-01T00:00:00Z"
}
}
Field support per integration
If you’re not using the Interactive Authentication Flow, make sure the query parameters environmentName
and companyId
are correctly populated.
You can obtain these values by using the GET Environments
and GET Companies
endpoints available under the Authentication section.
Supported Response Fields:
Available options (3-letter ISO 4217):
ITEM
, COMMENT
, ACCOUNT
, CHARGE
, VALUE
, RESOURCE
, FIXED_ASSET
If you’re not using the Interactive Authentication Flow, make sure the query parameters environmentName
and companyId
are correctly populated.
You can obtain these values by using the GET Companies
endpoint available under the Authentication section. Please use the id field as the companyId and the environmentId field as the environmentName.
ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
Note that quantity can be a decimal numeral.
ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
Response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.maesn.dev/accounting/offers/{offerId}/lineItems/{lineItemId} \
--header 'X-ACCOUNT-KEY: <x-account-key>' \
--header 'X-API-KEY: <x-api-key>'
{
"meta": {
"warnings": [
"Field not used by target system"
],
"pagination": {
"total": 123,
"perPage": 123,
"currentPage": 123,
"totalPages": 123
}
},
"data": {
"id": "Offer line item id",
"accountCode": "8400",
"accountId": "a23cc-334rn-finsd-438m",
"createdDate": "2021-01-01T00:00:00Z",
"description": "Description",
"itemId": "Item id",
"name": "Item name",
"quantity": "1",
"taxCode": "CODE.19",
"taxRatePercentage": "19",
"taxType": "type-19",
"type": "ITEM",
"totalDiscountAmount": "5",
"totalDiscountPercentage": "5",
"totalGrossAmount": "500",
"totalNetAmount": "100",
"totalTaxAmount": "19",
"unitAmount": "100",
"unitDiscountAmount": "5",
"unitDiscountPercentage": "5",
"unitName": "STÜCK",
"updatedDate": "2021-01-01T00:00:00Z"
}
}