Accounts
Requires permission Account View.
GET /Accounts/{id} HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"parentAccountId": "123e4567-e89b-12d3-a456-426614174000",
"accountNumber": "text",
"accountType": "Customer",
"inactive": true,
"invoiceDeliveryMethod": "Email",
"accountsReceivable": "text",
"currencyCode": "text",
"defaultPaymentTerm": "text",
"domain": "text",
"electronicInvoiceAddress": "text",
"electronicInvoiceAddressScheme": "0007",
"imageUrl": "text",
"invoiceEmailAddress": "text",
"invoiceEmailCcAddresses": "text",
"reminderEmailAddress": "text",
"name": "text",
"organizationNumber": "text",
"ourReference": "text",
"taxRegistrationNumber": "text",
"taxTemplate": "text",
"yourReference": "text",
"invoiceTemplateId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceBatchGroupId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceSettingGroupId": "123e4567-e89b-12d3-a456-426614174000",
"defaultInvoiceAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"defaultDeliveryAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"addresses": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
}
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"onlinePaymentDetails": {
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z",
"stripeCustomerId": "text",
"stripePaymentMethodId": "text"
},
"externalERPId": "text",
"externalCRMId": "text",
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
}
}
Allowed as string input: Code, Currency-Id.
SEK
Allowed as string input: Name, PaymentTerm-Id.
NET30
Electronic invoice scheme (EAS) code list. Read more on: https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/
0007
Allowed as string input: Name, TaxTemplate-Id.
Sweden standard
Allowed as string input: Code, FinancialAccount-Id.
1510
PATCH /Accounts/{id} HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/merge-patch+json
Accept: */*
Content-Length: 1102
{
"name": "text",
"accountType": "Customer",
"currency": "SEK",
"ourReference": "text",
"yourReference": "text",
"invoiceEmailAddress": "text",
"reminderEmailAddress": "text",
"invoiceEmailCcAddresses": "text",
"invoiceDeliveryMethod": "Email",
"defaultPaymentTerm": "NET30",
"taxRegistrationNumber": "text",
"organizationNumber": "text",
"electronicInvoiceAddress": "text",
"electronicInvoiceAddressScheme": "0007",
"inactive": true,
"taxTemplate": "Sweden standard",
"accountsReceivable": "1510",
"imageUrl": "text",
"domain": "text",
"invoiceTemplateId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceBatchGroup": {
"key": "text",
"value": "text"
},
"invoiceSettingGroup": {
"key": "text",
"value": "text"
},
"defaultInvoiceAddress": {
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "Sweden"
},
"defaultDeliveryAddress": {
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "Sweden"
},
"externalERPId": "text",
"externalCRMId": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
No content
Requires permission Account View.
Filter the results. See ODATA documentation for more information
name eq 'Adam' and age gt 20
Sorting the results. See ODATA specification for more information
accountNumber Desc
Apply a separate modified After filter. See 'ModifiedBefore' filter for further details.
03/01/2025 00:00:00
Filter is also applied on sub entities: 'customFields' and 'addresses'
03/01/2025 00:00:00
Page Size
20
Page Number
1
GET /Accounts HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageNumber": 1,
"pageSize": 1,
"totalPages": 1,
"totalCount": 1,
"nextPage": "https://example.com",
"previousPage": "https://example.com",
"firstPage": "https://example.com",
"lastPage": "https://example.com",
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"parentAccountId": "123e4567-e89b-12d3-a456-426614174000",
"accountNumber": "text",
"accountType": "Customer",
"inactive": true,
"invoiceDeliveryMethod": "Email",
"accountsReceivable": "text",
"currencyCode": "text",
"defaultPaymentTerm": "text",
"domain": "text",
"electronicInvoiceAddress": "text",
"electronicInvoiceAddressScheme": "0007",
"imageUrl": "text",
"invoiceEmailAddress": "text",
"invoiceEmailCcAddresses": "text",
"reminderEmailAddress": "text",
"name": "text",
"organizationNumber": "text",
"ourReference": "text",
"taxRegistrationNumber": "text",
"taxTemplate": "text",
"yourReference": "text",
"invoiceTemplateId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceBatchGroupId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceSettingGroupId": "123e4567-e89b-12d3-a456-426614174000",
"defaultInvoiceAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"defaultDeliveryAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"addresses": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
}
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"onlinePaymentDetails": {
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z",
"stripeCustomerId": "text",
"stripePaymentMethodId": "text"
},
"externalERPId": "text",
"externalCRMId": "text",
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
}
}
]
}
POST /Accounts HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 1102
{
"name": "text",
"accountType": "Customer",
"currency": "SEK",
"ourReference": "text",
"yourReference": "text",
"invoiceEmailAddress": "text",
"invoiceEmailCcAddresses": "text",
"invoiceDeliveryMethod": "Email",
"defaultPaymentTerm": "NET30",
"taxRegistrationNumber": "text",
"organizationNumber": "text",
"electronicInvoiceAddress": "text",
"electronicInvoiceAddressScheme": "0007",
"inactive": true,
"taxTemplate": "Sweden standard",
"accountsReceivable": "1510",
"imageUrl": "text",
"domain": "text",
"invoiceTemplateId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceBatchGroup": {
"key": "text",
"value": "text"
},
"invoiceSettingGroup": {
"key": "text",
"value": "text"
},
"reminderEmailAddress": "text",
"defaultInvoiceAddress": {
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "Sweden"
},
"defaultDeliveryAddress": {
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "Sweden"
},
"externalERPId": "text",
"externalCRMId": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
No content
POST /Accounts/OnlinePaymentDetails/{id} HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"stripeCustomerId": "text",
"stripePaymentMethodId": "text"
}
No content
PATCH /Accounts/OnlinePaymentDetails/{id} HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/merge-patch+json
Accept: */*
Content-Length: 58
{
"stripeCustomerId": "text",
"stripePaymentMethodId": "text"
}
No content
DELETE /Accounts/OnlinePaymentDetails/{id} HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
The identifier of the account
DELETE /Accounts/{accountId} HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
No content
Filter the results. See ODATA documentation for more information
name eq 'Adam' and age gt 20
Sorting the results. See ODATA specification for more information
accountNumber Desc
Apply a separate modified After filter. See 'ModifiedBefore' filter for further details.
03/01/2025 00:00:00
Filter is also applied on sub entities: 'orderProducts', 'orderCharges', 'chargeDetails', 'orderDiscounts', 'milestones' and 'customFields' on these entities
03/01/2025 00:00:00
Page Size
20
Page Number
1
GET /Accounts/{id}/Subscriptions HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageNumber": 1,
"pageSize": 1,
"totalPages": 1,
"totalCount": 1,
"nextPage": "https://example.com",
"previousPage": "https://example.com",
"firstPage": "https://example.com",
"lastPage": "https://example.com",
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderNumber": "text",
"version": 1,
"isLastVersion": true,
"status": "Draft",
"description": "text",
"remarks": "text",
"effectiveStartDate": "2025-06-23T08:26:26.198Z",
"effectiveEndDate": "2025-06-23T08:26:26.198Z",
"cancellationDate": "2025-06-23T08:26:26.198Z",
"effectiveChangeDate": "2025-06-23T08:26:26.198Z",
"orderDate": "2025-06-23T08:26:26.198Z",
"noticePeriodDate": "2025-06-23T08:26:26.198Z",
"lastRenewalDate": "2025-06-23T08:26:26.198Z",
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z",
"lastUpdated": "2024-07-01",
"noticePeriod": 1,
"term": 1,
"renewalTerm": 1,
"isAutoRenewed": true,
"orderType": "Subscription",
"termType": "Termed",
"orderPaymentMethod": "Invoice",
"invoiceSeparatly": true,
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"invoiceAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"deliveryAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"orderBillingPeriod": "Monthly",
"setOrderBillingPeriod": true,
"invoiceBatchGroup": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"description": "text"
},
"paymentTerm": "text",
"useAccountInvoiceBatchGroup": true,
"account": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"invoiceAccount": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"products": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"productNumber": "text",
"chargePlanId": "123e4567-e89b-12d3-a456-426614174000",
"chargePlanName": "text",
"chargePlanNumber": "text",
"productLineNumber": 1,
"name": "text",
"charges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"chargeNumber": "OPC-000001",
"version": 1,
"isLastVersion": true,
"name": "text",
"chargeType": "OneOff",
"priceModel": "Flat",
"effectiveStartDate": "2025-06-23T08:26:26.198Z",
"effectiveEndDate": "2025-06-23T08:26:26.198Z",
"quantity": 1,
"unitCode": "text",
"startOn": "AlignToSubscription",
"endOn": "AlignToSubscription",
"chargedThroughDate": "2025-06-23T08:26:26.198Z",
"lastRenewalDate": "2025-06-23T08:26:26.198Z",
"lastPriceAdjustmentDate": "2025-06-23T08:26:26.198Z",
"pricePeriod": "Monthly",
"usageRating": "Sum",
"revenueRecognitionRule": "text",
"billingDay": "None",
"specificBillingDay": 1,
"billingPeriod": "Monthly",
"billingTiming": "InAdvance",
"periodAlignment": "None",
"alignmentDate": "2025-06-23T08:26:26.198Z",
"taxTemplate": "text",
"taxIncluded": true,
"createInvoiceLinesPerTier": true,
"estimatedUsage": 1,
"estimatedQuantity": 1,
"remainingQuantity": 1,
"orderedQuantity": 1,
"remarks": "text",
"accountsReceivableAccount": "text",
"deferredRevenueAccount": "text",
"recognizedRevenueAccount": "text",
"changeState": "NotChanged",
"displayPrice": 1,
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"priceDetails": [
{
"tier": 1,
"price": 1,
"listPrice": 1,
"description": "text",
"fromQuantity": 1,
"toQuantity": 1,
"priceBase": "Flat",
"lineDiscountPercent": 1,
"lineDiscountAmount": 1
}
],
"recurringMonthlyAmount": 1,
"recurringMonthlyAmountBase": 1,
"features": [
{
"code": "text",
"description": "text"
}
],
"orderDiscounts": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"orderProductId": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000",
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z"
}
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z"
}
],
"milestones": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"milestoneDate": "2025-06-23T08:26:26.198Z",
"plannedDate": "2025-06-23T08:26:26.198Z"
}
],
"orderDiscounts": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2025-06-23T08:26:26.198Z",
"endDate": "2025-06-23T08:26:26.198Z",
"percent": 1,
"discountType": "Percent",
"orderProductCharges": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"onSpecificCharges": true
}
],
"currency": "text",
"externalERPId": "text",
"externalCRMId": "text",
"currencyCodeToUseWhenInvoice": "text",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
}
}
]
}
Account id
Filter the results. See ODATA documentation for more information
name eq 'Adam' and age gt 20
Sorting the results. See ODATA specification for more information
accountNumber Desc
Apply a separate modified After filter. See 'ModifiedBefore' filter for further details.
03/01/2025 00:00:00
Filter is also applied on sub entities: 'invoiceLines' and 'customFields' on these entities
03/01/2025 00:00:00
Page Size
20
Page Number
1
false
GET /Accounts/{id}/Invoices HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageNumber": 1,
"pageSize": 1,
"totalPages": 1,
"totalCount": 1,
"nextPage": "https://example.com",
"previousPage": "https://example.com",
"firstPage": "https://example.com",
"lastPage": "https://example.com",
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"invoiceNumber": "text",
"status": "Draft",
"account": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"notes": "text",
"invoiceDate": "2025-06-23T08:26:26.198Z",
"dueDate": "2025-06-23T08:26:26.198Z",
"paymentDate": "2025-06-23T08:26:26.198Z",
"lastPaymentDate": "2025-06-23T08:26:26.198Z",
"daysPastDue": 1,
"nrOfReminders": 1,
"paymentTerm": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"days": 1,
"name": "text"
},
"currency": "text",
"subtotal": 1,
"tax": 1,
"totalAmount": 1,
"totalRoundingAmount": 1,
"settledAmount": 1,
"balancedAmount": 1,
"taxIncluded": true,
"invoiceAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"deliveryAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"invoiceBatchId": "123e4567-e89b-12d3-a456-426614174000",
"invoiceLines": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"invoiceLineNumber": 1,
"productNumber": "text",
"productName": "text",
"chargeDescription": "text",
"chargeNumber": "text",
"charge": {
"name": "text",
"chargeNumber": "OPC-000001",
"description": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"quantity": 1,
"unitOfMeasure": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"unitCode": "text",
"name": "text",
"displayName": "text"
},
"price": 1,
"subtotal": 1,
"total": 1,
"tax": 1,
"subtotalPreDiscount": 1,
"totalPreDiscount": 1,
"taxPreDiscount": 1,
"servicePeriodStartDate": "2025-06-23T08:26:26.198Z",
"servicePeriodEndDate": "2025-06-23T08:26:26.198Z",
"notes": "text",
"orderChargeId": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"chargePlanId": "123e4567-e89b-12d3-a456-426614174000",
"orderProductId": "123e4567-e89b-12d3-a456-426614174000",
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"accountsReceivable": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"description": "text",
"externalERPId": "text",
"externalCRMId": "text"
},
"deferredRevenue": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"description": "text",
"externalERPId": "text",
"externalCRMId": "text"
},
"recognizedRevenue": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"description": "text",
"externalERPId": "text",
"externalCRMId": "text"
},
"externalERPId": "text",
"externalCRMId": "text",
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z",
"taxCategoryName": "text",
"taxRate": 1
}
],
"latestOnlinePaymentLogs": [
{
"failedPayment": true,
"paymentDescription": "text",
"timeStamp": "2025-06-23T08:26:26.198Z",
"payoutId": "text",
"isPayout": true,
"paymentIntentId": "text"
}
],
"onlinePaymentStatus": "None",
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"invoiceType": "Invoice",
"ocrNumber": "text",
"sendMethod": "text",
"exchangeRate": 1,
"settledNotes": "text",
"invoiceDeliveryMethod": "Email",
"invoiceTemplateId": "123e4567-e89b-12d3-a456-426614174000",
"disableAutomaticInvoiceReminder": true,
"onlinePaymentLink": "text",
"accountsReceivable": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"code": "text",
"name": "text",
"description": "text",
"externalERPId": "text",
"externalCRMId": "text"
},
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"externalERPId": "text",
"externalCRMId": "text",
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z"
}
]
}
Filter the results. See ODATA documentation for more information
name eq 'Adam' and age gt 20
Sorting the results. See ODATA specification for more information
accountNumber Desc
Apply a separate modified After filter. See 'ModifiedBefore' filter for further details.
03/01/2025 00:00:00
Filter is also applied on sub entities: 'orderProducts', 'orderCharges', 'chargeDetails', 'orderDiscounts', 'milestones' and 'customFields' on these entities
03/01/2025 00:00:00
Page Size
20
Page Number
1
GET /Accounts/{id}/SalesOrders HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"pageNumber": 1,
"pageSize": 1,
"totalPages": 1,
"totalCount": 1,
"nextPage": "https://example.com",
"previousPage": "https://example.com",
"firstPage": "https://example.com",
"lastPage": "https://example.com",
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderNumber": "text",
"version": 1,
"isLastVersion": true,
"status": "Draft",
"description": "text",
"remarks": "text",
"orderDate": "2025-06-23T08:26:26.198Z",
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z",
"lastUpdated": "2025-06-23T08:26:26.198Z",
"orderType": "Subscription",
"invoiceSeparatly": true,
"yourReference": "text",
"ourReference": "text",
"yourOrderNumber": "text",
"buyerReference": "text",
"invoiceAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"deliveryAddress": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"description": "text",
"name": "text",
"street": "text",
"street2": "text",
"city": "text",
"county": "text",
"state": "text",
"zip": "text",
"country": "text"
},
"paymentTerm": "text",
"orderPaymentMethod": "Invoice",
"invoiceBatchGroup": "text",
"useAccountInvoiceBatchGroup": true,
"account": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"invoiceAccount": {
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
},
"currency": "text",
"accountsReceivableAccount": "text",
"externalERPId": "text",
"externalCRMId": "text",
"products": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"productNumber": "text",
"chargePlanId": "123e4567-e89b-12d3-a456-426614174000",
"chargePlanName": "text",
"chargePlanNumber": "text",
"productLineNumber": 1,
"name": "text",
"charges": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"chargeNumber": "OPC-000001",
"version": 1,
"isLastVersion": true,
"name": "text",
"chargeType": "OneOff",
"priceModel": "Flat",
"effectiveStartDate": "2025-06-23T08:26:26.198Z",
"effectiveEndDate": "2025-06-23T08:26:26.198Z",
"quantity": 1,
"unitCode": "text",
"startOn": "AlignToSubscription",
"endOn": "AlignToSubscription",
"chargedThroughDate": "2025-06-23T08:26:26.198Z",
"lastRenewalDate": "2025-06-23T08:26:26.198Z",
"lastPriceAdjustmentDate": "2025-06-23T08:26:26.198Z",
"pricePeriod": "Monthly",
"usageRating": "Sum",
"revenueRecognitionRule": "text",
"billingDay": "None",
"specificBillingDay": 1,
"billingPeriod": "Monthly",
"billingTiming": "InAdvance",
"periodAlignment": "None",
"alignmentDate": "2025-06-23T08:26:26.198Z",
"taxTemplate": "text",
"taxIncluded": true,
"createInvoiceLinesPerTier": true,
"estimatedUsage": 1,
"estimatedQuantity": 1,
"remainingQuantity": 1,
"orderedQuantity": 1,
"remarks": "text",
"accountsReceivableAccount": "text",
"deferredRevenueAccount": "text",
"recognizedRevenueAccount": "text",
"changeState": "NotChanged",
"displayPrice": 1,
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"priceDetails": [
{
"tier": 1,
"price": 1,
"listPrice": 1,
"description": "text",
"fromQuantity": 1,
"toQuantity": 1,
"priceBase": "Flat",
"lineDiscountPercent": 1,
"lineDiscountAmount": 1
}
],
"recurringMonthlyAmount": 1,
"recurringMonthlyAmountBase": 1,
"features": [
{
"code": "text",
"description": "text"
}
],
"orderDiscounts": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"orderProductId": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000",
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z"
}
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"externalERPId": "text",
"externalCRMId": "text",
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"created": "2025-06-23T08:26:26.198Z",
"modified": "2025-06-23T08:26:26.198Z"
}
],
"milestones": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"milestoneDate": "2025-06-23T08:26:26.198Z",
"plannedDate": "2025-06-23T08:26:26.198Z"
}
],
"orderDiscounts": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"orderId": "123e4567-e89b-12d3-a456-426614174000",
"startOn": "AlignToOrder",
"endOn": "AlignToOrder",
"startDate": "2025-06-23T08:26:26.198Z",
"endDate": "2025-06-23T08:26:26.198Z",
"percent": 1,
"discountType": "Percent",
"orderProductCharges": [
{
"orderDiscountId": "123e4567-e89b-12d3-a456-426614174000",
"chargeId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"onSpecificCharges": true
}
],
"customFields": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"invoicingCurrency": "text"
}
]
}
GET /Accounts/{id}/Summary HTTP/1.1
Host: api.younium.com
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
{
"cmrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"acv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"emrr": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"oneTimeFees": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"tcv": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"accountBalance": {
"amount": 1,
"currencyCode": "text",
"currencyConversionDate": "2025-06-23T08:26:26.198Z",
"baseCurrencyAmount": 1,
"baseCurrencyCode": "text"
},
"lastInvoiced": "2025-06-23T08:26:26.198Z",
"name": "text",
"accountNumber": "text",
"id": "123e4567-e89b-12d3-a456-426614174000",
"externalERPId": "text",
"externalCRMId": "text"
}
Last updated
Was this helpful?