Amili Docs
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
  1. send
  • About
  • Invoice API
    • send
      • Add a new B2B EHF/PEPPOL creditnote
        POST
      • Add a new B2B EHF/PEPPOL invoice
        POST
      • Add a new B2C invoice
        POST
      • Add a new B2C letter
        POST
      • Add a new B2C Swedish invoice
        POST
      • Add a new B2C Danish invoice
        POST
      • Check invoice status
        GET
      • Check invoice status
        POST
    • lookup
      • Get invoice lookup link
    • organization
      • Add a new company
      • Check company status
    • bankAgreement
      • Register new bank agreement
      • Check status of bank agreement
  • Partner API
    • Companies
      • Get available companies
    • Files
      • List all bundles/files within a specific period with FromDate/ToDate and CompanyId
      • Get a summary of all bundles/files within a specific period with FromDate/ToDate and CompanyId
      • List invoices based on filename
    • Invoice
      • Get a summary of all invoices within a specific period with FromDate/ToDate and CompanyId
    • Invoices
      • List invoices based on InvoiceNumber or specific DateTime (period)
    • InvoiceView
      • Look up invoice with TransactionRid and CompanyId
      • Look up invoice with InvoiceNumber and CompanyId
    • Receipt
      • Get receipt for invoice with TransactionRid and CompanyId
    • Token
      • Request a token.
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
  1. send

Check invoice status

POST
/send/pstatus
Check invoice status by using invoice identifier or invoice number. The response returns two types of status:
Request status - related to the request.
1 - New : request accepted, but the invoice has not yet been sent to the system.
2 - Pending : the invoice is placed in the queue.
3 - Completed : the invoice processing is completed. Please check invoice (transaction) data and its status for more details.
Invoice (transaction) status - related to the invoice after processing.
OK : the invoice was sent or was stored successfully.
Pending : the invoice is waiting for receipt or response from third party.
Failed : the invoice couldn't be sent. Check logtext for more details.
Handled - the invoice was handled by Compello Support team.

Request

Body Params application/jsonRequired

Examples

Responses

🟢200OK
application/json
successful operation
Body

🟠400Bad Request
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/send/pstatus' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
200 - Example 1
{
    "ReceiptId": "string",
    "Filename": "string",
    "InvoiceData": "string",
    "Received": "string",
    "Status": 0,
    "Transaction": {
        "TransactionRid": 0,
        "LogTime": "string",
        "DeliveryTime": "string",
        "Status": "string",
        "Company": "string",
        "Channel": "string",
        "RequestedChannel": "string",
        "ActualChannel": "string",
        "Direction": "string",
        "InvoiceType": "string",
        "InvoiceNumber": "string",
        "Filename": "string",
        "LogText": "string",
        "InvoiceeName": "string",
        "InvoiceDate": "string",
        "DueDate": "string",
        "Amount": 0,
        "AmountExVat": 0,
        "KID": "string",
        "ChannelStatus": "string",
        "ChannelUpdateTime": "string",
        "CorrelationStatus": ""
    },
    "InvoiceLink": "string"
}
Modified at 2025-09-23 11:10:15
Previous
Check invoice status
Next
Get invoice lookup link
Built with