- 0 minutes to read

7. Order Invoiced

Step Overview

Step 7 is the final step in the Order-to-Cash process. The invoice is generated in the Finance system and represents the completion of the entire order lifecycle. This step triggers accounts receivable processes and customer billing.

Message Details

  • Message Type: O2C.Order.Invoice/1.0
  • Domain: Finance
  • System: ERP-Finance
  • Service: INV-Order-Invoiced
  • Direction: Send (Outgoing from Finance)
  • Format: JSON
  • Log Status: 0 (Success) for issued invoice, -1337 if invoicing fails
  • Timing: Typically 1-5 days after Order Delivered

Business Data (Happy Path)

Same customer and product data:

  • Order ID: ORD-10001 (same as source order)
  • Customer ID: CUST-001
  • Product SKU: SKU-DEMO-001
  • Quantity: 1
  • Order Total: USD 99.95

Sample JSON Message

This is the raw message payload that would be base64-encoded in the Log Event Body field.

{
  "invoiceId": "INV-2025-10001",
  "orderId": "ORD-10001",
  "customerId": "CUST-001",
  "customerName": "Acme Corporation",
  "customerEmail": "orders@acme.example.com",
  "invoiceDate": "2025-10-21T09:15:00Z",
  "dueDate": "2025-11-20",
  "paymentTerms": "NET30",
  "invoiceStatus": "ISSUED",
  "invoiceItems": [
    {
      "lineNumber": 1,
      "description": "Demo Widget",
      "sku": "SKU-DEMO-001",
      "quantity": 1,
      "unitPrice": 99.95,
      "lineTotal": 99.95,
      "taxCode": "STANDARD",
      "taxRate": 0.0,
      "taxAmount": 0.0
    }
  ],
  "subtotal": 99.95,
  "taxTotal": 0.0,
  "shippingCharge": 0.0,
  "invoiceTotal": 99.95,
  "currency": "USD",
  "paymentMethod": "INVOICE",
  "purchaseOrder": "PO-2025-10001",
  "trackingNumber": "TRK-20251016-0001",
  "gl_account": "4100-Sales-Revenue",
  "revenue_recognition_date": "2025-10-20"
}

Nodinite Log Event (JSON formatted)

This step creates a Log Event sent to the Nodinite Log API. Refer to Log Event Reference for the complete Log Event structure and field definitions.

Context Properties (Business Data)

{
  "FileName": "ORD-10001-invoice.json",
  "OrderNumber": "ORD-10001",
  "CustomerId": "CUST-001",
  "CustomerName": "Acme Corporation",
  "OrderAmount": "99.95",
  "InvoiceId": "INV-2025-10001",
  "InvoiceDate": "2025-10-21T09:15:00Z",
  "DueDate": "2025-11-20",
  "PurchaseOrder": "PO-2025-10001",
  "ExtendedProperties/1.0#RepositoryBinding": "..."
}

Key Points for Step 7

  1. Finance Domain Entry: First and only involvement of Finance domain system (ERP-Finance)
  2. Revenue Recognition: Includes GL account and revenue recognition date for accounting compliance
  3. Complete Order Closure: This final step closes the order-to-cash cycle
  4. Cross-Domain Closure: Finance domain (Index 3, Step 6) receives delivery proof from Logistics to initiate billing
  5. Payment Terms: DueDate and PaymentTerms establish accounts receivable expectations
  6. Complete BPM Journey: All 4 domains and 7 steps now visualized with connectors
  7. Correlation Completed: Same Correlation ID completes the full traceability chain

Order-to-Cash Journey Summary

Step Domain System Message Type Duration Cumulative
1 Sales Portal O2C.Order.Received/1.0 T+0 0 min
2 Planning ERP O2C.Order.Entry/1.0 T+3 3 min
3 Sales Portal O2C.Order.Confirmation/1.0 T+7 7 min
4 Planning ERP O2C.Order.Scheduled/1.0 T+23 23 min
5 Logistics WMS O2C.Order.Ready/1.0 T+2880 2 days
6 Logistics WMS O2C.Order.Shipped/1.0 T+5760 4 days
7 Finance ERP-Finance O2C.Order.Invoice/1.0 T+6240 4.3 days

Total Journey Time: ~4.3 days from order reception to invoice issuance.