Skip to content

Examples and guides for using the OpenAI API

5.9 KB
Raw Blame
[
    {
        "hotel_information": {
            "name": "Hampton by Hilton Hamburg City Centre",
            "address": "Nordkanalstrasse 18, 20097 Hamburg",
            "phone": "+49(0)40-302372-0",
            "fax": "+49(0)40-302372-100"
        },
        "guest_information": {
            "company": "APIMEISTER CONSULTING GMBH",
            "address": "FRIEDRICHSTR 123, 10117 BERLIN, GERMANY",
            "name": "JENS WALTER"
        },
        "invoice_information": {
            "vat_invoice": "26846",
            "confirmation_number": "81134041",
            "invoice_date": "23/08/2019 09:20:00",
            "vat_number": "DE259895636",
            "folio_number": "119062 A"
        },
        "stay_information": {
            "room_number": "707 /NUDX",
            "arrival_date": "19/08/2019 17:55:00",
            "departure_date": "23/08/2019",
            "adults_children": "1/0",
            "room_rate": "129.00",
            "rate_plan": "2GQ"
        },
        "charges": [
            {
                "date": "19/08/2019",
                "description": "Advance Deposit MC *5052",
                "cashier_id": "TARO",
                "ref_no": "396235",
                "guest_charges": null,
                "credit": "€516.00",
                "balance": "-€516.00"
            },
            {
                "date": "19/08/2019",
                "description": "ADVANCED DEPOSIT DEBIT",
                "cashier_id": "TARO",
                "ref_no": "396235",
                "guest_charges": "€516.00",
                "credit": null,
                "balance": "€0.00"
            },
            {
                "date": "19/08/2019",
                "description": "ADVANCED DEPOSIT CREDIT",
                "cashier_id": "TARO",
                "ref_no": "396237",
                "guest_charges": null,
                "credit": "-€516.00",
                "balance": "-€516.00"
            },
            {
                "date": "19/08/2019",
                "description": "GUEST ROOM",
                "cashier_id": "MACH",
                "ref_no": "396065",
                "guest_charges": "€124.05",
                "credit": null,
                "balance": "-€391.95"
            },
            {
                "date": "19/08/2019",
                "description": "BREAKFAST",
                "cashier_id": "MACH",
                "ref_no": "396655",
                "guest_charges": "€4.95",
                "credit": null,
                "balance": "-€396.90"
            },
            {
                "date": "20/08/2019",
                "description": "GUEST ROOM",
                "cashier_id": "MACH",
                "ref_no": "396777",
                "guest_charges": "€134.05",
                "credit": null,
                "balance": "-€530.95"
            },
            {
                "date": "20/08/2019",
                "description": "BREAKFAST",
                "cashier_id": "MACH",
                "ref_no": "396777",
                "guest_charges": "€4.95",
                "credit": null,
                "balance": "-€535.90"
            },
            {
                "date": "21/08/2019",
                "description": "GUEST ROOM",
                "cashier_id": "MACH",
                "ref_no": "397412",
                "guest_charges": "€124.05",
                "credit": null,
                "balance": "-€659.95"
            },
            {
                "date": "21/08/2019",
                "description": "BREAKFAST",
                "cashier_id": "MACH",
                "ref_no": "397412",
                "guest_charges": "€4.95",
                "credit": null,
                "balance": "-€664.90"
            },
            {
                "date": "22/08/2019",
                "description": "GUEST ROOM",
                "cashier_id": "MACH",
                "ref_no": "397699",
                "guest_charges": "€114.05",
                "credit": null,
                "balance": "-€778.95"
            }
        ]
    },
    {
        "hotel_information": {
            "name": "Hampton by Hilton Hamburg City Centre",
            "address": "Nordkanalstrasse 18, 20097 Hamburg",
            "phone": "+49(0)40-302372-0",
            "fax": "+49(0)40-302372-100"
        },
        "guest_information": {
            "company": "APMEISTER CONSULTING GMBH",
            "address": "DREIDRICHSTR 123, 10117 BERLIN, GERMANY",
            "name": "JENS WALTER",
            "confirmation_number": "81134041"
        },
        "invoice_information": {
            "VAT_invoice": "28646",
            "VAT": "DE259895636",
            "folio_no_che": "119562A"
        },
        "stay_information": {
            "room_no": "707",
            "arrival_date": "19/08/2019 17:55:00",
            "departure_date": "23/08/2019",
            "adults/children": "1/0",
            "room_rate": "120.00",
            "rate_plan": "2G2",
            "AL": "H"
        },
        "charges": [
            {
                "date": "22/08/2019",
                "description": "BREAKFAST",
                "cashier_id": "MACH",
                "ref_no": "3979690",
                "guest_charges": "4.95",
                "credit": null,
                "balance": null
            }
        ],
        "balance": "0.00",
        "tax_summary": {
            "trade_receivable_net_19%": "€16.64",
            "trade_receivable_net_7%": "€0.00",
            "trade_receivable_net_7.00%": "€443.73",
            "VAT_at_19%": "€3.16",
            "F&B_VAT_7%": "€0.00",
            "VAT_at_7%": "€32.47",
            "trade_receivables_incl_VAT": "€516.00"
        },
        "approval_amount": "€516.00",
        "transaction_id": "390235",
        "appr_code": "277397",
        "balance_amount": "-€516.00",
        "guest_signature": "Debit related webpage",
        "thank_you_note": "THANK YOU FOR STAYING WITH US!"
    }
]