List Invoices

get
Responses
200
OK
application/json
get
GET /public/v1/billing/invoices HTTP/1.1
Host: api.platform.softwareone.com
Accept: */*
200

OK

{
  "$meta": {
    "pagination": {
      "offset": 1,
      "limit": 1,
      "total": 1
    },
    "omitted": [
      "text"
    ]
  },
  "data": [
    {
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "audit": {
        "created": {
          "at": "2025-04-30T14:30:00.0000000+00:00",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "updated": {
          "at": "2025-04-30T14:30:00.0000000+00:00",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "issued": {
          "at": "2025-04-30T14:30:00.0000000+00:00",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "paid": {
          "at": "2025-04-30T14:30:00.0000000+00:00",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "overdue": {
          "at": "2025-04-30T14:30:00.0000000+00:00",
          "by": {
            "id": "text",
            "name": "text",
            "icon": "text"
          }
        }
      },
      "id": "INV-123-456-789",
      "buyer": {
        "id": "text",
        "icon": "text",
        "name": "text"
      },
      "seller": {
        "id": "text",
        "icon": "text",
        "externalId": "text",
        "name": "text",
        "erpLink": "[Circular Reference]"
      },
      "status": "Active",
      "statement": {
        "id": "SOM-1234-1234-1234-1234-1234"
      },
      "agreement": {
        "id": "text",
        "icon": "text",
        "status": "New",
        "name": "text"
      },
      "billingType": "Automated",
      "client": {
        "id": "text",
        "icon": "text",
        "type": "Client",
        "status": "Active",
        "name": "text"
      },
      "licensee": {
        "id": "text",
        "icon": "text",
        "name": "text",
        "externalId": "text"
      },
      "product": {
        "id": "text",
        "name": "text",
        "externalIds": {
          "operations": "text"
        },
        "icon": "text",
        "status": "text"
      },
      "vendor": {
        "id": "text",
        "icon": "text",
        "type": "Client",
        "status": "Active",
        "name": "text"
      },
      "erpData": {
        "erpId": "ERP-12345",
        "documentNo": "DOC-67890",
        "documentDate": "2025-04-30T10:00:00.0000000+00:00",
        "dueDate": "2025-05-15T23:59:59.0000000+00:00",
        "balanceDue": 1500.75,
        "invoiceTotal": 2000,
        "postingDate": "2025-05-01T10:00:00.0000000+00:00",
        "rowVersion": 1,
        "yourReference": "Custom reference: US-PSI-1525628 RITM55345369 Wrong SCU; Statement ID: SOMM-8224-9785-1293-2113",
        "addresses": {
          "billTo": {
            "name": "Microsoft Corporation",
            "name2": "Latin America Collections",
            "email": "[email protected]",
            "customerNo": "AR-SCU-100064",
            "addressLine1": "Cazadores de Coquimbo 2860",
            "addressLine2": "Munro",
            "addressLine3": "Cuyo 3367",
            "city": "Carapachay",
            "postCode": "75284-841",
            "county": "Buenos Aires",
            "country": "AR",
            "contactName": "John Smith",
            "contactNo": "AR-CON-100260",
            "contactEmail": "[email protected]",
            "contactPhone": "+541123456789",
            "code": "CON-100333"
          },
          "licenseTo": {
            "name": "Microsoft Corporation",
            "name2": "Latin America Collections",
            "email": "[email protected]",
            "customerNo": "AR-SCU-100064",
            "addressLine1": "Cazadores de Coquimbo 2860",
            "addressLine2": "Munro",
            "addressLine3": "Cuyo 3367",
            "city": "Carapachay",
            "postCode": "75284-841",
            "county": "Buenos Aires",
            "country": "AR",
            "contactName": "John Smith",
            "contactNo": "AR-CON-100260",
            "contactEmail": "[email protected]",
            "contactPhone": "+541123456789",
            "code": "CON-100333"
          },
          "sellTo": {
            "name": "Microsoft Corporation",
            "name2": "Latin America Collections",
            "email": "[email protected]",
            "customerNo": "AR-SCU-100064",
            "addressLine1": "Cazadores de Coquimbo 2860",
            "addressLine2": "Munro",
            "addressLine3": "Cuyo 3367",
            "city": "Carapachay",
            "postCode": "75284-841",
            "county": "Buenos Aires",
            "country": "AR",
            "contactName": "John Smith",
            "contactNo": "AR-CON-100260",
            "contactEmail": "[email protected]",
            "contactPhone": "+541123456789",
            "code": "CON-100333"
          },
          "shipTo": {
            "name": "Microsoft Corporation",
            "name2": "Latin America Collections",
            "email": "[email protected]",
            "customerNo": "AR-SCU-100064",
            "addressLine1": "Cazadores de Coquimbo 2860",
            "addressLine2": "Munro",
            "addressLine3": "Cuyo 3367",
            "city": "Carapachay",
            "postCode": "75284-841",
            "county": "Buenos Aires",
            "country": "AR",
            "contactName": "John Smith",
            "contactNo": "AR-CON-100260",
            "contactEmail": "[email protected]",
            "contactPhone": "+541123456789",
            "code": "CON-100333"
          }
        },
        "referenceNumber": {
          "eInvoiceNo": "text",
          "orderNo": "CA-SCO-149880",
          "ppqNo": "CA-PPQ-113048",
          "quoteNo": "CA-QUO-145988"
        },
        "payment": {
          "methodCode": "BANK",
          "termsCode": "30DAYS"
        }
      },
      "price": {
        "currency": "EUR",
        "currencyFactor": 1,
        "currencyFactor2": 1,
        "markup": 10,
        "margin": 13.04,
        "totalPP": 100,
        "totalSP": 115,
        "totalST": 13,
        "totalGT": 14.95
      },
      "lines": [
        {
          "id": "INL-123-123-123",
          "description": "Microsoft 365 Business Standard",
          "description2": "Includes Office apps and cloud services",
          "documentNo": "DOC-98765",
          "erpData": {
            "contractNo": "text",
            "countryOfUsage": "text",
            "dataOrigin": 1,
            "externalPositionNo": "text",
            "navisionCountryCode": "text",
            "parentItemNo": "text",
            "primary": {
              "identifier": "text",
              "value": "text",
              "version": "text"
            },
            "secondary": {
              "identifier": "text",
              "value": "text",
              "version": "text"
            },
            "rowVersion": 1,
            "responsibilityCenterCode": "text",
            "swoPurchaseOrderNo": "text",
            "type": 1,
            "unitOfMeasure": "text",
            "varAgreementNo": "text",
            "varPartnerNo": "text",
            "msrp": 15,
            "timestamp": 1682937600,
            "sellToContactNo": "CONTACT-001",
            "externalDocumentNo": "EXTDOC-001",
            "externalDocumentNo2": "EXTDOC2-001",
            "yourReference": "CUSTREF-001"
          },
          "itemNo": "SKU-001",
          "lineNo": 1,
          "period": {
            "start": "2025-01-01T00:00:00.0000000+00:00",
            "end": "2025-01-31T23:59:59.0000000+00:00"
          },
          "price": {
            "amount": 1000,
            "amountIncludingVat": 1140,
            "discountAmount": 15,
            "lineAmount": 950,
            "purchaseCurrencyCode": "text",
            "purchaseCurrencyFactor": 1,
            "purchasePrice": 10,
            "purchasePriceLcy": 200,
            "purchasePriceTotal": 100,
            "purchasePriceTotalLcy": 2000,
            "quantity": 1,
            "salesMarkup": 10,
            "salesMargin": 15,
            "unitPrice": 1,
            "vatBaseAmount": 100,
            "vatCalculationType": 1,
            "vatPercent": 1
          }
        }
      ]
    }
  ]
}

Last updated

Was this helpful?