An invoice is a document issued by a seller to a buyer, outlining products or services provided and payment details, essential for financial transactions and record-keeping.

API Upload

The type parameter is invoice for the upload endpoint.


Field Descriptions:

The model automatically detects data such as:

Section NameField NameTypeDescription
Basic InformationInvoice NumberStringInvoice number
Basic InformationIssue DateDateInvoice issue date
Basic InformationTermsStringInvoice payment terms
Basic InformationOrder Id/Tracking NoStringOrder ID or tracking number
Basic InformationInvoice TypeStringCategory of the invoice being processed
Basic InformationDue DateDateDate on which the Invoice is due
Seller DetailNameStringSeller's name
Seller DetailAddressStringSeller's address
Seller DetailGST/ VAT NumberStringSeller's GST or VAT number
Seller DetailAccount NumberStringAccount Number of the Seller
Buyer DetailNameStringBuyer's name
Buyer DetailAddressStringBuyer's address
Buyer DetailGST/ VAT NumberStringBuyer's GST or VAT number
Buyer DetailAccount NumberStringAccount Number of the Buyer
GST & AmountSubtotalNumberInvoice subtotal amount
GST & AmountTax RateNumberTax rate applied to the invoice
GST & AmountTax TotalNumberTotal tax amount on the invoice
GST & AmountTotal DueNumberTotal amount due on the invoice
GST & AmountCurrencyStringCurrency of the Invoice
TableLine ItemsTableList of line items in the invoice
Line ItemDescriptionStringDescription of the line item
Line ItemHSNStringHSN (Harmonized System of Nomenclature) code
Line ItemQuantityNumberQuantity of the line item
Line ItemUnit PriceNumberUnit price of the line item
Line ItemTax Rate LineNumberTax rate applied to the line item
Line ItemSubtotal LineNumberSubtotal amount for the line item
PaymentAccount NameStringName of the bank account
PaymentAccount NumberNumberNumber of the bank account
PaymentBank AddressStringAddress of the bank
PaymentBank NameStringName of the bank
PaymentIBANStringInternational Bank Account Number
PaymentRoute NumberStringBank routing number
PaymentSwiftStringSWIFT/BIC code of the bank
NotesDelivery NotesStringNotes regarding the delivery

Coverage

  • Majority of world

The model might also work with other countries. You can use this as a base model or train your own new model using just 50 samples. Here are the details:

Version

  • 1.5.0

Sample

Sample JSON Output

{
       "data": {
            "Basic Information": {
                "Invoice Number": {
                    "value": "2020",
                    "position": [
                        1311,
                        436,
                        1357,
                        459
                    ],
                    "confidence": 1.0,
                    "review_required": false
                },
                "Issue Date": {
                    "value": "13/12/2020",
                    "position": [
                        1311,
                        474,
                        1424,
                        497
                    ],
                    "confidence": 1.0,
                    "review_required": false
                },
                "Terms": {
                    "value": "Due upon recipt",
                    "position": [
                        1311,
                        515,
                        1464,
                        538
                    ],
                    "confidence": 1.0,
                    "review_required": false
                },
                "Order Id/Tracking No": {
                    "value": "",
                    "position": [],
                    "confidence": 1.0,
                    "review_required": false
                }
            },
            "Seller Detail": {
                "Name": {
                    "value": "XYZ COMPANY PVT LTD",
                    "position": [
                        105,
                        311,
                        375,
                        338
                    ],
                    "confidence": 1.0,
                    "review_required": false
                },
                "Address": {
                    "value": "Texas, USA",
                    "position": [
                        105,
                        349,
                        218,
                        375
                    ],
                    "confidence": 1.0,
                    "review_required": false
                },
                "GST/ VAT Number": {
                    "value": "",
                    "position": [],
                    "confidence": 1.0,
                    "review_required": false
                }
            },
            "Buyer Detail": {
                "Name": {
                    "value": "ABC COMPANY PVT LTD",
                    "position": [
                        105,
                        565,
                        379,
                        593
                    ],
                    "confidence": 1.0,
                    "review_required": false
                },
                "Address": {
                    "value": "Texas, USA",
                    "position": [
                        105,
                        606,
                        218,
                        631
                    ],
                    "confidence": 1.0,
                    "review_required": false
                },
                "GST/ VAT Number": {
                    "value": "",
                    "position": [],
                    "confidence": 1.0,
                    "review_required": false
                }
            },
            "GST & Amount": {
                "Subtotal": {
                    "value": 165000.0,
                    "position": [
                        1432,
                        1140,
                        1548,
                        1165
                    ],
                    "confidence": 1.0,
                    "review_required": false
                },
                "Tax Rate": {
                    "value": 13.0,
                    "position": [
                        1484,
                        1187,
                        1548,
                        1213
                    ],
                    "confidence": 1.0,
                    "review_required": false
                },
                "Tax Total": {
                    "value": 21450.0,
                    "position": [
                        1445,
                        1235,
                        1548,
                        1260
                    ],
                    "confidence": 1.0,
                    "review_required": false
                },
                "Total Due": {
                    "value": 186450.13,
                    "position": [
                        1432,
                        1283,
                        1548,
                        1308
                    ],
                    "confidence": 1.0,
                    "review_required": false
                }
            },
            "Table": {
                "Line Items": [
                    {
                        "Description": {
                            "value": "Cost of Development",
                            "position": [
                                105,
                                805,
                                326,
                                831
                            ],
                            "confidence": 1.0,
                            "review_required": false
                        },
                        "HSN": {
                            "value": "",
                            "position": [],
                            "confidence": 1.0,
                            "review_required": false
                        },
                        "Quantity": {
                            "value": 1.0,
                            "position": [
                                1072,
                                805,
                                1085,
                                831
                            ],
                            "confidence": 1.0,
                            "review_required": false
                        },
                        "Unit Price": {
                            "value": 50000.0,
                            "position": [
                                1234,
                                805,
                                1298,
                                831
                            ],
                            "confidence": 1.0,
                            "review_required": false
                        },
                        "Tax Rate Line": {
                            "value": "",
                            "position": [],
                            "confidence": 1.0,
                            "review_required": false
                        },
                        "Subtotal Line": {
                            "value": 50000.0,
                            "position": [
                                1484,
                                805,
                                1548,
                                831
                            ],
                            "confidence": 1.0,
                            "review_required": false
                        }
                    },
              
                ]
            }
        }
    }