Invoice

Facture Proforma

Description

Facture proforma

Job : InvoiceStream

Odoo : Oui

Invoice

{
    {
        "id": "string",
        "name": "string",
        "status": "string",
        "state": "string",
        "stateDetail": {
            "proforma": {
                "name": "string",
                "created": "datetime",
                "userId": "string",
                "odooId": {
                    "odooId": "string",
                    "cinemaId": "string"
                }
            },
            "invoice": {
                "name": "string",
                "created": "datetime",
                "userId": "string",
                "odooId": {
                    "odooId": "string",
                    "cinemaId": "string"
                }
            }
        },
        "companyId": "string",
        "customerId": "string",
        "payment": {
            "totalHT": "bigdecimal",
            "totalExact": "bigdecimal",
            "totalWithTaxReal": "bigdecimal",
            "totalRemaining": "bigdecimal",
            "paymentDetails": [
                        {
                            "datePayment": "datetime",
                            "paymentMethod": "PaymentMethod",
                            "amount": "bigdecimal",
                            "totalPaid" : "bigdecimal",
                            "bankId": "string"
                        }
                    ],
            "taxesDetails": [
                {
                    "tax": {
                        "amount": "bigdecimal",
                        "amountType": "AccountTaxAmountType",
                        "priceInclude": "boolean",
                        "odooId": {
                            "cinemaId": "string",
                            "odooId": "number"
                        },
                        "description": "string",
                        "taxGroupId": "string",
                        "typeTaxUse": "string",
                        "accountId": "string",
                        "refundAccountId": "string"
                    },
                    "amountHT": "bigdecimal",
                    "taxAmountExact": "bigdecimal",
                    "taxAmountReal": "bigdecimal",
                }
            ]
        },
        "lines": [
            {
                "id": "string",
                "name": "string",
                "type": "",
                "prepaidLotId": "string",
                "amountRealHT": "bigdecimal",
                "amountUnitHT": "bigdecimal",
                "quantity": "number",
                "productId": "string",
                "taxes": {
                    "tax": {
                        "amount": "bigdecimal",
                        "amountType": "AccountTaxAmountType",
                        "priceInclude": "boolean",
                        "odooId": {
                            "cinemaId": "string",
                            "odooId": "number"
                        },
                        "description": "string",
                        "taxGroupId": "string",
                        "typeTaxUse": "string",
                        "accountId": "string",
                        "refundAccountId": "string"
                    },
                    "amountHT": "bigdecimal",
                    "taxAmountExact": "bigdecimal",
                    "taxAmountReal": "bigdecimal",
                }
            }
        ]
    }
}