Crego Platform
  1. Invoice
Crego Platform
  • Authentication
    • Login
      POST
    • Refresh JWT Token
      POST
  • Contact
    • ContactRelation
      • List Contact Relations
      • Create Contact Relation
      • Get Contact Relation
      • Update Contact Relation
      • Delete Contact Relation
    • List Contacts
      GET
    • Create Contact
      POST
    • Get Contact Details
      GET
    • Update Contact
      PUT
    • Partially Update Contact
      PATCH
    • Delete Contact
      DELETE
    • Get Current User Contact
      GET
    • Update Current User Contact
      PATCH
    • Activate Contact
      PUT
    • Deactivate Contact
      PUT
  • Payment
    • List Payments
      GET
    • Process Payment
      POST
    • Settle Payment
      POST
    • Refund Payment
      POST
    • Get Payment Settlement Details
      GET
  • Payout
    • List Payouts
    • Process Payout
  • Flow
    • Upload File
    • Create Runner
  • PurchaseOrder
    • List Purchase Orders
    • Create Purchase Order
    • Retrieve Purchase Order
    • Update Purchase Order
    • Delete Purchase Order
    • Bulk Actions on Purchase Orders
    • Submit PO for Verification
    • Verify Purchase Order
    • Approve Purchase Order
    • Reject Purchase Order
    • Cancel Purchase Order
    • Fulfill Purchase Order
    • Close Purchase Order
    • Activate Purchase Order
    • Deactivate Purchase Order
  • Drawdown
    • DrawdownItem
      • List Drawdown Items
      • Create Drawdown Item
      • Retrieve Drawdown Item
      • Update Drawdown Item
      • Delete Drawdown Item
    • List Drawdowns
    • Create Drawdown
    • Retrieve Drawdown
    • Update Drawdown
    • Delete Drawdown
    • Submit Drawdown for Approval
    • Approve Drawdown
    • Reject Drawdown
    • Cancel Drawdown
    • Deactivate Invoice
  • Invoice
    • List Invoices
      GET
    • Create Invoice
      POST
    • Retrieve Invoice
      GET
    • Update Invoice
      PATCH
    • Delete Invoice
      DELETE
    • Bulk Actions on Invoices
      PUT
    • Submit Invoice for Verification
      POST
    • Verify Invoice
      POST
    • Approve Invoice
      POST
    • Reject Invoice
      POST
    • Cancel Invoice
      POST
    • Settle Invoice
      POST
    • Activate Invoice
      PUT
  • Lending
    • LoanAccount
      • List Loan Accounts
      • Create Loan Account
      • Retrieve Loan Account
      • Update Loan Account
      • Delete Loan Account
      • Request Loan
    • GroupAccount
      • List Group Accounts
      • Create Group Account
      • Retrieve Group Account
      • Update Group Account
      • Delete Group Account
    • Demand
      • List Demands
      • Get Demand
      • Get Demand Summary
    • ComponentGLMapping
      • List Component GL Mappings
      • Get Component GL Mapping
    • Ledger
      • List Ledgers
      • Get Ledger
    • Limit
      • List Limits
      • Create Limit
      • Get Limit
      • Update Limit
      • Delete Limit
    • Config
      • List Configs
      • Create Config
      • Get Config
      • Update Config
      • Delete Config
    • Account
      • AccountContactRelation
        • List Account Contact Relations
        • Create Account Contact Relation
        • Get Account Contact Relation
        • Update Account Contact Relation
        • Delete Account Contact Relation
      • List Accounts
      • Create Account
      • Get Account
      • Update Account
      • Partial Update Account
      • Delete Account
      • Bulk Actions on Accounts
  • Schemas
    • GroupPermissionRequest
    • Product
    • User5
    • OverdueLoansResponse
    • TrialBalanceRequest
    • ValidationErrorResponse
    • Task
    • BulkActionResponse8
    • TrialBalanceResponse
    • AuditLog
    • NameSpace
    • JournalVoucherLineBase
    • Setting
    • NameSpaceCreate
    • JournalVoucherLineCreate
    • HealthCheck
    • PaginatedNameSpaces
    • JournalVoucherLine
    • Contact9
    • JournalVoucherBase
    • ContactCreate
    • JournalVoucherCreate
    • ContactUpdate
    • JournalVoucherUpdate
    • PaginatedContacts
    • JournalVoucher
    • ContactAddress
    • PaginatedJournalVoucherList
    • ContactAddressCreate
    • TaxMasterBase
    • ContactBank
    • TaxMasterCreate
    • ContactBankCreate
    • TaxMasterUpdate
    • Product10
    • TaxMaster
    • ProductCreate
    • PaginatedTaxMasterList
    • PaginatedProducts
    • TaxTransaction
    • Component
    • PaginatedTaxTransactionList
    • Transaction11
    • FinancialPeriodBase
    • Payment
    • FinancialPeriodCreate
    • Payout
    • FinancialPeriodUpdate
    • Workflow12
    • FinancialPeriod
    • Schedule
    • PaginatedFinancialPeriodList
    • Report
    • PostingBatchCreate
    • AuditLog13
    • PostingBatchItem
    • PostingBatch
    • PostingBatchSummary
    • PaginatedPostingBatchList
    • PaginatedPostingBatchItemList
    • Branch
    • Program
    • ProgramPartner
    • AccountContactRelation
    • ContactRelation
    • Category
    • Storage
    • DocumentShare
    • Review
    • PeriodicTask
    • Config
    • Limit
    • Ledger
    • ComponentGLMapping
    • Demand
    • GeneratedReport
    • WorkbookOperation
    • Invoice
    • InvoiceCreate
    • InvoiceUpdate
    • DrawdownItem
    • GLEntry
  1. Invoice

Submit Invoice for Verification

POST
/invoices/{id}/submit_verification/
Submit an invoice for verification. Changes status from draft to pending_verification.

Request

Authorization
Basic Auth
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
or
Path Params

Responses

🟢200OK
application/json
Invoice submitted for verification
Body

🟠400Bad Request
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://demo.preprod.crego.ai/flow/api/invoices//submit_verification/' \
--header 'Authorization: Basic <encoded-value>'
Response Response Example
200 - Example 1
{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "ref_id": "string",
    "invoice_number": "string",
    "total_amount": 0,
    "financed_amount": 0,
    "available_amount": 0,
    "tax_amount": 0,
    "invoice_date": "2019-08-24",
    "due_date": "2019-08-24",
    "program": "9d904916-95ab-4cd6-a597-6e333dcf718f",
    "seller": "23114950-7589-4733-93df-bd447b3d8b32",
    "buyer": "720848cf-de0c-4355-87e9-070272f1053c",
    "anchor": "26d61dc1-ac8f-449d-af9f-07ef205adb1e",
    "purchase_order": "94a9570d-82e2-4a81-b165-8cff67d9c735",
    "status": "draft",
    "verified_at": "2019-08-24T14:15:22.123Z",
    "verified_by": "8c493be0-efe2-4a3e-bdbd-7af0eab50aa2",
    "tags": [
        "string"
    ],
    "refs": {},
    "narration": "string",
    "created_at": "2019-08-24T14:15:22.123Z",
    "updated_at": "2019-08-24T14:15:22.123Z"
}
Modified at 2026-01-22 17:32:02
Previous
Bulk Actions on Invoices
Next
Verify Invoice
Built with