Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Structure

Excerpt


FieldTypeRequiredDescription
ticketNumberstringtrueIdentifier of this Ticket. Please important use number, if the invoice is summary entry.
ticketSeriestringfalseSerie of ticket
paxinttrueNumber of pax.
remarkstringfalseRemarks of this Ticket.
ticketItemsarray of TicketItemfalseDetailed items of the Ticket.



JSON representation

Code Block
languagepowershell
themeDJango
{
	"pax": 1,
	"remark": "Some remarks",
	"ticketItems": [{
			"itemId": 1,
    		"name": "test1",
    		"costCenter": "B1",
            "itemCode": "1001",
    		"quantity": 1,
    		"price": 5.0
		},
		{
			"itemId": 2,
    		"name": "test2",
    		"costCenter": "B2",
            "itemCode": "1002",
    		"quantity": 1,
    		"price": 3.0
		}
	],
	"ticketNumber": "this-is-a-test",
    "ticketSerie" : "A"
}