Confirma Finance Integrations API
    • Introduction
    • Authentication
    • Environments
    • Data validation
    • Contact information
    • Go Live & Deployment Guide
    • Services
      • Services
      • Invoice Intermediation service
      • Invoice Lifecycle service
      • Debt Collection services
      • Accounting integrations
      • Print and Distribution service
        • Overview
      • Operations
        • Overview
    • Core endpoints
      • Onboarding
        • Introduction to onboarding
        • Create a new client
        • Validate access token
        • Renew access token
      • Invoices
        • Introduction to Invoices
        • Create an invoice
        • Create an Invoice Action
        • Retrieve case details
        • Retrieve distribution Information
        • Retrieve distribution Information MV v2
      • Payments
        • Introduction to Payments
        • Retrieve Payments
        • Retrieve settlements
      • Accounting
        • Introduction to accounting
        • Invoice
          • Invoice
        • Ledger
          • Ledger
          • Ledger
        • Payment
          • Payment
          • Payment
      • Operations
        • Retrieve Finvoice Credentials
    • Schemas
      • Finvoice Credentials Response
      • Invoice Header object
      • Invoice Parties
      • Invoice Attachments
      • InvoiceExtensions
      • Client Settings
      • Accounting
      • Address
      • BuyerParty
      • Collection
      • Collection Costs
      • Collection Interest
      • Contact
      • Contact Person
      • Definition Detail
      • Delivery Party
      • Distribution
      • Factoring
      • Interest
      • InvoiceAmounts
      • Invoice Content Data
      • Invoice Recipient Party
      • InvoiceReferences
      • InvoiceRowData
      • InvoiceTerms
      • PaymentData
      • Payment Details
      • PaymentState
      • PaymentTerms
      • Processing
      • SalesInvoiceRequest
      • Seller Party
    Need help?

    Sales Invoice Request Payload(SalesInvoiceRequest)

    Request payload for partner invoice lifecycle endpoints.

    {
        "processing": {
            "paymentControlEnabled": true,
            "manualApprovalEnabled": false,
            "accountingInvoiceEnabled": false,
            "showProductCodeEnabled": true
        },
        "distribution": {
            "method": "EMAIL",
            "enabled": true
        },
        "invoice": {
            "header": {
                "number": 0,
                "type": null,
                "date": "2019-08-24",
                "dueDate": "2019-08-24",
                "description": "string",
                "additionalInformation": "string",
                "currencyCode": "EUR",
                "languageCode": "FI"
            },
            "references": {
                "sales": "string",
                "buyer": "string",
                "orderNumber": "string",
                "orderDate": "2019-08-24",
                "agreement": "string",
                "payment": "string",
                "electronicPaymentCode": "string",
                "creditedInvoiceNumber": 1
            },
            "parties": {
                "sellerParty": {
                    "businessId": "string",
                    "name": "string",
                    "vatCode": "string",
                    "address": {
                        "street": "string",
                        "street2": "string",
                        "street3": "string",
                        "postalCode": "00100 (Helsinki)",
                        "postalDistrict": "string",
                        "countryCode": "string",
                        "countryName": "string"
                    },
                    "contact": {
                        "contactPerson": {
                            "name": "string",
                            "email": "user@example.com"
                        },
                        "email": "string",
                        "phone": "string"
                    },
                    "paymentDetails": {
                        "iban": "string",
                        "bic": "string",
                        "bankgiro": "string",
                        "postgiro": "string"
                    }
                },
                "buyerParty": {
                    "entityType": "string",
                    "name": "string",
                    "customerAccountId": "string",
                    "personalIdentityNumber": "string",
                    "businessId": "string",
                    "vatCode": "string",
                    "electronicInvoiceAccount": "string",
                    "electronicRoutingAddress": "string",
                    "glnNumber": "string",
                    "languageCode": "string",
                    "disableCollection": false,
                    "address": {
                        "street": "string",
                        "street2": "string",
                        "street3": "string",
                        "postalCode": "00100 (Helsinki)",
                        "postalDistrict": "string",
                        "countryCode": "string",
                        "countryName": "string"
                    },
                    "contact": {
                        "contactPerson": {
                            "name": "string",
                            "email": "user@example.com"
                        },
                        "email": "string",
                        "phone": "string"
                    }
                },
                "invoiceRecipientParty": {
                    "name": "string",
                    "businessId": "string",
                    "vatCode": "string",
                    "electronicInvoiceAccount": "string",
                    "electronicRoutingAddress": "string",
                    "glnNumber": "string",
                    "email": "user@example.com",
                    "languageCode": "string",
                    "address": {
                        "street": "string",
                        "street2": "string",
                        "street3": "string",
                        "postalCode": "00100 (Helsinki)",
                        "postalDistrict": "string",
                        "countryCode": "string",
                        "countryName": "string"
                    }
                },
                "deliveryParty": {
                    "name": "string",
                    "address": {
                        "street": "string",
                        "street2": "string",
                        "street3": "string",
                        "postalCode": "00100 (Helsinki)",
                        "postalDistrict": "string",
                        "countryCode": "string",
                        "countryName": "string"
                    }
                }
            },
            "terms": {
                "paymentTerms": {
                    "code": 0,
                    "description": "\"14 pv netto\""
                },
                "interest": {
                    "type": "REFERENCE_RATE",
                    "percentage": 0
                }
            },
            "amounts": {
                "netAmount": 0,
                "taxAmount": 0,
                "discountAmount": 0,
                "roundAmount": 0,
                "totalAmount": -1
            },
            "rows": [
                {
                    "rowId": 0,
                    "rowType": "TEXT",
                    "text": "string",
                    "freeTexts": [
                        "string"
                    ],
                    "productCode": "string",
                    "description": "string",
                    "quantity": 0,
                    "unitType": "KPL",
                    "unitPrice": 0,
                    "vatPercentage": 0,
                    "netAmount": 0,
                    "discountAmount": 0,
                    "discountPercentage": 0,
                    "roundAmount": 0,
                    "taxAmount": 0,
                    "totalAmount": 0,
                    "vatCalculationType": "NET",
                    "currencyCode": "EUR",
                    "eanCode": "string",
                    "serialNumber": "string",
                    "shippingDate": "2019-08-24",
                    "definitionDetails": [
                        {
                            "key": "string",
                            "definitionCode": "string",
                            "value": "string"
                        }
                    ],
                    "accounting": {
                        "accountNumber": 0,
                        "dimensionName": "string",
                        "dimensionValue": "string",
                        "projectNumber": "string"
                    }
                }
            ],
            "extensions": {
                "property1": "string",
                "property2": "string"
            },
            "definitionDetails": {
                "key": "string",
                "definitionCode": "string",
                "value": "string"
            },
            "attachments": {
                "type": "invoiceCopy",
                "method": "url",
                "mimeType": "application/pdf",
                "value": "string"
            },
            "accounting": {
                "accountNumber": 0,
                "dimensionName": "string",
                "dimensionValue": "string",
                "projectNumber": "string"
            }
        },
        "paymentState": {
            "paymentStatus": "NOTPAID",
            "paymentsAmount": 0,
            "outstandingAmount": 0
        },
        "payments": [],
        "factoring": {
            "paymentType": "FL",
            "issueDate": "2019-08-24"
        },
        "collection": {
            "interest": {
                "accruedAmount": 0
            },
            "costs": {
                "creditorCostsAmount": 0,
                "collectionFeesAmount": 0
            },
            "collectionAgency": "CASH-IN"
        },
        "accounting": {
            "accountNumber": 0,
            "dimensionName": "string",
            "dimensionValue": "string",
            "projectNumber": "string"
        }
    }
    Built with