1. Invoice Service
Cash-In API
  • Introduction
  • Access tokens
  • Environments
  • Errors
  • Contact us
  • Resources
    • Services
    • Invoice Intermediation service
    • Invoice Lifecycle service
    • Debt Collection service
    • Debt Collection process
    • Confirma Software Partner services
  • Authorization
    • Authentication and authorization of the user
    • Validate token
    • Renew token
  • Collection & Payment Control
    • Create Collection Cases
    • Update Collection Receivables
    • Retrieve Collection Receivables Status
    • Retrieve Case Batch Status
    • Retrieve collection case
    • Retrieve debtor summary
    • Retrieve list of settlements
    • Retrieve settlement data
    • Retrieve list of direct settlements
    • Retrieve direct settlement data
    • Retrieve Credit Loss Receivables
  • Invoice Intermediation
    • Invoice Service
      • Create an invoice
        POST
      • Create an invoice with seller information
        POST
      • Submit a batch of sales invoices
        POST
      • List batch uploads and export lines
        GET
      • List all sales invoices
        GET
      • Retrieve invoice delivery information
        GET
      • Retrieve invoice status
        GET
      • Update an invoice
        PUT
      • Submit payment for an invoice
        POST
      • Retrieve delivery statistics
        GET
      • Retrieve received payments
        GET
      • Submit update to Finvoice Account
        PUT
      • Retrieve electronic invoicing contracts
        GET
    • Product Management
      • List all products
      • Submit new products
      • Delete an product
    • Customer Management
      • List all customers
      • Submit new customers
      • Update an customer
      • Delete an customer
    • External invoices
      • Retrieve delivery information
      • Retrieve payment information
      • Create an direct payment
      • Submit an invoice action
      • Retrieve status of the agreement
  • Confirma Software Partners
    • Submit new creditor
    • Update creditor
    • Retrieve creditor credentials
    • Retrieve External Agreement Identifiers
    • Retrieve invoice delivery information by seller
    • Send SMS message
  • Document Print Service
    • Create meter reading documents
  • Schemas
    • BatchDataResponse
    • SalesInvoiceBatchResponse
    • OnlineInvoiceBatchProcedureOutcomeDto
    • OnlineInvoiceBatchListResponse
    • OnlineInvoiceBatchListItemDto
    • OnlineInvoiceBatchExportLineDto
    • BatchInvoices
    • SalesInvoice
    • BatchInvoicesList
    • BatchStatus
    • Case
    • CaseInvoiceExtended
    • CaseList
    • CaseSummary
    • CollectionResponse
    • ContactPerson
    • CreditLossReceivable
    • Creditor
    • CreditorData
    • CreditorDetails
    • CreditorIdentifiers
    • CreditorResponse
    • CreditorUpdateData
    • CreditorUpdateDetails
    • CreditorUpdateResponse
    • CustomParameters
    • Debtor
    • DirectSettlementList
    • DirectSettlementRows
    • DirectSettlements
    • DocumentCustomer
    • DocumentResponse
    • ElectronicInvoicingContracts
    • ErrorMessage
    • ExternalAgreementIdentifiers
    • ExternalAgreementStatusResponse
    • ExternalInvoice
    • ExternalInvoiceActions
    • ExternalInvoiceRows
    • FinvoiceAccountUpdate
    • FinvoiceAccountUpdateResponse
    • IntegrationsAccountingLedgerData
    • IntermediationInvoiceDirectPaymentResponse
    • IntermediationInvoiceDirectPayments
    • IntermediatorInvoice
    • Invoice
    • InvoiceActionResponse
    • InvoicePaymentsResponse
    • InvoicesDeliveryInformation
    • LedgerRowDimensions
    • LedgerRows
    • Ledgers
    • Messages
    • MeterCompany
    • MeterDocument
    • MeterDocumentList
    • MeterReading
    • MeterUsageLocation
    • NxsReceivedPayments
    • OnlineCustomer
    • OnlineCustomerResponse
    • OnlineCustomerUpdateResponse
    • OnlineInvoicePaymentControl
    • OnlineProduct
    • OnlineSalesInvoices
    • PagedSalesInvoicesResponse
    • Payment
    • Receivable
    • ReceivablesList
    • ReceivedPaymentRows
    • ReceivedPayments
    • ReceivedPaymentsResponse
    • RenewResponse
    • SalesAddressDTO
    • SalesInvoiceBatchResponse
    • SalesInvoicePayment
    • SalesInvoiceResponse
    • SalesInvoiceRow
    • SalesInvoiceUpdate
    • SalesInvoiceUpdateResponse
    • SalesInvoiceWithSellerInfoDTO
    • SalesItemResponse
    • SalesItems
    • SellerInfoDTO
    • Settlement
    • SettlementList
    • SettlementRows
    • SmsData
    • SmsDeliveryReport
    • SmsResponse
    • ValidationResponse
    • ViewOnlineInvoiceDeliveryStats
  1. Invoice Service

List batch uploads and export lines

GET
https://api.cash-in.com/v2/batchsalesinvoices
Returns batches for the authenticated customer, with per-line status and export outcome.

Request

Authorization
API Key
Add parameter in header
X-Api-Key
Example:
X-Api-Key: ********************
or
Query Params

Responses

🟢200
application/json
List of batches (may be empty).
Body

🟠401
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.cash-in.com/v2/batchsalesinvoices?batchId' \
--header 'X-Api-Key: <api-key>'
Response Response Example
200 - Example 1
{
    "Batches": [
        {
            "BatchId": 0,
            "CustomerCode": 0,
            "ImportDate": "2019-08-24T14:15:22.123Z",
            "ExportDate": "2019-08-24T14:15:22.123Z",
            "BatchStatus": 0,
            "BatchStatusDescription": "string",
            "QtyInvoices": 0,
            "ExportLines": [
                {
                    "LineIndex": 0,
                    "InvoiceNumber": 0,
                    "Status": "string",
                    "CreatedAt": "2019-08-24T14:15:22.123Z",
                    "ExportedAt": "2019-08-24T14:15:22.123Z",
                    "InvId": 0,
                    "ErrorMessage": "string"
                }
            ],
            "ExportOutcome": {
                "ProcedureStatus": "string",
                "SubmittedInvoiceCount": 0,
                "UploadedInvoicesCount": 0,
                "FailedInvoicesCount": 0,
                "HadPartialFailures": true,
                "ProcedureStatusDescription": "string",
                "FailedInvoicesDetail": "string",
                "RawMessage": "string"
            }
        }
    ]
}
Previous
Submit a batch of sales invoices
Next
List all sales invoices
Built with