All pages
Powered by GitBook
1 of 1

Loading...

Get statement

get
Path parameters
idstringRequired
Query parameters
selectstringOptional
Responses
200

OK

application/json

Represents a billing statement in the system, containing details about transactions, pricing, and associated entities.

atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
atstring · date-time · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
omittedstring[]Optional
revisioninteger · int32Optional
idstringOptional

The unique identifier of the statement.

Example: SOM-1234-1234-1234-1234-1234
operationsstring · nullableOptional

Represents the identifier used for operations in the billing system.

Example: OPS-12345
vendorstring · nullableOptional

Represents the identifier used for vendors in the billing system.

Example: VND-67890
erpIdstring · nullableOptional

Represents the identifier used in the ERP system for the statement, if applicable.

Example: ERP-12345
clientstring · nullableOptional

Represents the identifier used for clients in the billing system.

Example: CLI-12345
revisioninteger · int32Optional
idstringOptional

The unique identifier of the ledger.

Example: BLE-1234-1234-1234-1234
revisioninteger · int32Optional
idstringOptional

The unique identifier of the custom ledger.

namestringOptional

Name of the custom ledger.

Example: Quarterly Revenue Ledger
typestring · enumOptional

Represents the type of a statement in the billing system.

Possible values:
billingTypestring · enumOptional

Represents the type of billing process.

Possible values:
statusstring · enumOptional

Represents the various statuses a statement can have in the billing system.

Possible values:
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
typestring · enumOptionalPossible values:
statusstring · enumOptionalPossible values:
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
typestring · enumOptionalPossible values:
statusstring · enumOptionalPossible values:
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
externalIdstring · nullableOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
operationsstring · nullableOptional
defaultErpItemstring · nullableOptional
statusstringOptional
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
statusstring · enumOptionalPossible values:
idstringOptional
namestringOptional
iconstring · nullableOptional
revisioninteger · int32Optional
externalIdstring · nullableOptional
markupnumber · doubleOptional

Represents the markup value applied to the pricing.

Example: 15.5
marginnumber · doubleOptional

Represents the margin value calculated for the pricing.

Example: 20
totalPPnumber · doubleOptional

Represents the total purchase price.

Example: 1000
totalBSPnumber · doubleOptional

Represents the total sale price in buyer currency.

Example: 1200
purchasestringOptional

Indicates the purchase price currency visible to vendors or operations.

Example: USD
salestringOptional

Indicates the sale price currency visible to clients or operations.

Example: EUR
ratenumber · doubleOptional

Exchange rate between the purchase and sale currencies.

Example: 1
totalSPnumber · doubleOptional

Represents the total sale price.

Example: 1200
totalinteger · int32Optional

Indicates the total number of items involved in the processing.

Example: 100
readyinteger · int32Optional

Indicates the number of items that are ready for further processing.

Example: 80
errorinteger · int32Optional

Indicates the number of items that encountered errors during processing.

Example: 5
splitinteger · int32Optional

Indicates the number of items that were split into multiple parts during processing.

Example: 10
skippedinteger · int32Optional

Indicates the number of items that were skipped during processing.

Example: 5
ignoredinteger · int32Optional

Indicates the number of items that were manually ignored.

Example: 2
messagestring · nullableOptional

Gets the message associated with the current object.

parametersany · nullableOptional

Gets the parameters associated with the current request or operation.

errorCodestringOptional

Represents the error code associated with the billing entity.

Example: ERR-001
errorMessagestringOptional

Represents the error message providing details about the issue.

Example: Invalid billing data provided.
idstring · nullableOptional

Represents the unique identifier for the error, if applicable.

Example: 12345
messagestring · nullableOptional

Represents the detailed message associated with the error, if applicable.

Example: Failed to process the billing entity due to missing data.
revisioninteger · int32Optional
idstringOptional

The unique identifier of the credit memo.

revisioninteger · int32Optional
idstringOptional

The unique identifier of the invoice.

Example: INV-123-456-789
statusstring · enumOptional

Represents the status of a backup operation.

Possible values:
datestring · date-time · nullableOptional

Date and time of the backup action, if available.

revisioninteger · int32Optional
idstringOptional

The unique identifier of the statement.

Example: SOM-1234-1234-1234-1234-1234
statementsinteger · int32Optional

Gets or sets the count of child statements.

Example: 3
productsinteger · int32Optional

Gets or sets the count of distinct products across child statements.

Example: 3
agreementsinteger · int32Optional

Gets or sets the count of distinct agreements across child statements.

Example: 3
licenseesinteger · int32Optional

Gets or sets the count of distinct licensees across child statements.

Example: 2
404

Not Found

application/json
typestring · nullableOptional
titlestring · nullableOptional
statusinteger · int32 · nullableOptional
detailstring · nullableOptional
instancestring · nullableOptional
Other propertiesanyOptional
get/public/v1/billing/statements/{id}
GET /public/v1/billing/statements/{id} HTTP/1.1
Host: api.platform.softwareone.com
Accept: */*
{
  "audit": {
    "created": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "updated": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "generated": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "queued": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "error": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "cancelled": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "pending": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "issued": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "generating": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "consolidating": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    },
    "consolidated": {
      "at": "2026-01-01T00:00:00.000Z",
      "by": {
        "id": "text",
        "name": "text",
        "icon": "text",
        "revision": 1
      }
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "revision": 1,
  "id": "SOM-1234-1234-1234-1234-1234",
  "externalIds": {
    "operations": "OPS-12345",
    "vendor": "VND-67890",
    "erpId": "ERP-12345",
    "client": "CLI-12345"
  },
  "ledger": {
    "revision": 1,
    "id": "BLE-1234-1234-1234-1234"
  },
  "customLedger": {
    "revision": 1,
    "id": "text",
    "name": "Quarterly Revenue Ledger"
  },
  "type": "Debit",
  "billingType": "Automated",
  "status": "Generated",
  "client": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "type": "Client",
    "status": "Active"
  },
  "buyer": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1
  },
  "vendor": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "type": "Client",
    "status": "Active"
  },
  "seller": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "externalId": "text"
  },
  "product": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "externalIds": {
      "operations": "text",
      "defaultErpItem": "text"
    },
    "status": "text"
  },
  "agreement": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "status": "New"
  },
  "licensee": {
    "id": "text",
    "name": "text",
    "icon": "text",
    "revision": 1,
    "externalId": "text"
  },
  "price": {
    "markup": 15.5,
    "margin": 20,
    "totalPP": 1000,
    "totalBSP": 1200,
    "currency": {
      "purchase": "USD",
      "sale": "EUR",
      "rate": 1
    },
    "totalSP": 1200
  },
  "processing": {
    "total": 100,
    "ready": 80,
    "error": 5,
    "split": 10,
    "skipped": 5,
    "ignored": 2
  },
  "statusNotes": {
    "message": "text",
    "parameters": null
  },
  "error": {
    "errorCode": "ERR-001",
    "errorMessage": "Invalid billing data provided.",
    "id": "12345",
    "message": "Failed to process the billing entity due to missing data."
  },
  "creditMemo": {
    "revision": 1,
    "id": "text"
  },
  "invoice": {
    "revision": 1,
    "id": "INV-123-456-789"
  },
  "backup": {
    "status": "Pending",
    "date": "2026-01-01T00:00:00.000Z"
  },
  "parent": {
    "revision": 1,
    "id": "SOM-1234-1234-1234-1234-1234"
  },
  "statistics": {
    "statements": 3,
    "products": 3,
    "agreements": 3,
    "licensees": 2
  }
}